Xcode will run app on simulator but not on device

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

    I struggled with this problem for 2 days and went through all the posts, tried all the options including, restarting Xcode, device, deleting DerivedData folder etc.

    Finally, the problem was with the Info.plist file. In my case, I had improper icon paths in the Info.plist file. I suggest you to archive the application and then validate it to get the exact problem in you case. Only when I did that, I was able to find the issue.

提交回复
热议问题