I am using Mac 64 bit machine.
I am raising this query again.
I have prepared the custom module after right click on build.xml the zip file is prepared in dist folder and then I include that module in Titanium SDK so that every application can use it.
i.e Help-->Install Mobile Module-->module.zip
Included in application from tiapp.xml and then when I run the application it gives me the following error:-
[ERROR] : TiApplication: (KrollRuntimeThread) [111,414] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 149 cannot locate '__cxa_end_cleanup'... [ERROR] : TiApplication: ; Titanium 3.4.1,2014/11/13 13:33,5982e8f [ERROR] : TiApplication: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 149 cannot locate '__cxa_end_cleanup'... [ERROR] : TiApplication: at java.lang.Runtime.loadLibrary(Runtime.java:370) [ERROR] : TiApplication: at java.lang.System.loadLibrary(System.java:535) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:123) [ERROR] : TiApplication: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:90) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
Step-1: Copy your .zip file(compiled and error free) to the downloads folder
Step-2: Open terminal
Step-3: Change the directory to downloads as follows : cd Downloads/
Step-4: install the module to the titanium library as follows
From terminal :-
unzip -u -o com.example.titanium-iphone-1.2.6.zip -d ~/Library/Application\ Support/Titanium
Step-5: Go to TiApp.xml and add the module to your project
But still I am getting the same runtime error as mentioned above.
Whenever i include that module the application gives the above specified error and when i remove that module same application runs properly.
Can anyone provide the solution.?
Thanks in advance
↧