• 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
Sandboxing auxiliary executables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sandboxing auxiliary executables


  • Subject: Sandboxing auxiliary executables
  • From: Filhol Alain <email@hidden>
  • Date: Tue, 22 Mar 2016 21:04:07 +0100

I have a XCode project which generates a bundle with several auxiliary executables in the Resources folder.

When I export the project, XCode says that each of the binary is successfully signed.
However the summary says
- mainApp (2 Entitlements)
- auxiliary1 (0 Entitlements)
- auxiliary2 (0 Entitlements)
Following the advices from
<http://www.codeotaku.com/journal/2012-10/code-signing-auxiliary-executables/index>
I added extra entitlement files to the project 
auxiliary1.entitlements
auxiliary2.entitlements
but they are ignored.

I do not find how I can tell the signing procedure that each binary has an entitlement file (and an Info.plist file since I read somewhere this needed too).

If one signs a binary from the terminal the codesign command includes both an entitlement file and an Info.plist file

codesign -d --keychain --verbose -s “Developer ID …” --identifier ‘Info.plist’ --entitlements ‘myBinary.entitlements’ myBinary

Therefore I assume that there should be a way to tell XCode were to pick those files.
Any suggestion ?

All the best
Alain

------
Dr. Alain Filhol  (Computer scientist)
Institut Laue-Langevin, EPN Campus
CS 20156, 71 ave des Martyrs
F-38042 Grenoble cedex 9
<email@hidden>, Office: ILL4-217
Tel:+33 4.76.20.71.56, Fax: +33 4.76.20.76.48






 _______________________________________________
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

  • Prev by Date: Xcode 7.3, problem with an invalid context when examine the app delegate object
  • Next by Date: This action could not be completed. Try again. (-22421) This action could not be completed. Try again. (-22421)
  • Previous by thread: Xcode 7.3, problem with an invalid context when examine the app delegate object
  • Next by thread: This action could not be completed. Try again. (-22421) This action could not be completed. Try again. (-22421)
  • Index(es):
    • Date
    • Thread