Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

watchOS storyboards do not support target device type "iphone". #157

Open
gudatcomputers opened this issue Sep 4, 2015 · 1 comment
Open

Comments

@gudatcomputers
Copy link

Trying to run specs with PCK watchKit, but when I add the storyboard in the specs target i get this error. Xcode 7 seems to add some sort of setting that makes it so that PCK cannot load the storyboard and instantiate the interface controller. We are trying to run specs as a separate specs target since running them with the test bundle seems to fail.

@briancroom
Copy link
Contributor

Xcode 7 no longer supports compiling WatchKit storyboards within targets that deploy on iOS. The technique I used in #156 is to create a separate WatchKit app target, add the storyboard to that app, and embed the WatchKit app inside the spec bundle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants