The Production Server and Moving Forward
When you deploy an application to the App Store, you need to use a different SSL certificate and talk to a different notification server. The process for generating that certificate is the same; in the developer portal, just configure the Production section of the App ID. In your server, you must point the connection to another instance of the notification server. The hostname of this server is gateway.push.apple.com, and the port is still 2195.
Also, CocoaServer isn’t exactly a production server: it isn’t optimized to handle many service requests at once.
Finally, all of the networking APIs and classes used in CocoaServer work in iOS as well. An iOS application can get instances of NSInputStream and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access