gpt4 book ai didi

objective-c - 命令/usr/bin/codesign 失败,退出代码 1 : i386: No such file or directory

转载 作者:行者123 更新时间:2023-12-04 14:40:22 25 4
gpt4 key购买 nike

我有一个刚刚发生的错误。我认为是在我更改了一些build设置时。我希望我的应用程序能够与 armv6 和 armv7 一起使用。但现在我收到此错误,提示 Command/usr/bin/codesign failed with exit code 1i386: No such file or directory。这是整个错误日志:

CodeSign /Users/Jacos/Library/Developer/Xcode/DerivedData/Kapareskolan-asnymemcjzpjdwbpftlqeknpdmsq/ArchiveIntermediates/Kapareskolan/InstallationBuildProductsLocation/Applications/Kapareskolan.app
cd "/Users/Jacos/Documents/Development/iOS/Official Apps/Kapareskolan 2.0"
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign "iPhone Distribution: Gun Lindgren" --resource-rules=/Users/Jacos/Library/Developer/Xcode/DerivedData/Kapareskolan-asnymemcjzpjdwbpftlqeknpdmsq/ArchiveIntermediates/Kapareskolan/InstallationBuildProductsLocation/Applications/Kapareskolan.app/ResourceRules.plist i386 armv6 armv7 --entitlements /Users/Jacos/Library/Developer/Xcode/DerivedData/Kapareskolan-asnymemcjzpjdwbpftlqeknpdmsq/ArchiveIntermediates/Kapareskolan/IntermediateBuildFilesPath/Kapareskolan.build/Release-iphoneos/Kapareskolan.build/Kapareskolan.xcent /Users/Jacos/Library/Developer/Xcode/DerivedData/Kapareskolan-asnymemcjzpjdwbpftlqeknpdmsq/ArchiveIntermediates/Kapareskolan/InstallationBuildProductsLocation/Applications/Kapareskolan.app

i386: No such file or directory
Command /usr/bin/codesign failed with exit code 1

如何解决这个问题并让我的应用程序同时支持 armv6 和 armv7?

最佳答案

该错误看起来像是您以某种方式向 Other Code Signing Flags build设置添加了不需要的内容(默认情况下为空)。您可能只需要更改Architectures build设置。

请注意,iPhone 3GS 及更高版本、iPod Touch 2 及更高版本以及所有 iPad 均具有 armv7 ISA。所以只有当你想支持 iPhone 3G 或更低版本和旧的 iPod Touche 设备时才需要 armv6。

http://en.wikipedia.org/wiki/List_of_iOS_devices

关于objective-c - 命令/usr/bin/codesign 失败,退出代码 1 : i386: No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8869607/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com