Ld /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework normal arm64
cd /Users/ibeautys/WechatShare/build
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++ -target arm64-apple-ios10.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -L/Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Products/ReleaseForRunning-iphoneos -L/Users/ibeautys/WechatShare/build/Libraries -L/Users/ibeautys/WechatShare/build/Libraries/Plugins/IOS -F/Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Products/ReleaseForRunning-iphoneos -filelist /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework.LinkFileList -install_name @rpath/UnityFramework.framework/UnityFramework -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -map -Xlinker /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -fembed-bitcode-marker -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -liPhone-lib -framework Security -framework MediaToolbox -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 -lWeChatSDK -weak_framework Metal -Xlinker -dependency_info -Xlinker /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/ibeautys/Library/Developer/Xcode/DerivedData/Unity-iPhone-bcmxxcgxrhybybesrxvfdfhmofuj/Build/Products/ReleaseForRunning-iphoneos/UnityFramework.framework/UnityFramework
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_WKWebView", referenced from:
objc-class-ref in libWeChatSDK.a(WapAuthHandler.o)
"_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
objc-class-ref in libWeChatSDK.a(WapAuthHandler.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
参考下WechatOpenSDK缺少符号arm64,无法编译通过?? 社区技术运营专员-娇华 的回答 - 微信开放社区 https://developers.weixin.qq.com/community/develop/doc/000cc079520370ce605ab7dff51000?_at=1599218158818&jumpto=comment&commentid=0000c68341c35031785ac367951c
谢邀:
这个是xCode编译使用微信分享sdk后出现的编译错误吗?
建议看看有没完整正确导入所需的所有sdk
我是在unity里面打包发不出来的XCode项目,然后在Xcode里面把所需的SDK以及关联包全部关联好了,然后在最后要发布到手机上的时候提示这个错误 。找了好久的解决办法 也没有找到,图是我现在引用的库文件,根据官网以及资料引入的库文件。