why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
- Subject: why isn't Xcode generating an "archived-expanded-entitlements.xcent" file?
- From: Martin Wierschin <email@hidden>
- Date: Fri, 04 Apr 2014 15:14:03 -0700
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