Hello!
I've been working on this app, that I've been successfully building with PhoneGap Build for the last year.
I didn't have a Mac back then, so I used certificates that were built on a friends Mac, and uploaded the IPAs from there as well.
After a couple of months being in the AppStore, I added push notification support to it by some means (created a new certificate I guess, I can't remember it exactly, but I followed some right tutorials and I got it working!)
It was working correctly until now, when my Apple Developer program expired and we had to renew.
My boss added me to the Development Team, on the Developer Center, so this means that I got a new username (this might have some effects?)
After renewal, I tried building apps again using the same certificates as before, and PhoneGap said, that they're expired.
Naturally, I went in and created some new certificates where the old ones were expired.
I made the following things:
- new iOS Distribution certificate
- new Distribution Provisioning Profile that uses the certificate above
I want to comment, that I didn't mess around with the App ID, I only remade the development and distribution certificates for the Push Service in it.
Recently I got a Mac, so I went ahead and installed all our certificates in my Keychain, made sure they're in the right place.
After I tried uploading the new IPA that i could correctly put on my device, it failed with the following message:
"The binary you uploaded was invalid"
I logged back into my Developer Center and I deleted everything, other than the App ID. I recreated everything precisely, and I tried again, but no luck.
The application is building fine, it can be used if copied to the device. If there was problem with the certificate, PhoneGap would notify me about that.
What could be the problem?
This shouldn't be the process for expired certificates being renewed and apps being rebuilt with them...