Re: App refuses to launch after adding iCloud Drive support
Re: App refuses to launch after adding iCloud Drive support
- Subject: Re: App refuses to launch after adding iCloud Drive support
- From: Roland King <email@hidden>
- Date: Fri, 01 Jan 2016 08:54:50 +0800
‘Developer ID’ doesn’t sound right. Developer ID is for signing apps for non-mac-store distribution, and I never worked out why there’s one for apps and one for installers. If you want to distribute a test copy of the app you need to sign it with the Mac developer certificate using a provisioning profile which contains the device which is going to run it. The Mac Distribution certificate is for signing apps to send to the App Store where they get re-signed for distribution to the world.
iOS compilicates it more by having development and ad-hoc distribution profiles which appear to do mostly the same thing.
Didn’t know that the thing would crash however, I would have just expected it to refuse access to iCloud drive.
> On 1 Jan 2016, at 08:22, Graham Cox <email@hidden> wrote:
>
> I’m working on adding iCloud Drive support to my app. When running from Xcode, it all seemed to be working, but when I archived the app, Exported a Developer ID signed copy, it refuses to launch:
>
> Crashed Thread: 0
>
> Exception Type: EXC_CRASH (Code Signature Invalid)
> Exception Codes: 0x0000000000000000, 0x0000000000000000
> Exception Note: EXC_CORPSE_NOTIFY
>
> Turning off the iCloud entitlment it launches normally.
>
> When setting up the iCloud drive support I used the same Developer ID, so I don’t know what the problem is.
>
> Anyone know what’s going on here? Code signing issues are always a problem when they arise because it’s such an opaque procedure which supposedly “just works” in Xcode. Except when it doesn’t.
>
> —Graham
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden