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?
12 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.
1I just crossed the same problem. I did:
- Click on the warning
- On the right side select the "File Inspector"
- Go down to the "Target Membership"
- Unselect the "main app"
This worked for me. Cheers.
1