【发布时间】:2016-06-29 02:06:28
【问题描述】:
Ld /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder正常armv7 cd /Users/purplebug/Documents/MyDoctorFinder/MyDoctorFinder 导出 IPHONEOS_DEPLOYMENT_TARGET=8.1 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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9。 2.sdk -L/Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/BuildProductsPath/Release-iphoneos -F/Users/purplebug/Library/Developer/Xcode/DerivedData/ MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/BuildProductsPath/Release-iphoneos -F/Users/purplebug/Documents/MyDoctorFinder/MyDoctorFinder -F/Users/purplebug/Documents/MyDoctorFinder/MyDoctorFinder/Pods/GoogleMaps/Frameworks -filelist/用户/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-n ormal/armv7/MyDoctorFinder.LinkFileList -miphoneos-version-min=8.1 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder- bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/BuildProductsPath/Release-iphoneos -ObjC -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -framework GoogleMaps -framework Accelerate -framework CoreBluetooth -framework SystemConfiguration -framework QuartzCore -framework OpenGLES -lz -licucore -lc++ -framework ImageIO -framework GLKit -framework CoreText -framework CoreLocation -framework CoreData -framework AVFoundation -framework MessageUI -lsqlite3 -framework CoreGraphics -framework UIKit -framework Foundation -lPods -Xlinker - dependency_info -Xlinker /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoct orFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder_dependency_info.dat -o /Users/purplebug/Library/Developer/Xcode/DerivedData/ MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder
ld: 无法从架构 armv7 的位码包中提取文件 clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
【问题讨论】:
-
您是否使用静态库?从您的项目中禁用 BitCode,然后再次构建
-
我不太确定,因为这个项目是最近才交给我的。我去看看你的建议,谢谢你的评论。
-
谢谢,禁用 BitCode 有效。
-
欢迎您 :) 所以请标记答案以帮助其他人
标签: ios xcode linker-errors