我正在开发iOS应用和Watchkit应用。我阅读了一些有关最佳实践的内容,并决定创建一个自定义框架,正如NathashaTheRobot在此建议的那样:https://realm.io/news/architecting-app-apple-watch-natashatherobot/所以我尝试在我的框架中使用Realm。我关注了installationinstructionsforCarthage:Addgithub"realm/realm-cocoa"toyourCartfile.Runcarthageupdate.DragRealmSwift.frameworkandRealm