Использование RealmSwift-0.97.0 и watchos2, у меня есть следующее сообщение об ошибке при попытке запустить мой Watchkit-приложение в первый раз:RealmSwift и watchos2
dyld: Library not loaded: @rpath/Realm.framework/Realm
Referenced from: /Users/....
Reason: image not found
Что может быть ошибка?
Я использую следующий podfile включить RealmSwift в мой проект:
xcodeproj 'iSquash.xcodeproj'
workspace 'iSquash.xcworkspace'
platform :ios, '9.0'
inhibit_all_warnings!
source 'https://github.com/artsy/Specs.git'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
link_with 'iSquash', 'iSquash WatchKit Extension'
def shared_pods
pod 'Realm'
pod 'RealmSwift'
end
target 'iSquash' do
shared_pods
end
target 'iSquashTests' do
shared_pods
end
target 'iSquash WatchKit Extension' do
platform :watchos, '2.0'
shared_pods
end
То же podfile я использовал успешно bevore (с Watchos1.2 и более ранняя версия RealmSwift ...) Любая помощь оценил! Благодаря !