我试着运行这个程序:
CodeSign /Users/admin/Library/Developer/Xcode/DerivedData/POC2-byrqqhzjppbjxjemdbcmskhttxdm/Build/Products/Debug-iphoneos/POC2.app/Frameworks/MicroBlink.framework
cd /Users/admin/Documents/Development/POC2
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: **************name ***** (********)"
/usr/bin/codesign --force --sign 4070CCDBD98188BA13DE80C8A094CCDFAC2A2E4C --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/admin/Library/Developer/Xcode/DerivedData/POC2-byrqqhzjppbjxjemdbcmskhttxdm/Build/Products/Debug-iphoneos/POC2.app/Frameworks/MicroBlink.framework
/Users/admin/Library/Developer/Xcode/DerivedData/POC2-byrqqhzjppbjxjemdbcmskhttxdm/Build/Products/Debug-iphoneos/POC2.app/Frameworks/MicroBlink.framework: replacing existing signature
/Users/admin/Library/Developer/Xcode/DerivedData/POC2-byrqqhzjppbjxjemdbcmskhttxdm/Build/Products/Debug-iphoneos/POC2.app/Frameworks/MicroBlink.framework: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1发布于 2018-01-17 02:35:53
确保你有一个iTunes连接配置文件,并尝试创建一个具有相同名称和构建设置的应用程序&然后尝试存档你的项目,因为有时开发人员帐户与应用程序的配置文件不匹配,因此你可能会收到此错误。
您必须转到iTunes,创建一个概要文件,并将其命名为与项目构建器相同的名称,然后尝试从Xcode验证归档项目。
如果验证是成功的,那么您可以将其提交到应用程序商店&如果没有,请让我知道您在验证应用程序时遇到了什么错误,以便我们可以更深入地查看。
https://stackoverflow.com/questions/48278156
复制相似问题