Reputation: 13
I am getting a warning from xcode (I'm trying to get realm into an extension and in my project via pods.) the app compiles fine, the extension gives me...
ld: warning: linking against dylib not safe for use in application extensions: /foo/bar/baz/Library/Developer/Xcode/DerivedData/Secretary-gklgwtinpjtwntbnzitbsdzhopid/Build/Products/Debug-iphonesimulator/RealmSwift.framework/RealmSwift
ld: warning: linking against dylib not safe for use in application extensions: /foo/bar/baz/Library/Developer/Xcode/DerivedData/Secretary-gklgwtinpjtwntbnzitbsdzhopid/Build/Products/Debug-iphonesimulator/Realm.framework/Realm
is there a way to do this and still use cocoa pods to handle?
Upvotes: 1
Views: 321
Reputation: 18308
This is an oversight in the Realm and RealmSwift pod specs. I've pushed a pull request for Realm at https://github.com/realm/realm-cocoa/pull/2666 that will address this for future releases.
Upvotes: 1