A few days ago, the project used the push function, on the integration of the laser, encountered 2 problems, to share with you, the first question:
The process of integration is done according to the laser documentation, but the final configuration is finished, and as soon as it runs, it prints out this sentence,
Finally, it is the reason that the description certificate (provisioning profile) was not added to Xcode,
Workaround: COM +, open the following page
Add a description certificate,
Last Click Done,
Second question:
The general normal setting alias, is after the user login succeeds to set up, but I was because of the first Test, so I simply put the method of setting the alias in, ROOTVC, I thought this is understandable. However, running discovery will print the app not registed and give up set tag:
suspicion is that the set alias was discarded because the push service was unavailable. clearly configured well, how is it? finally know, because this method starts, it runs, so short time within the push service is not available, then delay the call, try
running the results, that's the reason.
Laser Push Delivery Error: APNs is not available,please check your provisioning profile and certification and set alias problem