4

Possible Duplicate:
Ad Hoc Distribution on XCode 4.2.1 - entitlements

I'm using Xcode 4.5 and when I go to File > New > File ... I don't see any option for entitlements files any more. How can I add one? Do I just create a blank plist? If so, what do I need to populate it with for an Ad Hoc release?

Thanks

Community
  • 1
  • 1
bodacious
  • 6,608
  • 9
  • 45
  • 74

3 Answers3

8

In Xcode 4.5 you should do the following to get entitlements created (it's not via File > New > File... any longer):

  1. Select your project in the left hand file navigator
  2. Select your target
  3. Click on the "Summary" tab in the configuration area
  4. Scroll to the bottom of the "Summary" section and you'll see an "Entitlements" section (you might need to turn down the disclosure triangle next to Entitlements)
  5. Click the checkbox for "Use Entitlements File" and give it a custom name if you want
  6. Fill in any values you need there (you can edit the plist file manually too).

Do note, you don't need to do anything special for AdHoc builds with entitlements files any longer.

danimal
  • 516
  • 1
  • 8
  • 21
5

Entitlements.plist is just a plist file generally with one key value pair (get-task-allow) under root (which is a dictionary, see the image below) so creating a normal plist file is just fine.

Get Task Allow

Also don't forget to point it to your Entitlements.plist in your target in Build Settings -> Code Signing Entitlements (if Xcode doesn't automatically set it)

Build Settings

Read more here: http://developer.apple.com/library/ios/#qa/qa1710/_index.html

Suhail Patel
  • 13,644
  • 2
  • 44
  • 49
0

Go to files > New File > Entitlements file...something like this must be there.

Sorry I correct > use the property file as entitlements!

Noah
  • 36
  • 4