Archive for Objective-C

Apple Push Notifications and Ad Hoc

// March 25th, 2011 // 2 Comments » // Objective-C, Programming

This will be very short. I learned something the hard way today. When you’re developing an iOS app, and you’re sending it out to testers as an Ad Hoc app, to use push notifications you have to use a Production certificate, not a Development certificate. If you don’t do this, you’re going to find yourself, the developer, the only person able to receive push notifications to your device. Everyone else on the Ad Hoc team will be left wondering what you’re doing wrong.

I’d been using Boxed Ice’s excellent guide on the subject, and they mention the developer identity instead of the production one. That guide is still tremendously useful, just make sure to go through the process of creating certs twice–once for Dev and once for Production!