CSSM_SignData returned: 8001094A
CSSM_SignData returned: 8001094A
- Subject: CSSM_SignData returned: 8001094A
- From: Steve Christensen <email@hidden>
- Date: Fri, 13 Jun 2014 16:30:20 -0700
I’ve been stuck trying to get the distribution version of a client’s app to build. Everything runs along smoothly, including am earlier ProcessProductPackaging step that says that it’s using the correct provisioning profile. However when I get to the actual code sign step, it returns an error. (I’ve appended the text from that step below.) If I execute “codesign -dvvvv …/my_app.app” from the command line then it says “code object is not signed at all”.
The debug build uses my provisioning profile (and an adjusted start to the bundle ID) so I can test on my own devices, and works fine. I’ve also tried doing a distribution build with another client’s distribution profile (and adjusted bundle ID) and that works fine. I’d last built the app a few months ago and the build succeeded, which seems to suggest that the problem is with this particular client’s profile and/or certificate but I can’t tell from the information below what the exact problem might be. I’m also unsure why any of the client’s signing pieces would have changed.
I’m currently using Xcode 5.1.1 and building against iOS 7.1 SDK. The last successful client build was on Xcode 5.0.x and iOS 7.0 SDK.
Any ideas?
---------------
CodeSign Build/…/app_name.app
cd "…"
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/bin:/bin:/usr/sbin:/sbin"
Using code signing identity "iPhone Distribution: x (xxxxxxxxxx)" and provisioning profile "app_name Distribution" (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
/usr/bin/codesign --force --sign xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --resource-rules=…/Build/…/app_name.app/ResourceRules.plist --entitlements …/Build/…/app_name.build/app_name.xcent …/Build/…/app_name.app
CSSM_SignData returned: 8001094A
…/Build/…/app_name.app: errSecInternalComponent
Command /usr/bin/codesign failed with exit code 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden