unity ios打包报错

+1 投票
最新提问 3月 28 用户: nanjiang006 (170 分)

Ld /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Products/ReleaseForRunning-iphoneos/jn.app/jn normal arm64 (in target: Unity-iPhone)

    cd /Volumes/MAC储存/UnityProjects/2019/EasyAR4.0/versions/AR

    export IPHONEOS_DEPLOYMENT_TARGET=12.3

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -L/Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Products/ReleaseForRunning-iphoneos -L/Volumes/MAC储存/UnityProjects/2019/EasyAR4.0/versions/AR -L/Volumes/MAC储存/UnityProjects/2019/EasyAR4.0/versions/AR/Libraries -F/Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Products/ReleaseForRunning-iphoneos -F/Volumes/MAC储存/UnityProjects/2019/EasyAR4.0/versions/AR/Frameworks/Plugins/iOS -filelist /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/jn.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -map -Xlinker /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/jn-LinkMap-normal-arm64.txt -miphoneos-version-min=12.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/jn_lto.o -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -framework Security -framework MediaToolbox -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -framework easyar -weak_framework Metal -framework easyar -Xlinker -dependency_info -Xlinker /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/jn_dependency_info.dat -o /Users/jiangnan/Library/Developer/Xcode/DerivedData/Unity-iPhone-gortalhfayzbubebuhmfgmzyrmdy/Build/Products/ReleaseForRunning-iphoneos/jn.app/jn

Undefined symbols for architecture arm64:

  "_OBJC_CLASS_$_ARSession", referenced from:

      objc-class-ref in easyar(easyar-arm64-master.o)

  "_OBJC_CLASS_$_ARWorldTrackingConfiguration", referenced from:

      objc-class-ref in easyar(easyar-arm64-master.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

3 个回答

0 投票
最新回答 3月 30 用户: simonduan (140 分)
我也遇到同样的错误 求解答
0 投票
最新回答 4月 3 用户: abcd571166432 (170 分)

我也遇到同样的错误   楼主知道了吗

0 投票
最新回答 4月 3 用户: nanjiang006 (170 分)
下载原生easyar ios包 把unity里面的easyar.framework替换成原生IOS easyar.framework
欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...