Today I have finally added Push Notifications to Parcel Trackr.
I decided not to waste time and I went for Urban Airship. I registered, uploaded my push certificate, downloaded the sample and integrated the two systems.
Not everything went smoothly though because when I first ran the application I got a
Failed to register with error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0×120610 “no valid ‘aps-environment’ entitlement string found for application”
I thought my provisioning profile did not include the right entitlement… so I re-downloaded it and tried again. Turns out I was using the wrong provisioning profile.
So if you want to avoid my mistake just make sure that after you’ve configured push services in the iPhone Dev Center you download the updated provisioning profile and then you install it via XCode.
Other things worth checking include: the product name in your build configuration matches the app id and of course, the ultimate solution, clean all targets before building!
Cheers…

#1 by Adam Lowry on October 5, 2009 - 9:02 am
I’m glad you got it working quickly! Let us know if we can do anything to help.