Hello,
I finally managed to make the stars align and got the Push demo working to send push notifications, Erel is right, a lot of patience is needed, the apple servers seems to like to not connect sometimes, and sometimes they do.
Anyway, I now want to add push notifications to an existing application, which I thought would be really easy, but I have ran in to an issue.
I edited the current app ID to add push notifications, created the new certificates (aps_development and aps_production) created the new provision profiles and dropped them all in to a new keys folder for the application I am working on (as I figured that these provisions and certificates are now not wild card and so needed to be used for this particular app I am working on)
I also copied in to the same folder (just in case they were needed) the b4i.keystore, certSigningRequest.csr and the B4i.p12 file.
I created a new Push.
in my application set the #provisionfile: to me my new .mobileprovision file I got and tried setting the #CertificateFile: to be aps_development.cer file.
when I try to run as a debug I get an error telling me the certificate file name must start with iOS so I added iOS_ to the front of the aps_development.cer file.
when I try to compile now I get an error message which I think comes from Xcode.
Code Sign Error: No code signing identities found that match the provisioning profile specified in your build settings were found.
did I miss a step somewhere?
I have tried starting from scratch with everything but deleting the app ID because I didn't know how that would effect the versions of the application I already have out there in testing with test flight.
anyone have any insight as to what step I may have missed?
when I looking Xcode I see the provisioning profile I set up for this application so its a little weird.
thanks
Darren
I finally managed to make the stars align and got the Push demo working to send push notifications, Erel is right, a lot of patience is needed, the apple servers seems to like to not connect sometimes, and sometimes they do.
Anyway, I now want to add push notifications to an existing application, which I thought would be really easy, but I have ran in to an issue.
I edited the current app ID to add push notifications, created the new certificates (aps_development and aps_production) created the new provision profiles and dropped them all in to a new keys folder for the application I am working on (as I figured that these provisions and certificates are now not wild card and so needed to be used for this particular app I am working on)
I also copied in to the same folder (just in case they were needed) the b4i.keystore, certSigningRequest.csr and the B4i.p12 file.
I created a new Push.
in my application set the #provisionfile: to me my new .mobileprovision file I got and tried setting the #CertificateFile: to be aps_development.cer file.
when I try to run as a debug I get an error telling me the certificate file name must start with iOS so I added iOS_ to the front of the aps_development.cer file.
when I try to compile now I get an error message which I think comes from Xcode.
Code Sign Error: No code signing identities found that match the provisioning profile specified in your build settings were found.
did I miss a step somewhere?
I have tried starting from scratch with everything but deleting the app ID because I didn't know how that would effect the versions of the application I already have out there in testing with test flight.
anyone have any insight as to what step I may have missed?
when I looking Xcode I see the provisioning profile I set up for this application so its a little weird.
thanks
Darren