unity 最新插件 打包出xcode工程编译错误:
Ld /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Products/ReleaseForRunning-iphoneos/hellomarslab.app/hellomarslab normal arm64
cd /Users/ericda/Documents/Work/HelloMarsLabApp/Ipa
export IPHONEOS_DEPLOYMENT_TARGET=8.0
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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -L/Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Products/ReleaseForRunning-iphoneos -L/Users/ericda/Documents/Work/HelloMarsLabApp/Ipa -L/Users/ericda/Documents/Work/HelloMarsLabApp/Ipa/Libraries -L/Users/ericda/Documents/Work/HelloMarsLabApp/Ipa/Libraries/Plugins/iOS -F/Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Products/ReleaseForRunning-iphoneos -filelist /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Intermediates/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/hellomarslab.LinkFileList -Xlinker -map -Xlinker /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Intermediates/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/hellomarslab-LinkMap-normal-arm64.txt -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Intermediates/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/hellomarslab_lto.o -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -lc++ -lresolv -framework UserNotifications -lz -framework Security -framework UIKit -framework Foundation -framework CoreGraphics -framework SystemConfiguration -framework CoreTelephony -framework CoreFoundation -framework CFNetwork -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -liconv.2 -lEasyARUnity -Xlinker -dependency_info -Xlinker /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Intermediates/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/hellomarslab_dependency_info.dat -o /Users/ericda/Library/Developer/Xcode/DerivedData/Unity-iPhone-fcgjsnmakiaqhddwqfxwssbsvlyd/Build/Products/ReleaseForRunning-iphoneos/hellomarslab.app/hellomarslab
Undefined symbols for architecture arm64:
"_kJPFNetworkDidReceiveMessageNotification", referenced from:
__registerNetworkDidReceiveMessage in JPushUnityManager.o
-[JPushUnityInstnce networkDidRecieveMessage:] in JPushUnityManager.o
"_OBJC_CLASS_$_JPUSHService", referenced from:
objc-class-ref in UnityAppController.o
objc-class-ref in JPushUnityManager.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
使用环境:Unity插件 Android 3.0.6,IOS 3.0.5。unity打包时选用的架构是通用。
Unity 5.5.2f1.
XCODE 8.3.2.
连接真机ios测试。