Xcode 4 "waiting for process 'Appname' to launch

后端 未结 6 1637
温柔的废话
温柔的废话 2021-02-03 14:31

I installed Xcode 4 and now cannot run one of my iPhone projects.

 Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General         


        
相关标签:
6条回答
  • 2021-02-03 15:18

    for me it was already set on automatic and still had this problem. The problem solved after I changed the build configuration to Distribution in the product -> scheme

    0 讨论(0)
  • 2021-02-03 15:24

    I ran into the same issue. Go to Product -> Edit Scheme and select the Run scheme on the lefthand side. Go to the info tab, and next to launch there will be two options (neither of them selected): 'Automatically' and 'Wait for XXXX.app to Launch'. Select the Automatically one and it should clear up your issue.

    I had actually built and used my projects using xcode 4 for a few days with no issues, and then this popped up randomly. Hope the this helps.

    0 讨论(0)
  • 2021-02-03 15:28

    You may be click the bottom of Product>scheme>edit scheme >Waitting for executable to be launched.And you should click the Automatically choose.

    0 讨论(0)
  • 2021-02-03 15:32

    Yes, you need to set it to automatic but doing that alone won't be enough. Like Chris says, you will need to exit your simulator manually and then run.

    0 讨论(0)
  • 2021-02-03 15:34

    Quit Xcode. Find the App_Name.xcodeproj, "Show Package Contents" and remove the folder "xcuserdata".

    This will clean the "cache" of breakpoints. Start Xcode, compile and done :)

    0 讨论(0)
  • 2021-02-03 15:37

    A tip I found at the Apple Developer Forums:

    Go into your ProjectName.xcodeproj/ directory and delete anything named with your userid. Re-open the project in xcode and all that will get recreated and it should work. At least it did for me.

    Another tip is to manually delete the build directory.

    Yet another tip is to navigate to the Organizer (Shift ⇧ Command ⌘ 2 in xcode 4), select Projects, select you application in the left hand side and then the Delete...-button to the right of Derived Data.

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

    Good luck!

    0 讨论(0)
提交回复
热议问题