Unity xcode构建失败-找不到框架

时间:2019-07-16 12:40:33

标签: c# ios xcode unity3d

我拥有客户的统一游戏,其中包含AdMob和unityads。 尝试创建iPA时,构建失败并显示消息。

我已经添加了UnityAds框架。

  

“ Ld /Users/shweta/Library/Developer/Xcode/DerivedData/Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-Release iPhone.build/Objects-normal/armv7/MyGame普通armv7(目标:Unity-iPhone)       cd / Volumes / MyData / Work / Fiver / MyGame / iOS \ Build / IOS       导出IPHONEOS_DEPLOYMENT_TARGET = 9.0       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12。 2.sdk -L /用户/ shweta /库/开发人员/Xcode/DerivedData/Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Mylease-iphoneos -L / Volumes / L / Volumes Fiver / MyGame / iOS \ Build / IOS / Libraries -L / Volumes / MyData / Work / Fiver / MyGame / iOS \ Build / IOS / Libraries / Plugins / iOS -F / Users / shweta / Library / Developer / Xcode / DerivedData / Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad / Build / Intermediates.noindex / ArchiveIntermediates / Unity-iPhone / BuildProductsPath / Release-iphoneos -F / Volumes / MyData / Work / Fiver / MyGame / iOS \ Build / IOS / Frameworks -filelist / Users / shweta库/开发人员/Xcode/DerivedData/Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhon e.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/MyGame.LinkFileList -Xlinker -map -Xlinker / Users / shweta / Library / Developer / Xcode / DerivedData / Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad / Build / Intermediates.noindex / ArchiveIntermediates / Unity-iPhone / IntermediateBuildFilesPath / Unity-iPhone.build / Release-iphoneos / Unity-iPhone.build / MyGame-LinkMap-normal-armv7.txt -miphoneos-version-min = 9.0 -dead_strip -Xlinker- object_path_lto -Xlinker /Users/shweta/Library/Developer/Xcode/DerivedData/Unity-iPhone-dkrxbqnsqztdhcdgpfzagzqotqad/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhonei.Build build / Objects-normal / armv7 / MyGame_lto.o -Xlinker -final_output -Xlinker /Applications/MyGame.app/MyGame -stdlib = libc ++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -ObjC -framework UnityAds-框架WebKit -lCHAMoatMobileAppKit -liPhone-lib-框架GoogleMobileAds-框架安全-fr amework 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 -framework AdColony -lChartboost -framework StoreKit -framework AdSupport -framework CoreTelephony -weak_framework Metal -Xlinker -Dependency_info -Xlinker / Users / shweta / Library / Developer / Xcode / DerivedData / Unity-iPhone-dkrcdbqpfsqztes。 /ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/MyGame_dependency_info.dat -o / Users / shweta / Library / Developer / Xcode / DerivedData / Unity -iPhone-dkrxbqnsqztdhcdgpfzagzqotqad / Build / Intermediates.noindex / ArchiveIntermediates / Unity-iPhone / IntermediateBuildFilesPath / Un ity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/MyGame

  

ld:找不到框架UnityAds   clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

0 个答案:

没有答案