Seems like you are experiencing the same problem as listed futher up in the thread. Did you try any of the solutions given above?
h
harsha kumar
said
about 10 years ago
Hi chung,
Can you please tel me how to fix the ios error below.
: ** BUILD FAILED **
: The following build commands failed:
: Ld build/Debug-iphonesimulator/ModuleSamples.app/ModuleSamples normal i386
: (1 failure)
Thanks in advance....
A
Andreas Schacherbauer
said
about 10 years ago
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
G
Gsimone21892
said
about 10 years ago
Ok i have installed the module only for my project , Titanium can found it and the Android version work fine but the iphone module give the same problem as before.
Sorry but i'm a noob with TI what i need to do to solve the problem ? How can i install only the module for the single project ?
C
Craig Jones
said
about 10 years ago
Hi Andreas,
I completely understand. Once upon a time when I was a TiDev newbie, adding modules to the global directory was a godsend because of ease of use amongst shared projects - I also got used to extracting *all* modules and implementing them this way.
However, I'm all grown up now and usually extract to the project root directory to avoid any conflicts with other modules.
This is how I became aware of the issue related to this forums post. Hope it helps clear up the **Build Failed** issue for some people.
Many thanks
Craig
A
Andreas Schacherbauer
said
about 10 years ago
Hi Craig,
Thanks for pointing me to the link, I was always referring to this one.
I guess that most Modules also don't depend on any other library/framework than standard iOS ones, so there is no more configuration to be done since the iOS frameworkd don't require a specific search path.
So thanks again for your reply, I will keep it in mind for the next SDK/Module update which should be public in Q1 or maybe there will be a seperate Module release.
Best regards Andreas
C
Craig Jones
said
about 10 years ago
Hi Andreas,
It's not a problem as such, just that TiDev's (mainly newbies - sorry folks) who download modules from the Appcelerator Marketplace are instructed to extract the .zip to their global module directory as explained here - modules usually then run 'out of the box', they will be unaware to change the paths in the module.xcconfig file.
Many thanks
Craig
A
Andreas Schacherbauer
said
about 10 years ago
Hi Craig, I wasn't aware of the fact that TiDev's prefer to use the global installation of modules. As long as two framework search paths will not result in unnecessary linker warnings, I will include both paths in the future to make the Wikitude Module integration as smooth as possible.
Are you aware of any additional possibility to include modules in the Titanium World (Studio)?
Best regards Andreas
C
Craig Jones
said
about 10 years ago
Hi Andreas,
Yes that's what I figured but this confuses quite a few Titanium Developers as we are used to extracting the .zip to our global module directory, for example: /Users//Library/Application Support/Titanium/modules/iphone etc..
It was only really figured out when using Xcode... which is never a pleasant experience to us TiDev's ;)
All working ok for me now apart from the Video examples.
A
Andreas Schacherbauer
said
about 10 years ago
Hi,
Thanks Craig for pointing this out!
The Wikitude Module is supposed to be dragged into a existing project and then extracted inside the project. If you install the module 'globally' on your machine, it might be necessary to edit the search path for the Wikitude SDK since it's reference is configured for a local project usage.
Best regards Andreas
C
Craig Jones
said
about 10 years ago
I experienced the same issue. It seems each scenario is slightly different but the way I fixed it was by:
Find the module.xcconfig file situated within the com.wikitude.ti directory where you extracted the module .zip file. Edit the line below to match where the framework and your TiSDK version is located on your machine:
The only way that I managed to run this sample in iOS simulator was to manually add the Framework to xcode project and run it from there. However I can't run it from Titanium IDE directly due its error.
On the other hands, even when I add the -framework iAd declartive in the module.xcconfig, every time that I hit Run on Titanium, of course, it replaces this file with the standard one without the iAd.
So, do I add the iAd framework in Titanium IDE in order to avoid this problem? How should I do that (where do I add it)?
Chung Farn Kien