我一直在阅读“命令/ usr / bin / codesign失败,退出代码1”,还没有解决。有任何人熟悉此错误,请帮助我:(
CodeSign /Users/beetsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-bimrfbszzyhuecbvvjcicqjtcsqb/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/plantapp.app
cd /Users/beetsoft/TIA/ARSystem/Builds/iOS
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
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"
Signing Identity: "iPhone Distribution: pocket queries, Inc. (PXS8PN3EZZ)"
Provisioning Profile: "plantapp_dis"
(b7ae657e-8ceb-4d15-8ba3-889429c28b48)
/usr/bin/codesign --force --sign 0789673E756258B64241FC3775D466CAB50D728D --entitlements /Users/beetsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-bimrfbszzyhuecbvvjcicqjtcsqb/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/plantapp.app.xcent --timestamp=none /Users/beetsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-bimrfbszzyhuecbvvjcicqjtcsqb/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/plantapp.app
/Users/beetsoft/Library/Developer/Xcode/DerivedData/Unity-iPhone-bimrfbszzyhuecbvvjcicqjtcsqb/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/plantapp.app: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1
万一,如果您在设备上运行,则会由于以下原因而出现此错误:
从此错误中可以看到,您正在使用的配置文件的签名身份是分发配置文件:
Signing Identity: "iPhone Distribution: pocket queries, Inc. (PXS8PN3EZZ)" Provisioning Profile: "plantapp_dis" (b7ae657e-8ceb-4d15-8ba3-889429c28b48
分发供应配置文件旨在用于存档并将其分发到Appstore。不适用于在设备上运行。为此,您需要使用开发配置文件。
您可以在构建设置->代码签名身份或常规->自动代码签名中更改配置文件
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句