2016-12-04 84 views
0

我想让我的应用程序在testflight上进行测试。然而,当按照这个视频https://www.youtube.com/watch?v=6tydk4Fc-tg&t=302s的指示,一切工作,试图存档应用程序。 我得到下面的错误,我不太确定该怎么做。如果你对如何解决这个问题有任何想法,请帮忙。我使用Xcode 7.3.1和ivy 1.9.1。存档在xcode 7.3.1

ld: warning: directory not found for option '-L/Users/nabi/Desktop/kivy-ios/break-ios/../build/lib'

ld: warning: directory not found for option '-F/Users/nabi/Desktop/kivy-ios/dist/frameworks'

ld: '/Users/nabi/Desktop/kivy-ios/dist/lib/libfreetype.a(ftsystem.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld /Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/IntermediateBuildFilesPath/break.build/Release-iphoneos/break.build/Objects-normal/arm64/break normal arm64 cd /Users/nabi/Desktop/kivy-ios/break-ios 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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/BuildProductsPath/Release-iphoneos -L/Users/nabi/Desktop/kivy-ios/break-ios/../dist/lib -L/Users/nabi/Desktop/kivy-ios/break-ios/../build/lib -F/Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/BuildProductsPath/Release-iphoneos -F/Users/nabi/Desktop/kivy-ios/dist/frameworks -filelist /Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/IntermediateBuildFilesPath/break.build/Release-iphoneos/break.build/Objects-normal/arm64/break.LinkFileList -miphoneos-version-min=8.1 -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/BuildProductsPath/Release-iphoneos -all_load -fobjc-link-runtime -framework AudioToolbox -framework ImageIO -framework MessageUI -framework UIKit -framework OpenGLES -framework CoreMotion -framework MobileCoreServices -framework CoreGraphics -framework Accelerate -framework QuartzCore -lc++ -lz -lsqlite3 -lbz2 -lfreetype -lsdl2_mixer -lsdl2 -lsdl2_image -lffi -lkivy -lpython -lios -lsdl2_ttf -Xlinker -dependency_info -Xlinker /Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/IntermediateBuildFilesPath/break.build/Release-iphoneos/break.build/Objects-normal/arm64/break_dependency_info.dat -o /Users/nabi/Library/Developer/Xcode/DerivedData/break-bnyieydgxnbwarhabzewbmeqxnyr/Build/Intermediates/ArchiveIntermediates/break/IntermediateBuildFilesPath/break.build/Release-iphoneos/break.build/Objects-normal/arm64/break

ld: warning: directory not found for option '-L/Users/nabi/Desktop/kivy-ios/break-ios/../build/lib' ld: warning: directory not found for option '-F/Users/nabi/Desktop/kivy-ios/dist/frameworks' ld: '/Users/nabi/Desktop/kivy-ios/dist/lib/libfreetype.a(ftsystem.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

回答

1

错误告诉你清楚该怎么做。当您看到询问您是否要使用位码重建的对话框时,您必须取消选中该选项。如果你没有得到,甚至远,使用目标的构建设置来禁用位码:

enter image description here

在该屏幕截图,你需要从是

+0

感谢切换到第你的答案。我已经阅读过有关在线其他地方的构建设置,但我不太清楚如何访问它。我一直试图访问它一段时间,但不知道如何找到它。我不熟悉编程和Xcode环境。也没有对话询问我是否想使用位代码重建 –

+1

http://www.apeth.com/iOSBook/ch06.html#_build_settings – matt

+0

我刚刚查看了构建设置,并且启用位代码已设置为No. so我不确定问题是什么。 –