Xcode will run app on simulator but not on device

前端 未结 16 2111
予麋鹿
予麋鹿 2020-12-13 05:57

I receive the following error when trying to run the app on my device.

error: failed to launch \'/Users/michael/Library/Developer/Xcode/DerivedData/Build/Pro         


        
16条回答
  •  再見小時候
    2020-12-13 06:41

    With Mountain Lion and the latest version of Xcode (4.4.4F250), none of the suggestions in this thread worked directly (clean, clean project, remove derived data folder, etc). This sequence did. From DhilipSiva:

    1. Disconnect your device
    2. Delete the app from your device
    3. Quit Xcode (Don't just simply close the window, quit it)
    4. Delete derived data folder rm -fr ~/Library/Developer/Xcode/DerivedData (console)
    5. Start Xcode,connect device & run the project

提交回复
热议问题