Application failed to check error while creating application for iPhone device

OK, I just got the shiny new MacBook Pro and, while developing the iPhone app on another MacBook, I wanted to transfer my development to my new computer.

I have a scene where I can create the application and run it on the simulator without any problems, but when it comes to running the application on my iPhone, I keep getting "The application cannot be verified." I installed a new developer certificate and installed provisioning profiles (all generated new ones), but I don’t understand why I should still get an error.

Anyone have any ideas on where I am going wrong?

EDIT

I recreated a certificate profile and profiling, etc. The assembly was completed successfully, and the status below reaches “Installation on the device”, then two modal dialogs are displayed with the same “Application may not be scanned”.

Is there any conclusion that I can get that will give me the exact error?

EDIT

Ok, I have a corresponding log from Organizer showing the problem. It looks like I have not configured Entitlements.plist, but in xcode I have. (I added False, but did not remove get-task-allow, and then added Entitlements.plist to the project settings according to the code signing rights). Journal:

Tue Jun 16 07:35:42 unknown mobile_installation_proxy[1162] <Error>: install_embedded_profile: Skipping the installation of the embedded profile Tue Jun 16 07:35:42 unknown securityd[1158] <Error>: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] <Error>: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] <Error>: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:42 unknown securityd[1158] <Error>: mobile_installat[1162] SecItemCopyMatching: missing entitlement Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] <Error>: entitlement 'get-task-allow' has value not permitted by a provisioning profile Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] <Error>: verify_executable: Could not validate signature: e8008016 Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] <Error>: 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] <Error>: install_application: Could not preflight application install Tue Jun 16 07:35:43 unknown mobile_installation_proxy[1162] <Error>: handle_install: Installation failed Tue Jun 16 07:51:53 unknown afcd[1181] <Error>: user mobile has uid 501 Tue Jun 16 07:51:53 unknown afcd[1181] <Error>: mode is 0x41e8 

Can anyone shed some light on why this is not working properly?

EDIT

Got the assembly, but I haven't accepted the answer yet, because I have no idea what is going on. Anyone with any idea what is going on?

+46
iphone xcode provisioning
Jun 15 '09 at 19:20
source share
11 answers

From this thread in ADC :

get-task-allow, when entering the application, allows other processes (for example, a debugger) to connect to your application. Distribution profiles require this value to be disabled, while development profiles require this value to be enabled (otherwise Xcode will never be able to start and connect to your application).

+16
Jun 22 '09 at 8:47
source share

My problem was that I already installed the application through testflight on my phone after uninstalling the application with which it works!

+93
Feb 02 '15 at 11:44
source share

I decided to remove it by deleting the already installed assembly from the phone, and then reinstalling the assembly.

+32
Feb 26 '15 at 20:51
source share

Make sure your iPhone is properly prepared . You can connect to the iPhone and launch the Organizer from Xcode (Main menu → Window → Organizer), and then check the PROFILE INFORMATION .

After that, you need to match the Package Identifier (Project → Info.plist) and your application identifier. You can read this Apple note. Inconsistency between application identifier and package identifier

I had similar message boxes (two per line) when my package id was incorrect.

+6
Jun 15 '09 at 21:55
source share

Did you remember to expand the targets to the left of the project window, and then right-click on the name of your application> get information , then go to the Build tab and in the Code Signing section, under Code Signing Identification , change the value of any iPhone OS device to What is applicable in your case? Also, on the properties tab, you must set your identifier so that it matches the identifier of your choice.

I don't know if this helps, that the step I found is missing from your description.

+3
Jun 15 '09 at 19:41
source share

I know that you have already checked some of them, but just the answer is complete:

  • Ensure that the new provisioning profile and certificate are named at the target level for each build parameter that you want to install on the device.
  • Code signing rights should also be defined at the target level, and not in the project.
  • Double check the build log, look for a line that includes CodeSign. Make sure it is there and using the expected certificate.
  • If all else fails, remove the code signing identifier from your target, clear all targets, remove all build directories from your project, close and restart Xcode, replace the code signing identifier, and try again.
+2
Jun 16 '09 at 15:00
source share

In addition to checking the code signature, be sure to go to the Build menu and run "Clear All Goals." Xcode mixes up from time to time.

+1
Jun 15 '09 at 21:00
source share

“Application cannot be verified”, an application with the same package identifier may already be installed on your device.

I had this problem because I had an app from the App Store & I tested my version of the update from Xcode. & with the same id as in my live application.

Simple solution. Just uninstall the application and install it again .. ....

+1
Jun 28 '16 at 21:39
source share

One important, but easy-to-view element: make sure all keys and security certificates are in the input chain. I came across this when I tried to create a new "development key" and all my profiles became "invalid".

0
Dec 12 '10 at 17:09
source share

The problem is solved (at least for me!)

Export the developer profile to a computer that is running, and then import to the machine with this problem. Done using Settings / Accounts, Gear icon at the bottom.

0
Apr 09 '15 at 21:08
source share

Going to the window> Devices and viewing installed applications, I was able to find out that my application is already installed. Select the application and press “-” to remove it from the device. Try restoring the application using this device as a target.

Worked for me, although from the phone I could not find where the application was installed!

0
Aug 17 '15 at 15:23
source share



All Articles