App installation failed: Unknown Error Xcode 7

前端 未结 7 817
独厮守ぢ
独厮守ぢ 2021-01-13 22:52

My app runs fine in the simulator, but when I try to install it on my iPhone it says

App installation failed: An unknown error has occurred.

7条回答
  •  攒了一身酷
    2021-01-13 23:13

    try it :

    Xcode-> Preferences->Locations->Derived Data-> Delete it...

    It will clean your project, Try to restart your device. Then build the app on the device.

提交回复
热议问题