在xcode 7.3.1中存档(archiving in xcode 7.3.1)

系统教程 行业动态 更新时间:2024-06-14 16:55:57
在xcode 7.3.1中存档(archiving in xcode 7.3.1)

我试图让我的应用程序在testflight上进行测试。 但是,当按照此视频的说明https://www.youtube.com/watch?v=6tydk4Fc-tg&t=302s时,一切都可以尝试归档应用。 我得到以下错误,我不太清楚该怎么做。 如果你对如何解决这个问题有任何想法,请帮忙。 我正在使用Xcode 7.3.1和ivy 1.9.1。

ld:警告:找不到选项'-L / Users / nabi / Desktop / kivy-ios / break-ios /../ build / lib'的目录

ld:警告:找不到选项'-F / Users / nabi / Desktop / kivy-ios / dist / frameworks'的目录

ld:'/ Users / nabi /Desktop / kivy -ios / did / lib / libfreetype.a (ftsystem.o)'不包含bitcode。 您必须在启用bitcode(Xcode设置ENABLE_BITCODE)的情况下重建它,从供应商处获取更新的库,或禁用此目标的bitcode。 对于架构armv7

clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

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 /打破-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 Acceler ate -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 /编译/中间体/ ArchiveIntermediates /休息/ IntermediateBuildFilesPath / break.build /释放-的iPhoneOS / break.build /目标正常/ arm64 /休息

ld:警告:找不到选项'-L / Users / nabi / Desktop / kivy-ios / break-ios /../ build / lib'ld的目录:警告:找不到选项'-F / Users / nabi的目录/ Desktop / kivy-ios / dist / frameworks'ld:'/ User / nabi / Desktop / kivy -ios / did / lib / libfreetype.a (ftsystem.o)'不包含bitcode。 您必须在启用bitcode(Xcode设置ENABLE_BITCODE)的情况下重建它,从供应商处获取更新的库,或禁用此目标的bitcode。 for architecture arm64 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

i am trying to get my app on testflight for testing. however when following the instruction on this video https://www.youtube.com/watch?v=6tydk4Fc-tg&t=302s everything work up to trying to archive the app. i get the below error and i'm not quite sure what to do. if you have any idea on how to solve this problem, please help. i'm using Xcode 7.3.1 and ivy 1.9.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)

最满意答案

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

在此处输入图像描述

在该屏幕截图中,您需要从“是”切换到“否”。

The error tells you clearly what to do. When you see the dialog that asks if you want to rebuild using bitcode, you must uncheck that option. If you are not even getting that far, use the build settings of your target to disable bitcode:

enter image description here

In that screen shot, you'd need to switch from Yes to No.

更多推荐

本文发布于:2023-04-10 11:24:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/cf01d14a547f686823e40563a3903120.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:xcode   archiving

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!