Xcode 4 ", awaiting the launch of the application" Appname "

I installed Xcode 4 and now I can not start one of my iPhone projects.

Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all Waiting for process 'AppName' to launch. 

The top status bar displays "Joining AppName." The only strange thing about the project is its dependency on ZXingWidget for scanning a QR code.

It looks like it works on a peers computer, but not mine.

Tried to delete my build directory, no bones.

I can run other iPhone projects from source in Xcode 4 without any problems.

Has anyone else seen this?

+6
debugging objective-c xcode4 ios4
source share
6 answers

The tip I found in the Apple Developer Forums :

Go to your ProjectName.xcodeproj / directory and delete everything that is called with your user ID. Reopen the project in xcode and everything that happens will be recreated, and it should work. At least it was for me.

Another tip is to manually delete the build directory.

Another tip is to go to the Organizer ( Shift ⇧ Command ⌘ 2 in xcode 4), select "Projects", select the application on the left, and then the "Delete ..." button on the right of the received data.

And never forget the universally useful tip: restart your computer and try again.

Good luck

+7
source share

I ran into the same problem. Go to the "Edit Schema" section and select the "Run" scheme on the left side. Go to the "Information" tab, and next to the launch there will be two options (none of them are selected): "Automatically" and "Wait XXXX.app to start." Select Automatically one and it should fix your problem.

I really built and used my projects with xcode 4 for several days without any problems, and then it accidentally appeared. Hope this helps.

+23
source share

Yes, you need to set it to automatic, but that’s not enough. As Chris says, you will need to exit your simulator manually and then run.

0
source share

for me it was already set to automatic and still had this problem. The problem is resolved after I changed the assembly configuration to Distribution in the product program →

0
source share

Close Xcode. Locate App_Name.xcodeproj, “Show Package Contents” and delete the “xcuserdata” folder.

This will clear the "cache" of breakpoints. Launch Xcode, compile and execute :)

0
source share

You can click the bottom of Product Schema> Editing Scheme> Waiting for Executable to Run. And you should click "Automatically select."

0
source share

All Articles