Start a new topic

Help to include wikitude into titanium project

Help to include wikitude into titanium project


Hi Simone,
can you post the verbose log output of Titanium Studio so that we can see what the linker complains about?

Best regards
Andreas

 

 

Hi,

you can't use the module this way. You either have to include the module project into your current application workspace, or you have to open the module in a separate workspace and then build the module and publish to a location and not a mobile project.

Best regards

Andreas

Using Titanium, I import the WikitudeIOSModule and then publish it. Thats how I got the error. Is this the wrong way? What is the step to take for the correct way then? I'm not really sure on this matter.

Today we uloaded a new, already built module into the git repository. Please download the latest version from GitHub and look carefully at the module.xcconfig if the path to your WikitudeSDK.framework is correctly (its a relative path, starting at the folder where your application Xcode project is located . It should look somethink like this: 

 

Best regards

Andreas

Ok, for the IOS, I have managed to build the module and run the app.

But for Android, I still am unable to package the module. I did the same thing as in IOS, I import the WikitudeAndroidModule from github into my titanium and followed the instruction in the documentation. When I try to run the app in my Samsung Galaxy S3, it runs ok but when i try to open all the function such as Image On Target, etc etc, it failed with this error:

 



~~~

06-27 15:15:52.789: E/TiExceptionHandler(19655): (main) ----- Titanium Javascript Runtime Error -----

 

06-27 15:15:52.789: E/TiExceptionHandler(19655): (main) - In ti:/module.js:280,9

06-27 15:15:52.789: E/TiExceptionHandler(19655): (main) - Message: Uncaught Error: Requested module not found: com.wikitude.ti

06-27 15:15:52.789: E/TiExceptionHandler(19655): (main) - Source:  throw new Error("Requested module not found: " + request);

06-27 15:15:52.814: E/V8Exception(19655): Exception occurred at ti:/module.js:280: Uncaught Error: Requested module not found: com.wikitude.ti

06-27 15:15:54.309: W/ActivityManager(2099): mDVFSLock.acquire()

~~~



So, I try to package the module again and set all the paths in the build.properties file. When I package it, this error came out:

~~~

 

Executing build.xml...

/Users/yeehunshin/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/module/android/build.xml:228: Compile failed; see the compiler error output for details. You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.

~~~

 

How can I solve this problem?
Login or Signup to post a comment