swift - RealmSwift and watchos2 -
using realmswift-0.97.0 , watchos2, have following error when trying run watchkit-app first time:
dyld: library not loaded: @rpath/realm.framework/realm referenced from: /users/.... reason: image not found what mistake ?
i using following podfile incorporate realmswift project :
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' shared_pods end target 'isquashtests' shared_pods end target 'isquash watchkit extension' platform :watchos, '2.0' shared_pods end the same podfile have used bevore (with watchos1.2 , earlier version of realmswift...) appreciated ! !
found solution....
the old run-script needed earlier versions of realmswift , watchos1.0 no longer needed !!!

Comments
Post a Comment