Cocoa Touch Framework is no longer compatible with WatchKit extension? Do I need a Watch Framework?

I am upgrading one of my applications from Xcode 7 to Swift 2.0 .

My Xcode 6 and Watch OS 1 application used Cocoa touch infrastructure to share the Core Data model between the iOS app and the WatchKit strong> extension .

With Swift 2.0 and Xcode 7, I noticed that my framework is no longer recognized in my WatchKit extension , I get

There is no such module. Model

in

import Model 

I read something about this on the Internet and one of them outlined the Watch Framework design :

, iOS, WatchKit .

1) Cocoa WatchKit - ?


2) Core Data? Apple Watch, iOS. ?

+4
2

watchOS 1.0 iPhone, watchOS , iPhone. watchOS 2.0 iPhone, Watch. , iOS, watchOS iOS, watchOS - .
watchOS, Watch.


CoreData watchOS 2.0: watchOS 2.0, - , , .
+1

@blobbfuesch, , watchOS 2 , Watch.

( ) , " Framework", , " " 2 (Cocoa Touch Watch).

update : watchOS 2.0

WatchConnectivity, WCSession, Watch Phone. , , , .

+1

Source: https://habr.com/ru/post/1608232/


All Articles