I used OneSignal for push notification service.
(Development) I set Provision Profile of push notification service for my app
When I run from Xcode,everythin
The reason why notification didn't come in when I install with my custom .ipa that was create by Xcode archive manager was,it did set default provision profile generated by Xcode for testing on Devices which wasn't include for APNS.
So,in order to make it work when testing development APNS using .ipa files installation via iTunes instead of Xcode build,you need to use your custom provision profile that was created by yours for testing APNS for iOS Development(Not Distribution APNS).
1.Go to Product>Scheme>Edit Scheme and set the Archive Tab to Debug
2.Then connect to your device and tap Product>Archive
3.Then your Xcode will create Archive for your file that you can upload or export as .ipa.Do like these picture
Choose
Then it will ask you which provision profile that you gonna use,choose like me at below if u set custom provision profile at your build setting
Then export as .ipa for all compatible devices.And then you can receive notifications like you run from Xcode by installing that .ipa via iTunes
Happy Testing!!!