Closed clecodes closed 8 years ago
That's because the Wikitude SDK does not support arm64 at the moment. We will release a new version with arm64 support early April 2014.
Hi - have you tried to re-build it with the updated Wikitude SDK 3.3, which includes support for arm64? Ideally you can confirm that and close the issue on your own. If you have other issues let us know.
Phil
I have successfully downloaded and built this sample app on an iPhone 4s. It does not work when building for an iPhone 5s running iOS 7.1 using Xcode 5.1.
I tried allowing arm64 to all places under Build Settings > Architectures for both the Project and the Target. Any insight you can provide will be awesome... The error that feels most relevant is "ld: symbol(s) not found for architecture arm64"
Here is a sample of the unsuccessful build errors...
Ld /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos/PluginSamples.app/PluginSamples normal arm64 cd "/Users/nezencreation/Downloads/wikitude-phonegap-samples-master 4/PluginSamples/platforms/ios" export IPHONEOS_DEPLOYMENT_TARGET=5.0 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos -L/Users/nezencreation/Downloads/wikitude-phonegap-samples-master\ 4/PluginSamples/platforms/ios/PluginSamples/Plugins/com.wikitude.phonegap.WikitudePlugin -F/Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos -filelist /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Intermediates/PluginSamples.build/Debug-iphoneos/PluginSamples.build/Objects-normal/arm64/PluginSamples.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos/libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=5.0 -framework AssetsLibrary /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -lWikitudeSDK -framework CoreMotion -framework CoreVideo -framework OpenGLES -framework Security -framework AVFoundation -framework CFNetwork -framework CoreMedia -framework Foundation -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework UIKit -lc++ -lz -Xlinker -dependency_info -Xlinker /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Intermediates/PluginSamples.build/Debug-iphoneos/PluginSamples.build/Objects-normal/arm64/PluginSamples_dependency_info.dat -o /Users/nezencreation/Library/Developer/Xcode/DerivedData/PluginSamples-cjiyfbskngamhhelzvriauturczi/Build/Products/Debug-iphoneos/PluginSamples.app/PluginSamples
ld: warning: ignoring file /Users/nezencreation/Downloads/wikitude-phonegap-samples-master 4/PluginSamples/platforms/ios/PluginSamples/Plugins/com.wikitude.phonegap.WikitudePlugin/libWikitudeSDK.a, missing required architecture arm64 in file /Users/nezencreation/Downloads/wikitude-phonegap-samples-master 4/PluginSamples/platforms/ios/PluginSamples/Plugins/com.wikitude.phonegap.WikitudePlugin/libWikitudeSDK.a (3 slices) Undefined symbols for architecture arm64: "_OBJCCLASS$_WTArchitectView", referenced from: objc-class-ref in WTARViewController.o "_kWTScreenshotSaveModeKey", referenced from: -[WTWikitudePlugin architectView:didCaptureScreenWithContext:] in WTWikitudePlugin.o "_kWTScreenshotBundleDirectoryKey", referenced from: -[WTWikitudePlugin captureScreen:] in WTWikitudePlugin.o -[WTWikitudePlugin architectView:didCaptureScreenWithContext:] in WTWikitudePlugin.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)