Problem running iPhone application on iPhone with Xcode (and in tools)

I have a problem running one application on the iPhone from Xcode (or tools). When I try to start the application, I get an error message. Failed to load XXX.app in the lower left corner of Xcode. It is strange that this really downloaded the application on the iPhone, but it does not start (after that I can start the application manually on the iPhone).

Thus, without the ability to run the application from Xcode or tools, I have no chance of debugging / testing performance.

Any advice on what might be wrong here?

The iPhone console shows me the following:

Thu Oct 1 14:25:18 unknown mobile_installationd[1976] <Error>: 00808e00 install_embedded_profile: Skipping the installation of the embedded profile Thu Oct 1 14:25:23 unknown SpringBoard[25] <Warning>: Reloading and rendering all application icons. 

Other applications work fine. I tried this on two iPhones (both 3.1) with the same result. I am running Xcode 3.2 on SnowLeopard.

Hello

+49
iphone xcode instruments
01 Oct '09 at 13:32
source share
5 answers

This happened to me (more than once). In the end, I had to restart Xcode to solve the problem (after checking that the code signing settings were correct, a provisioning profile was created, etc.).

+92
Oct. 14 '09 at 21:11
source share

I had the same problem and restarting Xcode solved it. Of course, I checked that the correct provisioning profile is installed on the iPhone, and the package identifier in the project settings matches the provisioning profile.

+4
Oct 17 '09 at 0:36
source share

It says that he cannot establish a profile. Carefully check the code settings and make sure that after creating the application, the profile that you used to sign the code is really the one you selected: go to the embedded application package, find the embedded.mobileprovision file, open it using the TextEdit application, find the <name> tag <name> and see the value. If the value does not match the profile specified in the project, this may be the cause of the problem.

+2
Oct. 14 '09 at 21:20
source share

Restarting Xcode solved the problem. While Xcode was working, I downloaded the new version of iPhone OS via iTunes (v 3.1) and synchronized (but did not update) the iPhone. My current OS version on the device was 3.0

Perhaps this helps.

+2
Nov 07 '09 at 17:02
source share

Your executable file name may be set incorrectly.

Expand the "Goals" group, double-click the goal, go to the "Properties" tab and select the "Executable file:"

In my projects, it is set to $ {EXECUTABLE_NAME}

I think you can also check this in your Info.plist file.

+1
01 Oct '09 at 16:41
source share



All Articles