Apple Push Notification not working with ad-hoc build
问题 In development mode I can send push notification to devices, instead I can't in production, my setup is: .pem file that is the combination of aps_production.cer of provisioning portal and the private key of my ad-hoc certificate apple server apn: 'gateway.push.apple.com' with 2196 port I have a rails server that saves tokens from devices and then sends notification to apple with those device tokens and the previous .file for opening connection ad-hoc build applications have (it's rubymotion):