Search code examples
iphonexcodeprovisioning

iphone app don't want to build my ipa


I want to test my app on a device, so I encode my device on the portal, I made a new a distribution provisioning profile on ad-hoc mode. I download it, and install it on my XCODE.

I checked on the informations about project and targets (all sounds correct but I'm not a specialist of those configuration) :

first shot second shot

And When I build for provisionning (with appname>IOS Device next to the "Play" button), it gives me :

error: error reading property list '/Users/...iphone application V1.0/e-mars/emars.entitlements' - property list has no object
Command builtin-productPackagingUtility failed with exit code 1

Could you please help me?

*EDIT : * Product : Build for : Build for Profiling (and normal build with the emulator) run when I select emars > iPhone Simulator next to the play button

*EDIT 2 : * I've tried to change the Bundle identifier : I had com.elsingor.${PRODUCT_NAME:rfc1034identifier} and I put com.elsingor but it's the same issue...

EDIT 3 I'va created a new Entitlements and edit the reference in the plist to the new entitlements and... Now I build with myApName>IOS Device on clicking on Build for archiving.

I again have a problem; I didn't see the Archive in the Organizer! Please help me :-/

FINAL EDIT :

I tried to press simply Build instread of build > build archive and it works for me !


Solution

  • i followed this tutorial to do my ad hoc builds http://www.musicalgeometry.com/?p=1237

    but you can of course also take a look at the documentation at testflightapps.com http://support.testflightapp.com/kb/tutorials/how-to-create-an-ipa-xcode-4

    you will see in the first post they talk about creating an entitlements.plist file and maybe thats where your problems is. i would also say because i ran into this problem, when everything is done and its time to "Archive" make sure the simulator is not selected. iOS Device needs to be selected for Archive to not be greyed out.
    iPhone ad hoc build using Xcode 4

    i have never done an adhoc build on its own, i always use testflightapps.com to distribute (so for this you will need a distribution cert as well) my apps and i recommend using them. Overall it was a fairly simple process and they do have free accounts so theres no reason not to use their service.