Xcode 4 hangs at “Attaching to (app name)”

后端 未结 30 3468
执笔经年
执笔经年 2020-11-28 18:20

I just upgraded to Xcode 4 and for some reason my app won\'t run in the simulator or iOS device. It was working perfectly in Xcode 3, but all of a sudden now when I press ru

30条回答
  •  猫巷女王i
    2020-11-28 18:28

    This is what worked for me:

    In Xcode navigate to the Product menu and choose EDIT SCHEMES.

    In the list on the left choose Run YourAppName.app. From the Executable menu choose OTHER.

    Navigate and choose your .app file in your project directory.

    Now run and it works :)

提交回复
热议问题