当尝试从我的iPhone到iPhone统一构建Xcode项目时,它给了我这个错误Apple Mach-O Linker(Id)错误

时间:2018-06-23 22:23:47

标签: ios xcode unity3d linker mach-o

它还显示“链接器命令失败,退出代码为1(使用-v查看调用)”

这是整个错误所在。

Ld /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Products/ReleaseForRunning-iphoneos/ProductName.app/ProductName normal arm64     cd“ /卷/ Lexar /新文件夹”     导出IPHONEOS_DEPLOYMENT_TARGET = 8.0     导出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/iPhoneOS11。 2.sdk -L / Users / josephrabinowitz / Library / Developer / Xcode / DerivedData / Unity-iPhone-dbekdbzoohacbgbjowjloajibhch / Build / Products / ReleaseForRunning-iphoneos -L / Volumes / Lexar / New \ folder -L / Volumes / Lexar / New \文件夹/库-F / Users / josephrabinowitz / Library / Developer / Xcode / DerivedData / Unity-iPhone-dbekdbzoohacbgbjowjloajibhch / Build / Products / ReleaseForRunning-iphoneos -F / Volumes / Lexar / New \ folder / Frameworks / Plugins / iOS / F卷/ Lexar / New \文件夹/ UnityAds-文件列表/Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone。 build / Objects-normal / arm64 / ProductName.LinkFileList -Xlinker -map -Xlinker / Users / josephrabinowitz / Library / Developer / Xcode / DerivedD ata / Unity-iPhone-dbekdbzoohacbgbjowjloajibhch / Build / Intermediates.noindex / Unity-iPhone.build / ReleaseForRunning-iphoneos / Unity-iPhone.build / ProductName-LinkMap-normal-arm64.txt -miphoneos-version-min = 8.0 -dead_strip- Xlinker -object_path_lto -Xlinker /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhonebuild。 arm64 / ProductName_lto.o -fembed-bitcode-marker -stdlib = libc ++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -framework MediaToolbox -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork-框架CoreGraphics-框架CoreLocation-框架CoreMedia-弱_框架CoreMotion-框架CoreVideo-框架Foundation-框架MediaPlayer-框架OpenAL-框架OpenGLES-框架QuartzCore-框架SystemConfiguration-框架UIKit -lico nv.2 -lil2cpp -framework UnityAds -weak_framework金属-framework UnityAds -weak_framework AdSupport -framework StoreKit -framework CoreTelephony -Xlinker -dependency_info -Xlinker /用户/ josephrabinowitz / Library / Developer / Xcode / DerivedData / Unityohowb / iPhone-dbdbek Intermediates.noindex / Unity-iPhone.build / ReleaseForRunning-iphoneos / Unity-iPhone.build / Objects-normal / arm64 / ProductName_dependency_info.dat -o / Users / josephrabinowitz / Library / Developer / Xcode / DerivedData / Unity-iPhone-dbekdbzoohacbghbjowjloaj内部版本/产品/ReleaseForRunning-iphoneos/ProductName.app/ProductName

重复的符号_OBJC_CLASS _ $ _ UnityAdsUnityWrapperDelegate在:     /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityAds-UnitsAdsUnityAdsUnityUnitsDelete-UnityAdsUnit-Date-UnityAdsUnitD .o     /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityAdsUnityA341 .o 重复符号_OBJC_METACLASS _ $ _ UnityAdsUnityWrapperDelegate在:     /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityAds-UnitsAdsUnityAdsUnityUnitsDelete-UnityAdsUnit-Date-UnityAdsUnitD .o     /Users/josephrabinowitz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dbekdbzoohacbgbjowjloajibhch/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/Objects-normal/arm64/UnityAdsUnityA341 .o ld:3个重复的体系结构arm64符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

有人知道为什么会这样吗?

0 个答案:

没有答案