Xcode will run app on simulator but not on device

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

    I stumbled upon this same problem on several diferent projects, researched a lot on forums and even here on Stack overflow. A lot of solutions were given, and some people seemed to get them working, but none of them worked for me. So we tried some pretty obvious course of action, which for some reason we didn't tought about before: I've done a CHMOD -R 777 on the EXACT path indicated by the error message (I copied it directly).

    Worked like a charm, 100% times!

    Hope it helps, guys!

提交回复
热议问题