Push Notifications for Ad Hoc DistributionsTweet
Here’s a quick one that may save you some time..once you have push notifications working on a development device and it’s time to create an Ad Hoc build for others to deploy and test your app, on the Apple Developer Portal you will need to configure the production SSL certificate for your application and install the same on the server that will push notifications to devices. Even though an Ad Hoc release (in my opinion) is a phase of development, push messages will need to originate from the Apple production servers.
Once you’ve installed the SSL certificates, you send notifications to the following based on whether you want to target a development or Ad Hoc/Production application:
Development: gateway.sandbox.push.apple.com, outbound TCP port 2195
Ad Hoc/Production: gateway.push.apple.com, outbound TCP port 2195