使用扩展AND pod中的域?

时间:2015-10-13 15:40:43

标签: swift realm

我收到来自xcode的警告(我试图通过pod将项目扩展到我的项目中。)应用程序编译得很好,扩展程序给了我...

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

有没有办法做到这一点,仍然使用可可豆荚处理?

1 个答案:

答案 0 :(得分:1)

这是对Realm和RealmSwift pod规范的疏忽。我已经在https://github.com/realm/realm-cocoa/pull/2666推送了对Realm的拉取请求,以便在将来的版本中解决此问题。