mercredi 3 février 2010

Iphone Provisioning Profile problems links

While trying to submit my app I had to search for links explaining all the details of the weird security system of the Iphone apps, in combination with Xcode.
It really took me days and this signing is much more difficult than programming to get it right.
(Studying relativity theory is easier than getting this right, and a lot more fun!)

This is a collection of links I found useful:

http://www.24100.net/2009/02/iphone-sdk-mobile-provisioning-0xe800003a-0xe8000001/

http://www.iphonedevsdk.com/forum/iphone-sdk-development/5429-codesign-verification-nightmare.html

http://johnehartzog.com/2009/04/iphone-app-ad-hoc-gotchas/

The first blog I found with an Entitlements.pList written out is:

http://adrianhosey.blogspot.com/2009/01/iphone-development-provisioning.html

In this blog you get a picture of the contents of this file, only for me:
debugging has to be allowed!!! (in debugging) Other tell to uncheck this.(for release)

In release (device) the app is loaded to my device, but not started, I have to start it myself.

Then I discovered there were two files with seperate properties: (called Info)


double click on Project to get the Project Properties: Project Info

double click on the app icon under Target to get the Target properties: Target Info

These files are practically the same, but the Code Signing Entitlements is not taken over!!!

So for me one was at still at dist.plist the other on Entitlements.plist, giving an error!!!!

So we should set SIX files the right way.... (debug release distribution, for simulator and for device.....)
Who has cooked this system up?

It must have been the Tetris God, messing up!
(see him here: http://www.youtube.com/watch?v=Alw5hs0chj0)