IOS Storyboards Do Not Support Target Device Type "Watch"

I am using Xcode 7.2, WatchOS 2.1. I have below problem

 iOS storyboards do not support target device type "watch".

How can I resolve this?

1

2 Answers

In addition to target memberships, and especially when working with a single target that supports multiple platforms (ex. iOS and tvOS), you can more-deeply customize the build by clicking on the project in the sidebar then going into the target, selecting "Build Phases" and then using the "Filters" column.

By default, files are listed as "Always Used", but you can limit to specific platforms as needed in this way, even as part of a single target.

It would be nice if these same settings were exposed in the inspector as well since this feels pretty hidden, but this is how it is as of Xcode 14.1 at least.

1

I just crossed the same problem. I did:

  1. Click on the warning
  2. On the right side select the "File Inspector"
  3. Go down to the "Target Membership"
  4. Unselect the "main app"

This worked for me. Cheers.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest