Error creating application in Xcode 7.1

I'm currently trying to build our project in Xcode 7.1 and run into a problem: "iOS xibs do not support target device type tracking." I tried to delete the xib files and I got another error saying that xib does not exist. The project itself supports the apple clock.

I tried building from the same code in Xcode 6.4 and did not issue it.

Appreciate all your help!

Thanks.

+4
source share
1 answer

You accidentally included XIB in the WatchKit extension or the WatchApp extension. (I know, because it happened to me too)

To solve:

  • In the project navigator, click the XIB file.
  • "" " " "WatchKit Apps" "WatchKit Extensions".
+1

Source: https://habr.com/ru/post/1607220/