SecKey API returned: -25308

刚下载的xcode,作为jenkins的节点,编译ios应用出现如下错误

SecKey API returned: -25308, (null)/Workspace/jenkins/workspace/IOS-DEMO/iosdemo/build/Release-iphoneos/iosdemo.app: unknown error -1=ffffffffffffffff

Command /usr/bin/codesign failed with exit code 1


解决方案:用xcode打开项目,achive一下,然后重新用jenkins就可以变成成功了

你可能感兴趣的:(SecKey API returned: -25308)