swift - 缺少 RealmSwift.framework

标签 swift xcode realm carthage

我使用 Carthage 0.32.0 安装 Realm 并按照说明 here , Realm.frameworkRealmSwift.framework应该在我的/Carthage/Build 目录中创建。我看到一个 Realm.framework文件正在/Carthage/Build/iOS 创建,但没有 RealmSwift.framework在迦太基目录中。我有github "realm/realm-cocoa" "v3.13.1"在我的购物车文件中。我只能找到 3-4 年前关于这个问题的帖子,而且它们似乎都通过更新 Carthage 或 Realm 版本来解决。有人遇到过这种情况吗?如果是这样,您是如何解决的?

编辑:我还应该注意我有以下内容:

  • Mojave 10.14.3
  • Xcode 10.1
  • Xcode 命令行工具 2354
  • swift 4.2

最佳答案

这个post这是我遇到的问题,解决方案是使用新发布的 Realm Cocoa 版本(3.14.0)。

关于swift - 缺少 RealmSwift.framework,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55327375/

相关文章:

java - 从 Realm 中获取通用类型的 Realm 对象

ios - iOS 中来自 JSON 的响应不完整

android - v1.1.0 到 v2.1.0 => armeabi ABI 下降

ios - 从 UITabbarController 中选择选项卡时如何更新 VC 中的值?

ios - 注册自定义 TableCell xib 给我一个错误

swift - 如何将包集合添加到我的 Xcode 项目中?

Xcode Source Editor 选项未显示在 Extensions 中

swift - RealmSwift + ObjectMapper 管理字符串数组(标签)

ios - 如何阻止 mapView 中 showsUserLocation 的交互?

ios - 达到 URLCache 限制时会发生什么