Note that there are some explanatory texts on larger screens.

plurals
  1. POApplication could not be verified error when building app for iPhone device
    primarykey
    data
    text
    <p>OK, I've just got myself a shiny new MacBook Pro, and having been developing my iPhone app on another MacBook, I wanted to migrate my development to my new computer.</p> <p>I've got to the stage where I can build the app and run it on the simulator no problem, but when it comes to running the app on my iPhone, I keep getting "The application could not be verified". I have installed a new developer certificate, and installed the provisioning profiles (all generated new), but I'm at a loss as to why I should still be getting the error.</p> <p>Anyone have any ideas as to where I'm going wrong?</p> <p><strong>EDIT</strong></p> <p>I've recreated the certificate and profisioning profile, etc... The Build succeeds, and the status at the bottom gets all the way to 'Installing on Device', then two modal dialogs are displayed with the same "Application could not be verified" error message.</p> <p>Is there any output I can get to that will give me a precise error?</p> <p><strong>EDIT</strong></p> <p>OK, I've got the appropriate log from Organizer showing the problem. It looks like I haven't set up the Entitlements.plist, but in xcode, I have. (I've added an Entitlements.plist fole, then unchecked get-task-allow, then added Entitlements.plist to the project settings under Code Signing Entitlements). The log is:</p> <pre><code>Tue Jun 16 07:35:42 unknown mobile_installation_proxy[1162] &lt;Error&gt;: install_embedded_profile: Skipping the installation of the embedded profile Tue Jun 16 07:35:42 unknown securityd[1158] &lt;Error&gt;: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] &lt;Error&gt;: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] &lt;Error&gt;: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] &lt;Error&gt;: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] &lt;Error&gt;: entitlement 'get-task-allow' has value not permitted by a provisioning profile Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] &lt;Error&gt;: verify_executable: Could not validate signature: e8008016 Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] &lt;Error&gt;: preflight_application_install: Could not verify /var/tmp/install_staging.1WIVsB/BouldrData.app/BouldrData Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] &lt;Error&gt;: install_application: Could not preflight application install Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] &lt;Error&gt;: handle_install: Installation failed Tue Jun 16 07:51:53 unknown afcd[1181] &lt;Error&gt;: user mobile has uid 501 Tue Jun 16 07:51:53 unknown afcd[1181] &lt;Error&gt;: mode is 0x41e8 </code></pre> <p>Can anyone shed any light on why this isn't working as expected?</p> <p><strong>EDIT</strong></p> <p>Got the build working, but I've not accepted an answer yet, as I have no idea as to what's going on. Anyone with any idea as to what is going on?</p>
    singulars
    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.
 

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