preload
Nov 06

Now this seems to be going in the right direction… I think that the iPhone app I am developing had a technical breakthrough today! :-) On Twitter I have been discussing with Justin Munger about the provisioning profiles I discussed in other topics. Before finally asking help I decided to give in one last try, and hey – seems to be working now!!

Either they changed something in the iPhone Developer Program Portal (login required) or I have not been reading well the other times… I leave it up to the reader which one is most likely! ;-) Anyway, the creation of the provisioning profile did not seem to be the problem, but some steps afterwards needed for Ad Hoc distribution to some selected devices. Following these stepsbrought me really further, but in the end the app would not build. It could not find the provisioning profile, apparently it used two of them for one app… The solution came to me from the forum of iPhoneDevSDK.com:

In XCode, in the “Groups & Files” pane, expand “Targets” and double-click on your app’s target. This will bring up the Info pane for your target. In the “Build” section, check the “code signing” section for any old profiles. I found that it was building to an old profile there.

That worked! Apparently the Target was referring to another profile as the app itself. After changing it build perfectly, and together with the .mobileprovision file I could drag it to iTunes and install it on my iPhone… Just to see that in iTunes there was no icon visible, just on the iPhone itself.

No problem…. short Google search referred me to StackOverflow.com and then to the ADC Library with the solution for that. Created the iTunesArtwork file, and it all seemed to be working great!

I now need to test if this works on other devices as well. Want to try on your iPhone? I’d be glad to give you a beta version of the app (for free, of course). You need to mail me your Device ID so I can add your device to the “allowed list”. Enlarge the picture below to see how to get your Device ID:

DeviceID

In case you’re wondering if sharing your Device ID (or UDID) is safe, you may be interested in this article.

Leave a Reply