环境:master CentOS
slave Mac
证书:企业证书,通过手动打包可以打包成功
在 slave 构建打包,执行到 codsign 报错,报错日志如下:
/usr/bin/codesign --force --sign 09E4B7713C237A7B047C8BD112B75802F8F925D5 --resource-rules=/Users/solomo/workspace/workspace/乐蜂4.0/build/LeFeng.app/ResourceRules.plist --entitlements /Users/solomo/Library/Developer/Xcode/DerivedData/LeFeng-hetkaoqrwbtfuofgjrqfxscgajma/Build/Intermediates/LeFeng.build/Release-iphoneos/LeFeng.build/LeFeng.app.xcent /Users/solomo/workspace/workspace/乐蜂4.0/build/LeFeng.app
Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
CSSM_SignData returned: 8001094A
/Users/solomo/workspace/workspace/乐蜂4.0/build/LeFeng.app: errSecInternalComponent
Command /usr/bin/codesign failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CodeSign /Users/solomo/workspace/workspace/乐蜂4.0/build/LeFeng.app
(1 failure)
Build step 'Xcode' marked build as failure
Finished: FAILURE
百度了一下前人的经验http://blog.csdn.net/wirelessqa/article/details/18351675,试了两种办法均不成功,有没有这方面经验的同学