The only extra thing which I aded in my project not listed in above guide is -
In my target settings -> user header search path - added the path to wikitude sdk inc folder path.
If I do not add that, I get the following error message - WTArchitectView.h not found
And after adding it, I am getting folowing build error -
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_WTArchitectView", referenced from:
objc-class-ref in WTWikitudePlugin.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
Am I right that you want to build your project for the iOS simulator and that you're using Image Recognition? If so, I can tell you that the Wikitude SDK doesn't support the iOS Simulator because the Qualcomm SDK is not available for the iOS Simulator. There is a Wikitude SDK build for the simulator available that allows your App to compile for the Simulator target, but all rendering and camera capturing is disabled (The Wikitude SDK for the simulator is only available if you don't use Image Recognition).
Best regards
Andreas
P
Pankaj Patil
said
over 10 years ago
Thanks for replying. I am not using Image recognition and I want to build it for iphone which is currently having ios 6.0.
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
please check if your Library Search Paths really pointing to your libWikitudeSDK.a file and that your deployment target is really the iOS device and not the simulator. Please make also sure that your specified library search paths are really pointing to the iOS device / simulator version of your Wikitude SDK.
P
Pankaj Patil
said
over 10 years ago
I have added library search path to point to this location - "$(SRCROOT)/WikitudeSDK/lib/Release-iphoneos". But still is not getting build
P
Pankaj Patil
said
over 10 years ago
Any Suggestion?
P
Pankaj Patil
said
over 10 years ago
Still getting the same error message.......
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
can you please post the exact error message and tell me what device, iOS verision and Xcode version you're using.
Best regards
Andreas
P
Pankaj Patil
said
over 10 years ago
Thanks for replying, atlast. I am currently using iPhone3GS and iPad 2. Both are having iOS6 and not working. I am getting Apple Mach-O linker error "_OBJC_CLASS_$_WTArchitectView", referenced from: error during compilation
-
Ld /Users/hackintosh/Library/Developer/Xcode/DerivedData/WikiDemo-dwctdyzbrkvsakgpatmmkrlepssn/Build/Products/Debug-iphoneos/WikiDemo.app/WikiDemo normal armv7
I only understand the armv7 part, but I didn't understand in which file and what I have to do.
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
can you please make sure that your Xcode project is setup properly. The WikitudeSDK folder should look like:
and not like:
Best regards
Andreas
P
Pankaj Patil
said
over 10 years ago
Hi,
Below are the screenshots(total = 4) from my xcode project settings, tell me if I am missing something.
P
Pankaj Patil
said
over 10 years ago
Is there any problem with my configuration?
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
Yes, there is a problem. You added the Wikitude SDK as folder reference and not as a group. Thats why the compiler/linker is not able to find the files. You can ether add the SDK as folder group or change the user header search path and library search path.
Best regards
Andreas
P
Pankaj Patil
said
over 10 years ago
Tried both methods, but that didn't work . Do you have any working sample projects or what should I else do?
Pankaj Patil
1 person has this problem