我有可可豆和TesseractOCRiOS - XCODE 7.1 (7B91b)的项目。
当我为iPad (9.1)构建应用程序时,TesseractOCRiOS框架因此错误而失败
仿真器上的建筑很好用。
我试过
我不明白这个错误是什么意思
Ld /Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Products/Debug-iphoneos/TesseractOCR.framework/TesseractOCR normal armv7
cd /Users/whipstercz/git/sw-paperless-app/sw-paperless/Pods
export IPHONEOS_DEPLOYMENT_TARGET=8.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 armv7 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Products/Debug-iphoneos -L/Users/whipstercz/git/sw-paperless-app/sw-paperless/Pods/TesseractOCRiOS/TesseractOCR/lib -F/Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Products/Debug-iphoneos -filelist /Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Intermediates/Pods.build/Debug-iphoneos/TesseractOCRiOS.build/Objects-normal/armv7/TesseractOCR.LinkFileList -install_name @rpath/TesseractOCR.framework/TesseractOCR -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode-marker -weak_library /usr/lib/libstdc++.6.0.9.dylib -llept -lstdc++ -ltesseract_all -framework Foundation -framework UIKit -fobjc-arc -fobjc-link-runtime -framework Foundation -framework UIKit -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Intermediates/Pods.build/Debug-iphoneos/TesseractOCRiOS.build/Objects-normal/armv7/TesseractOCR_dependency_info.dat -o /Users/whipstercz/Library/Developer/Xcode/DerivedData/sw-paperless-flbrahykkapkkfeylglxcishyehc/Build/Products/Debug-iphoneos/TesseractOCR.framework/TesseractOCR
ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)发布于 2015-11-11 14:47:01
我发现了错误
问题是我有更多的可可豆依赖。并不是所有的人都禁用了ENABLE_BITCODE标志
https://stackoverflow.com/questions/33650165
复制相似问题