Re: CSSM_SignData returned: 8001094A
Re: CSSM_SignData returned: 8001094A
- Subject: Re: CSSM_SignData returned: 8001094A
- From: Alex Zavatone <email@hidden>
- Date: Fri, 13 Jun 2014 20:08:50 -0400
On Jun 13, 2014, at 7:30 PM, Steve Christensen wrote:
> 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?
Is this for an Enterprise distro? What type of dev account are you signing this with?
I ran into this issue with an Enterprise app at 3 AM about this time last year. I'd set both the debug and release versions of the app to sign as Developer. It Archived fine. I was able to set up the Enterprise distro just, set up the HTML file and itms:// distro link and it just would not install.
It turned out that I was using Developer instead of Distribution for the release Code Signing and found out at about 4:30 AM.
As soon as I changed that, it built, archived, and was able to be installed onto the device through an HTML itms:// link from within Safari on the device.
Not sure if this is the issue since your issue states something about entitlements, but hope this helps.
>
> ---------------
> 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
_______________________________________________
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