Xcode 6 throws error when trying to open a project previously opened in Xcode 7 Beta

488 Views Asked by At

Developed an incomplete iPhone + Watch app in Xcode 7 Beta. Tested on iOS 9 + Watch 2.0. Now need to open this project in Xcode 6 to release.

Getting the following errors:

Target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'macosx' platform

Error: There is no SDK with the name or path '/Users/a1/Desktop/GangstaDoc/watchos'

Anybody else have this issue? Any fixes?

2

There are 2 best solutions below

0
James Frost On

Xcode 6 doesn't support building watchOS 2 apps, so you won't be able to build with Xcode 6. It also doesn't support building iOS 9 apps.

You will only be able to build this project with Xcode 7.

0
Douglas Frari On

The Xcode 6.4 stable release version maybe don't has support to 'Watch 2.0.'. Try open its current project in Xcode 7 beta and disable use of the Watch 2, so then open again on Xcode 6.

Other option is copying the source code manually and put in its new project on Xcode 6.

Observation:

  • When the version of Xcode 7 will be released for public, then the feature of 'Watch 2.0' will be compatible.