Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

UNITY-IOS export architecture error

Alejandro Torres Gómez Mar 16, 2016

Ld /Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/silbo normal armv7
cd "/Users/OmniumMac04/Desktop/SourceTree /iOS_v2"
export IPHONEOS_DEPLOYMENT_TARGET=9.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Products/Release-iphoneos -L/Users/OmniumMac04/Desktop/SourceTree\ /iOS_v2 -L\"/Users/OmniumMac04/Desktop/SourceTree\ /iOS_v2/Libraries\" -L/Users/OmniumMac04/Desktop/SourceTree\ /iOS_v2/Libraries -F/Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Products/Release-iphoneos -filelist /Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/silbo.LinkFileList -Xlinker -map -Xlinker /Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/silbo-LinkMap-normal-armv7.txt -miphoneos-version-min=9.1 -dead_strip -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -weak_framework iAd -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -Xlinker -dependency_info -Xlinker /Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/silbo_dependency_info.dat -o /Users/OmniumMac04/Library/Developer/Xcode/DerivedData/Unity-iPhone-blpdvvcuvktojvhfniifwpxqicyq/Build/Intermediates/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/silbo

ld: warning: directory not found for option '-L"/Users/OmniumMac04/Desktop/SourceTree /iOS_v2/Libraries"'
Undefined symbols for architecture armv7:
"__GetItemStatus", referenced from:
_CraftARItemIOS__GetItemStatus_m2717700090 in Bulk_CraftARSDKLib_0.o
_CraftARItemIOS__GetItemStatus_m2717700090 in Bulk_CraftARSDKLib_0.o
(maybe you meant: _CraftARItemIOS__GetItemStatus_m2717700090)
"__GetItemType", referenced from:
_CraftARItemIOS__GetItemType_m653835438 in Bulk_CraftARSDKLib_0.o
_CraftARItemIOS__GetItemType_m653835438 in Bulk_CraftARSDKLib_0.o
(maybe you meant: _CraftARItemIOS__GetItemType_m653835438)
"__GetItemName", referenced from:
_CraftARItemIOS__GetItemName_m2654490294 in Bulk_CraftARSDKLib_0.o
_CraftARItemIOS__GetItemName_m2654490294 in Bulk_CraftARSDKLib_0.o
(maybe you meant: _CraftARItemIOS__GetItemName_m2654490294)
"__PopLastError", referenced from:
_CraftARInterfaceIOS__PopLastError_m868229005 in Bulk_CraftARSDKLib_0.o
_CraftARInterfaceIOS__PopLastError_m868229005 in Bulk_CraftARSDKLib_0.o
(maybe you meant: _CraftARInterfaceIOS__PopLastError_m868229005)

...


ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 notices only


( Agent )
Luis Martinell

Mar 16, 2016

This is usually because Unity failed running the script that links the CraftAR SDK to the xCode project. To fix this you need to manually do that the script does:

  • Link the CraftAR SDK libraries by dragging all the files in YOUR_UNITY_PROJECT/Assets/Plugins/CraftAR-iOS/.libs to the xCode Project.
  • Add the -ObjC linker flag to the Project Settings in xCode
  • Add the Security.framework and the MobileCoreServices.framework dependencies in the “Link project with libraries” section.

Compile and run the project again.

0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete