简体   繁体   English

静态库的Xcode 7存档错误

[英]Xcode 7 Archive Error with static libraries

Ld /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder normal armv7 cd /Users/purplebug/Documents/MyDoctorFinder/MyDoctorFinder export 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/Us Ld /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.v7 / Users / purplebug / Documents / MyDoctorFinder / MyDoctorFinder导出IPHONEOS_DEPLOYMENT_TARGET = 8.1导出PATH =“ / Applications / Xcode.app / Contents / Developer / Platforms / iPhoneOS.platform / Developer / usr / bin:/Applications/Xcode.app/Contents/开发人员/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin”/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ lang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L / Users / purplebug / Library / Developer / Xcode / DerivedData / MyDoctorFinder-bjdxztijegnaxobgqqin / Build /中间体/ ArchiveIntermediates / MyDoctorFinder / BuildProductsPath / Release-iphoneos -F / Us ers/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 /Users/purplebug/Library/Developer/Xcode/DerivedData/MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin/Build/Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/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 -fram ers / purplebug /库/ Developer / Xcode / DerivedData / MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin / Build / Intermediates / ArchiveIntermediates / MyDoctorFinder / BuildProductsPath / Release-iphoneos -F / Users / purbugbug / Documents / Mys / MyDoctorFinder MyDoctorFinder / MyDoctorFinder / Pods / GoogleMaps / Frameworks -filelist / Users / purplebug / Library / Developer / Xcode / DerivedData / MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin / Build / Intermediates / ArchiveIntermediates / MyDoctorFinder / RemediateBuildtors。普通对象/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 / river / MyDoctorFinder-bjdxztijegnaxobgqvqhbnuqqsin / Build / Intermediates / ArchiveIntermediates / MyDoctorFinder / BuildProductsPath / Release-iphoneos -ObjC -framework CoreGraphics -fram ework 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/MyDoctorFinder-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/IntermediateBuildFil ework MobileCoreServices-框架安全性-框架系统配置-fobjc-arc -fobjc-link-runtime-框架GoogleMaps-框架加速-框架CoreBluetooth-框架SystemConfiguration-框架QuartzCore-框架OpenGLES -lz -licucore -lc ++-框架ImageIO-框架GLKit-框架CoreText-框架CoreLocation-框架CoreData-框架AVFoundation-框架MessageUI -lsqlite3-框架CoreGraphics-框架UIKit-框架Foundation -lPods -Xlinker -dependency_info -Xlinker / Users / purplebug / Library / Developer / Xcode / DerivedData / MyDoctorgvhbbjdxqqqq /Intermediates/ArchiveIntermediates/MyDoctorFinder/IntermediateBuildFilesPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder_dependency_info.dat -o / Users / purplebug / Library / Developer / Xcode / Derivedje / xbqqxMybtorz /中间体/存档中间体/ MyDoctorFinder /中间体BuildFil esPath/MyDoctorFinder.build/Release-iphoneos/MyDoctorFinder.build/Objects-normal/armv7/MyDoctorFinder esPath / MyDoctorFinder.build / Release-iphoneos / MyDoctorFinder.build / Objects-normal / armv7 / MyDoctorFinder

ld: could not extract files from bitcode bundle for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) ld:无法从体系结构armv7的位代码束中提取文件clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

Do you use your Library as Static ? 您是否将Library用作静态库?

disable BitCode from your project then make build again 从您的项目中禁用BitCode ,然后再次进行构建

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM