Unable to run app in Simulator Xcode 6

后端 未结 4 1403
無奈伤痛
無奈伤痛 2021-01-22 08:06

Yesterday i was testing my app in the iOS simulator and everything was working fine. I then decided to run the app on my iPhone and i got the error unable to install appli

相关标签:
4条回答
  • 2021-01-22 08:47

    Generally it means there is a problem with the build, it may be due to old cache (solved by a clean build) or a project definition error (missing library, bad definition in info.plist, etc).

    In my case it happened only on iOS 8, turns out that my widget had the wrong bundle ID.

    0 讨论(0)
  • 2021-01-22 08:51

    In that kind of cases I usually :

    • Product > Clean
    • Close xCode
    • Delete the Derived Data (in ~/Library/Developer/Xcode/DerivedData subfolders)
    • Delete the app on the iPhone
    • Reboot the iPhone
    • Restart and rebuild
    0 讨论(0)
  • 2021-01-22 08:56

    I had this problem. In my case, it was caused by the Build value being blank. After putting a value there, and resetting the simulator once more, the issue went away.

    0 讨论(0)
  • 2021-01-22 09:00

    I had the same problem and checking the system log carefully helped me to identify a coliding library that was causing this error. You can also check this answer if you are using extensions.

    0 讨论(0)
提交回复
热议问题