gpt4 book ai didi

ios - 无法构建 kudan iOS unity3d 项目

转载 作者:行者123 更新时间:2023-11-28 21:28:02 26 4
gpt4 key购买 nike

尝试针对 unity3d 版本 5.3.5f1 构建时出现以下链接错误

 Ld /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar normal arm64
cd "/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app"
export IPHONEOS_DEPLOYMENT_TARGET=6.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/iPhoneOS9.3.sdk -L/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries/KudanAR/Plugins/iOS -F/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -filelist /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar.LinkFileList -Xlinker -map -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/ar-LinkMap-normal-arm64.txt -miphoneos-version-min=6.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -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 -lKudanPlugin -Xlinker -dependency_info -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar_dependency_info.dat -o /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar

ld: warning: object file (/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: '/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

在你的错误日志中,它说 Bitcode 没有为框架启用。

您需要在 Xcode 项目上禁用 Bitcode 才能构建它。

确保在您的项目和目标上禁用 Bitcode。 ( https://wiki.kudan.eu/Building_the_app_-_iOS )

关于ios - 无法构建 kudan iOS unity3d 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37370522/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com