App installation failed: Unknown Error Xcode 7

前端 未结 7 760
独厮守ぢ
独厮守ぢ 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:18

    I also had this problem, in device log it said that code signing failed for my app extension ....appex. I went to my App Target -> Build phases -> Embed App Extensions and checked Copy only when installing, after that I could install the app on the phone.

提交回复
热议问题