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

前端 未结 23 2166
长情又很酷
长情又很酷 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 11:01

    This was what fixed it for me. (I had already tried toggling the capabilities on/off, recreating the provisioning profile, etc).

    In the Build Settings tab, in Code Signing Entitlements, my .entitlements file wasn't link for all sections. Once I added it to the Any SDK section, the error was resolved.

提交回复
热议问题