Can not launch the app on device

后端 未结 11 1293
臣服心动
臣服心动 2021-02-07 14:47

When i try to launch my application from Xcode to the device, i get this error:

error: failed to launch \'/Users/Luca/Library/Developer/Xcode/DerivedData/myapp-b         


        
11条回答
  •  一整个雨季
    2021-02-07 15:20

    For me restarting of Xcode, cleaning DerivedData and restaring device wasn't enough in most cases, until I had figured out that iTunes was also running, and after quitting iTunes everything worked fine!

    So my steps now are simple:

    1. Quit Xcode.
    2. If iTunes is running, quit iTunes.
    3. Reopen project.

    It works without cleaning and device restarting.

提交回复
热议问题