Xcode will run app on simulator but not on device

前端 未结 16 2107
予麋鹿
予麋鹿 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 also had this problem after changing from a lower XCode and iOS version to the current XCode and iOS version.

    I fixed this problem by changing th iOS Depolyment Target to a lower version, since my Device is not updated to the latest iOS yet. You can do this by clicking the project inside the Info tab.

提交回复
热议问题