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

后端 未结 30 3396
执笔经年
执笔经年 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条回答
  •  一整个雨季
    2020-11-28 18:46

    I frequently encountered this problem after renaming a project in Xcode 4.

    I was able to fix it by editing the Bundle Identifier in the .plist file.

    After I renamed the project, the Bundle Identifier would change to something like this:

    com.yourcompany.${PRODUCT_NAME:rfc1034identifier}
    

    changing it back to this:

    com.yourcompany.${PRODUCT_NAME}
    

    will stop Xcode from hanging and allow the App to run.

提交回复
热议问题