Wednesday, October 29, 2008

Linking iPhone/iPod Touch with Xcode

I just spent the last hour or so trying to get my iPod touch working with Xcode so I could debug on the device

If you are having trouble after you have followed the instructions on Apples developer site, here's what to do:

In Xcode, right click the info.plist file and select open as text file. This will open the bundle as a plain text Xml file.

Find the Key:
and below it will be a string element. Change the text between the element to your AppId minus the 10 digit number and the dot.

So for example if your appId is then change it to com.mycompany.myApp

Easy thing to do, but hard thing to solve.

Hope that saves someone the hours of frustration I had.

No comments: