Showing posts with label iphone sdk. Show all posts
Showing posts with label iphone sdk. Show all posts

Thursday, December 31, 2009

iPhone 3.0 Push notification sample code & tutorial

I found the following two links quite helpful for me when developing iPhone Application using push notifications.

http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html

and

http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial

I also met with the following ERRORS:

Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x2910d0 "未找到应用程序的“aps-environment”的权利字符串"

Interestingly, I solved the problem with this post "I got the solution, when you have configured your AppID for Push notification, then recreate a new provisioning file with this AppID and install it on the Xcode Organiser, this has worked for me ." from the following link:

Wednesday, July 29, 2009

Helling Apple Application design

Ever met this problem when you tried to run your application on your iPhone or iPod Touch device?

"
Can’t run “3GTest” on the iPod “Someone's iPod Touch”

The iPod “Someone's iPod Touch” doesn’t have the provisioning profile with which the application was signed.

Please add the provisioning profile via the Organizer, or check the “Code Signing Identity” build setting.
"

I added the provisioning profile via the Organizer. However it doesn't work.

FIX:

1. Make a totally new provisioning profile and downloaded into your MAC

2. Double click to install it into your XCode.

3. Install it into your ipod or iphone via Organizer

4. Restart XCode

Everything will just work fine.