"WatchKit is not available when...."

I'm using the latest version of XCode beta, and when I try to comple a previous project, I get the below error:


"WatchKit is not available when building for iOS. Consider using 'ifios(iOS)' to conditionally import this Framework"


Is this a temporary error or a new issue with iOS 13?


Thanks,

Dan Uff

Replies

I'm getting this too, but not the message about ifios. Using Xcode beta with iOS 13.0 deployment target.

Remove the WatchKit Framework and add it back in. That did the trick for me.

And how do you exactly do that?