Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I ran into the same "no valid 'aps-environment' entitlement string found for application" problem, but the above solutions did not work for me.</p> <p>I could not find very good documentation about this error or even just the key "aps-environment".</p> <p>After some tinkering around, here is what solved the problem for me:</p> <p>Open your development provisioning certificate, "Appname.mobileprovision" with a text editor, look for the key "Entitlements" then add all of the values found here to your Entitlements file referenced by your Code Signing Entitlements setting.</p> <p>Here is an example of what keys/values you'll find inside:</p> <pre><code>&lt;key&gt;application-identifier&lt;/key&gt; &lt;string&gt;xyz.com.xyz.xyz&lt;/string&gt; &lt;key&gt;aps-environment&lt;/key&gt; &lt;string&gt;development&lt;/string&gt; &lt;key&gt;com.apple.developer.ubiquity-container-identifiers&lt;/key&gt; &lt;array&gt; &lt;string&gt;xyz.*&lt;/string&gt; &lt;/array&gt; &lt;key&gt;com.apple.developer.ubiquity-kvstore-identifier&lt;/key&gt; &lt;string&gt;xyz.*&lt;/string&gt; &lt;key&gt;get-task-allow&lt;/key&gt; &lt;true/&gt; &lt;key&gt;keychain-access-groups&lt;/key&gt; &lt;array&gt; &lt;string&gt;xyz.*&lt;/string&gt; &lt;/array&gt; </code></pre> <p>After adding all of these values to my Entitlements file my app builds successfully and I can finally get back to working on Push Notifications.</p> <p>I'm not sure if these values are supposed to be automatically added to your entitlements file by XCode, but they certainly weren't being generated for me in my project.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload