Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7: WatchOS storyboards do not support target device type 'iphone'

I have imported an Xcode 6 project in Xcode 7 beta 5 with a Watch target and I get the following message:

WatchOS storyboards do not support target device type 'iPhone'

I clicked on the storyboard and removed it from the App target (left only the watch app target instead). However it still doesn't work.

How can I get this to work?

like image 972
mm24 Avatar asked Aug 21 '15 09:08

mm24


1 Answers

  • Update to recommended settings

  • Select your watch app storyboard

  • Uncheck the the first check box (your main app) and this will allow you to run your app without the error.

NOTE: This will result in no assets loaded. Go into your asset catalogue select the images one by one. In the inspector you will have a list of check boxes. Check watchOS and add the images to "Apple Watch" in the asset catalogue. The assets will now load as expected

You can support both Watch OS1 and 2 and there is a good answer here Xcode 7 supporting watch OS1 and OS2

like image 95
JSA986 Avatar answered Oct 22 '22 09:10

JSA986