Getting warning when submitting watchOS 2 app

I'm updating my apps to iOS 9 using Xcode 7.1. I upgraded the watch apps to OS 2 like chaning openParentApplication to use WCSession. When submitting, I get this warning in an email:


"WatchKit 1.0 - Your previous version used an extension for Apple Watch but your current version doesn’t. Users who haven’t updated their Apple Watch to watchOS 2 or later may lose access to their Apple Watch extension."


How can I support both the watchOS 1 and watchOS 2? Xocde doesn't even let me choose OS1 as a base SDK.

Accepted Reply

Select your project -> File -> New -> Target -> watchOS -> Application -> WatchKit App for watchOS 1

Replies

Select your project -> File -> New -> Target -> watchOS -> Application -> WatchKit App for watchOS 1

Thanks. So I need to have two separate watch apps if I want to support OS 1 and 2?

Yes, you need two different targets.

However you can share your classes between the two apps by checking Target Membership from the File Inspector in Xcode.

Thanks again.