- , "" . CocoaPods, , Xcode . , , ...
THREFORE (pt 1-8) !
, " MyApp WatchKit". :
xcodeproj 'MyApp.xcodeproj'
workspace 'MyApp.xcworkspace'
platform :ios, '8.3'
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
link_with 'MyApp', 'MyApp WatchKit Extension'
def shared_pods
pod 'RealmSwift', '>= 0.92.3'
end
target 'MyApp' do
shared_pods
end
target 'MyAppTests' do
shared_pods
end
target 'MyApp WatchKit Extension' do
shared_pods
end
, , - " RealmSwift" Realm-Object, :

, Realm (, "MyApp" "MyApp WatchKit Extension" ), , RealmObject.swift( . ):
