【问题标题】:Issues with Xcode & Realm browserXcode 和 Realm 浏览器的问题
【发布时间】:2015-10-10 10:43:16
【问题描述】:

所以我一直在尝试将 Realm 浏览器与 Xcode 一起使用,以便我更容易查看和测试我的对象。但我似乎遇到了一些问题。

第一个问题是,使用 Realm 浏览器时,我无法使用下拉选项“打开公共位置”实际打开我的文件位置,因此我可以通过 iPhone 模拟器打开它。即使我确实使用其他方法打开文件,我仍然会在控制台中收到以下错误。

UserInfo = {
    Error Code=8,
    NSLocalizedDescription=Realm file is currently open in another process which cannot share access with this process. All processes sharing a single file must be the same architecture. For sharing files between the Realm Browser and an iOS simulator, this means that you must use a 64-bit simulator.
}

这很奇怪,因为我的 Macbook 是 64 位的,因为它是 2013 年中的 Macbook Air,任何人都可以帮助解决这个问题吗?因为如果我可以使用浏览器应用程序,开发会变得容易得多。

【问题讨论】:

  • 您使用的是什么版本的 Realm 和 Realm 浏览器?

标签: ios iphone xcode swift realm


【解决方案1】:

所以我想通了,并意识到您必须使用 iPhone 5s 或更高版本运行应用程序

【讨论】:

  • 即使我使用 iPhone 6s、iPhone 7 运行,我也会收到该错误。
【解决方案2】:

你是对的。不同架构的进程之间不能同时打开Realm。 iPhone 5 或更早的模拟器作为 32 位进程运行。

【讨论】:

    猜你喜欢
    • 2011-03-18
    • 2010-11-19
    • 1970-01-01
    • 2014-08-06
    • 1970-01-01
    • 2012-07-21
    • 1970-01-01
    • 2011-08-14
    • 2020-11-17
    相关资源
    最近更新 更多