Xcode will run app on simulator but not on device

前端 未结 16 2103
予麋鹿
予麋鹿 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:26

    I did these steps:

    1. Delete derived data: rm -rf ~/Library/Developer/Xcode/DerivedData
    2. Deep cleaned the project: Shift Key + Option Key + Command Key + letter K key
    3. Quit the project
    4. Quit XCode
    5. Deleted the app from my device

    When I reopened the Xcode, launched the project, and then launched the app it successively ran on my device

提交回复
热议问题