60
2016-10-05 13:36:21.383340 MyApp[1867:72704] 0x60000015e350 Copy matching assets reply: XPC_TYPE_DICTIONARY  <dictionary: 0x60000015e350> { count = 1, transaction: 0, voucher = 0x0, contents =
    "Result" => <int64: 0x600000226fe0>: 29
}
2016-10-05 13:36:21.385076 MyApp[1867:72704] 0x608000556420 Daemon configuration query reply: XPC_TYPE_DICTIONARY  <dictionary: 0x608000556420> { count = 2, transaction: 0, voucher = 0x0, contents =
    "Dictionary" => <dictionary: 0x6080005566e0> { count = 1, transaction: 0, voucher = 0x0, contents =
        "ServerURL" => <dictionary: 0x608000556790> { count = 3, transaction: 0, voucher = 0x0, contents =
            "com.apple.CFURL.magic" => <uuid: 0x60800024f720> C1234DCC-2276-5214-B6C1-FD9F5191212
            "com.apple.CFURL.string" => <string: 0x608000241ce0> { length = 30, contents = "https://mesu.apple.com/assets/" }
            "com.apple.CFURL.base" => <null: 0x112e42f20>: null-object
        }
    }
    "Result" => <int64: 0x6080004241e0>: 0
}
2016-10-05 13:36:21.385693 MyApp[1867:72704] [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker

我正在使用带有ios 10的xcode 8版本。如果,我在ios 9.3中使用项目,它工作正常,但是当我在ios 10中使用的同一个项目出现错误消息时无法复制资产信息......

4

3 回答 3

51

设置 OS_ACTIVITY_MODE = disable 不能解决问题,只能关闭日志

要解决此问题:

1- 在情节提要中选择 TextView

2-来自 Xcode 属性检查器集:

更正 = 否

拼写检查 = 否

3-固定

由于无法从以下位置下载用于拼写检查的资产,问题似乎发生了:http: //mesu.apple.com/assets/com_apple_MobileAsset_TextInput_SpellChecker/com_apple_MobileAsset_TextInput_SpellChecker.xml

希望这可以帮助

于 2017-03-12T19:57:53.407 回答
21

我最终得到了以下解决方案。按照步骤。

  • 在 中设置环境变量Edit Scheme在此处输入图像描述
  • 重新启动 xcode。
  • 清理和构建 xcode。

&而不是在我身边完美地工作。

于 2016-10-21T05:51:36.090 回答
2

斯威夫特 3 更新

@guest 回答解决了这个问题。但是,如果您以UITextView编程方式创建。

textView.spellCheckingType = .no
textView.autocorrectionType = .no
于 2017-06-27T17:13:06.290 回答