How to fix “no valid 'aps-environment' entitlement string found for application” in Xcode 4.3?

前端 未结 23 2094
长情又很酷
长情又很酷 2020-11-27 10:43

I\'ve been trying very very hard to create a simple simple iOS app which can recieve push notifications. My only reason for doing this is to establish a procedure for some

23条回答
  •  余生分开走
    2020-11-27 10:49

    Delete old provisioning profile from XCode in Organizer.

    Then, generate a new provisioning profile for the same bundle id in iOS provisioning portal (after you have enabled push).

    Import the new provisioning profile in XCode, set it in your app build settings.

    Build, run, it works.

    I just did it.

    It took me 10 minutes from error to success.

提交回复
热议问题