I had the same issue, after signing the app using a production certificate.
And the steps to make it work again are (this worked on 9.2 and 9.3 devices):
- Put back
kGGLInstanceIDAPNSServerTypeSandboxOption:@YES
(production needs this to be NO)
- Under "build settings/Code Signing/Code signing identity" use the iPhone Distribution linked the GCM project (com.xxxx.yyy) and for Provisioning Profile, change back from Automatic to iOS Team Provisioning Profile:com.xxxx.yyy
Build, run, and wait a few minutes. For one of the tests, it took 15 minutes to register.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…