Page 3 of 6

cant send push notifications when installing app from xcode on iphone/ipad

Posted: Thu Mar 20, 2014 11:26 pm
by Michael4771079

Alex,
try sending the app to apple from xcode, xcode may resolve the issue


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Mar 21, 2014 12:46 am
by Alex GG

Hi michael,

I ́ll try, and update!

Thanks!


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Mar 21, 2014 6:07 pm
by Maryna Brodina

Hello! You can use this tutorial to check if you have set certificates correctly http://www.raywenderlich.com/32960/ap...


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Thu Apr 03, 2014 7:27 pm
by Alex GG

Hi Maryna, I checked the tutorial and have some doubts: Should I create the .pem file? and if so, where should I add this on Xcode? Isn ́t suppose that exporting to xcode, the file contains all this settings?


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Apr 04, 2014 8:17 am
by Kateryna Grynko

Hi Alex,

No, you don't need to create .pem file.


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Jun 20, 2014 7:34 am
by Govind Chunchula

I have the same problem. I fallowed below procedure.

  • Added provisioning profile certificate and iphone_dis_cer file to appery app.

  • Generated .ipa file and done installation using diawi.com link (Since i am in windows7 system).

    When we send message it showing the above error.

    Please help.


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Jun 20, 2014 12:20 pm
by Evgene Karachevtsev

Govind,

You should have two certificates (one of them for Push Notification) and one provision profile which should be suitable for each other. Here you can find instructions how to generate them:
https://developer.apple.com/library/i...


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Jun 20, 2014 1:59 pm
by Govind Chunchula

Hi,

I fallowed the same procedure. Now i am unable to get .ipa file. Now i created developer version certificates and profisioning profile.

But when i upload distribution certificates it will generate .ipa file, but push notifications giving error (Invalid token).

Is anything wrong i have done ?


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Jun 20, 2014 2:02 pm
by Govind Chunchula

I am using windows OS to generate signing certificate. Since this is not mac i am downloading .ipa file instead of XCode project.


cant send push notifications when installing app from xcode on iphone/ipad

Posted: Fri Jun 20, 2014 2:03 pm
by Govind Chunchula

If you want i will share my project. So that you can check the permissions.