• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?


  • Subject: Re: why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
  • From: Martin Wierschin <email@hidden>
  • Date: Mon, 07 Apr 2014 16:41:30 -0700

I discovered a workaround. One must do both:

1. Under the target's settings in the "General" pane, change the signing option to "Developer ID". Apparently adding the signing identity just using the "Build Settings" pane is now different somehow– it used to be sufficient.

2. When exporting the application do not use the "Export As" option in the Organizer. One must choose the special option "Export Developer-ID Signed Application". Makes sense, but I'd gotten in the habit of using the other option, which also used to work just fine.

I feel like Xcode really should have thrown up some warnings during this process if my settings were incompatible with the desired export operation. This was a frustrating experience. Submitted as bug #16546227.

~Martin


On Apr 4, 2014, at 3:14 PM, Martin Wierschin <email@hidden> wrote:

> Hello everyone,
>
> I'm having problems testing an OSX app I've recently sandboxed. The short story: Xcode is failing to include an "archived-expanded-entitlements.xcent" when exporting the archived build. The missing resource means Gatekeeper reports the app as corrupted.
>
> The longer version: my app is sandboxed and signed using a Developer ID. When doing a regular (non-archived) build, everything is in order: my entitlements file ("My App.entitlements") is copied to the Resources folder and listed in the code signing "CodeResources" plist.
>
> However, if I use Xcode to make an archive, and then export the app using the Organizer window, the CodeResources plist no longer lists "My App.entitlements"; it has been supplanted with "archived-expanded-entitlements.xcent". I assume this is something Xcode should have generated automatically. Unfortunately no such file is to be found in the app exported from the archive. If I try to run the app on another Mac, it unsurprisingly fails to pass Gatekeeper/spctl.
>
> Does anyone have any ideas what build settings might prevent the generation of this file? I'm using the latest public version of Xcode (5.1).
>
> Thanks for any ideas!
> ~Martin
>


 _______________________________________________
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


References: 
 >why isn't Xcode generating an "archived-expanded-entitlements.xcent" file? (From: Martin Wierschin <email@hidden>)

  • Prev by Date: Re: XCode 5.1 iOS SDK?
  • Next by Date: Re: XCode 5.1 iOS SDK?
  • Previous by thread: why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
  • Next by thread: custom bindings in IB
  • Index(es):
    • Date
    • Thread