Apple eliminates ‘WatchKit Framework’ from Xcode 11 and iOS 13
For us developers who have Apple Watch apps in the App Store that also ‘talks to’ an iOS device, you need to know that the Framework called ‘WatchKit‘ is no longer available and will cause an error if you try and run an app with the connected Framework.
Thank you for reading this post, don't forget to subscribe!
According to user hacknicity from the developer’s support board and Apple’s own beta / GM documentation:
The WatchKit framework is no longer included in the iOS SDK. If you’re using WatchKit APIs from iOS, you need to remove this use. The WatchKit framework remains available on watchOS.
For more detailed information, refer to the Xcode documentation.
To eliminate the error, one needs to remove the line:
import WatchKit
My guess is because of the fact that Apple Watch apps can now be standalone, that the Framework is no longer necessary.