Steps:
Check if the same provisioning profile is being used while installing app in all your device
if its same.. go to developer.apple.com to see if the all your devices are checked in, for the provisioning profile you are using
Now in debug mode, check if
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
var deviceTokenStr = deviceToken.description.replacingOccurrences(of: ">", with: "", options: .caseInsensitive, range: nil)
deviceTokenStr = deviceTokenStr.replacingOccurrences(of: "<", with: "", options: .caseInsensitive, range: nil)
deviceTokenStr = deviceTokenStr.replacingOccurrences(of: " ", with: "", options: .caseInsensitive, range: nil)
print(deviceTokenStr)
}
this method is geting called, i.e all your devices are geting registered for push notification service
now, inside the above method, get your push notification token "deviceToeknStr" and use it to check the push notification using site
https://pushtry.com
using your pem file, passphrase for the certificate and the devicetokenStr, in debug mode.