Ravi Ojha
Ravi Ojha

Reputation: 1480

Push notification is not working in the build file but it works with xcode

I am working for push notification in iOS application. All is working fine when i run the application from xcode to real device and check the notification it works, but when i make the build file from diawi.com and install it on devices it does not work. Please tell me what is the problem and how can i solve it?

One more thing my application build setting shown as on given screen, is it problem for the push notification or other?

build setting screen

Upvotes: 2

Views: 2190

Answers (3)

Durga Sriram
Durga Sriram

Reputation: 486

Follow this link step by step:-

https://parse.com/tutorials/push-notifications

And note that:-

While creating Production SSL certificate, do not change the name "aps_production.cer".

And before creating Development related certificates, first create certificates(SSL,provisioning,p12) for only production.

It really worked for me after trying different approaches.

Upvotes: 2

sfirite
sfirite

Reputation: 161

I think you use mobile provision without enabled APNS server (I assume that you sign your application at diawi.com with another mobile provision (not that you use for debug). So please check mobile provision profile in application that builds with diawi.com. You can find it it application (rename your application bundle to rar file and unarchive it, than find mobile provision). After it find this provision in your program and check if APNS service enabled for this mobile provision.

Upvotes: 1

Vidhyanand
Vidhyanand

Reputation: 5369

It is issue with Setting up mobile Provisioning profile at Code Signing..

In your screen shot you are setting mobile provision with iPhone Development. Push notification needs distribution mobile provision..(iPhone Distribution)

So, May be that is the issue for you..Check it..

Upvotes: 2

Related Questions