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 1234567890.com.mycompany.myApp 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.