Problem with ad hoc distribution

Hello, I am having problem with ad hoc distribution.

I followed the apple distribution preparation tutorial (iOS 18 - Apple Developer) and I am up to the stage where I need to add the entitlements.plist. Well I did, but the entitlements looks slightly different than what shown in the tutorial screengrab. There is no get-task-allow. instead I have two items under root, application identifier of type string, and a keychain-access-groups of type array. I’m also not sure which .app I should compress because there are two of them in the product folder. I’m no xcode expert so any light to shed on this matter is much appreciated.

creating the entitlement actually is enough under OS4 at least out of my experience.

thanks, its working now. apparently, apple didn’t update its documentation and got my confused.

yupp indeed, that docs part there is “ready to fly” :wink:
Guess they didn’t waste that time cause with xcode 4 it will scrap again anyway.

about the two .app in the products directory. does anybody know which one i should zip up? both seems to be identical in size.

ok, after some more hair pulling, I finally got the app working on my team member’s ipod. Phew.

Hey susantio,
I don’t know if you’ve tried this but there’s in the last version of Xcode they added the build and archive option that allows you to create ad hoc versions a bit easier.

I still had to send the mobile provision file with the built file though but hey.
Check this page out for more info -

Did you have to connect their ipod to your mac, or can you send them a package vial email that they install??

-LW

To provision adhoc builds, the target devices will require

  1. one time installation of the active .mobileprovision file (glue between you the builder, the appid, and their UDID’s)

  2. then you can email the provisioned .app (zipped or otherwise) bundles to them to install over and over, as long as the .mobileprovision file hasn’t expired - I believe 3 months is the current lifespan of those as set by Apple.