It is common to get this error if we are going to implement APNS on our currently running application..
My application runs fine on device, To implement APNS I configure the App Id on iPhone Developer Program also look at how to tab, and also go through this guide
implement APNS on client source
to implement this , there are lot of good tutorial on internet
http://www.z2live.com/push_notifications
http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/
http://ameyashetti.wordpress.com/2009/07/31/apple-push-notification-service-tutorial/
after do all these We have to create a new provisioning profile(or remove the old one and create with same name) and download it and install both xcode and iphone
remove old profile from xcode and iphone and install new profiles
Dont forget to change the "code signing identity" in settings and "Bundle Identifier" in .plist file if you are create new profile
this will solved the above mentioned error
My application runs fine on device, To implement APNS I configure the App Id on iPhone Developer Program also look at how to tab, and also go through this guide
implement APNS on client source
to implement this , there are lot of good tutorial on internet
http://www.z2live.com/push_notifications
http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/
http://ameyashetti.wordpress.com/2009/07/31/apple-push-notification-service-tutorial/
after do all these We have to create a new provisioning profile(or remove the old one and create with same name) and download it and install both xcode and iphone
remove old profile from xcode and iphone and install new profiles
Dont forget to change the "code signing identity" in settings and "Bundle Identifier" in .plist file if you are create new profile
this will solved the above mentioned error
The bundle identifier should go in Entitlements.plist (under resouces) with key "aps-environment".
ReplyDeleteThanks it works for me.
ReplyDeleteThe important line here is after adding an in app purchase you need to redo the provisioning profiles,yes
ReplyDelete