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
我正在使用 xos 8 版本 ios 10 。如果,我在 ios 9.3 中使用项目,它的工作正常,但是当我在 ios 10 中使用的同一项目时出现错误消息无法复制资产信息..
答案 0 :(得分:48)
设置OS_ACTIVITY_MODE =禁用无法解决问题但只关闭日志
解决问题:
1-在故事板中选择TextView
2-从Xcode属性检查器集:
更正=否
拼写检查=否
3-固定
由于无法从以下位置下载拼写检查资源,因此问题似乎发生: http://mesu.apple.com/assets/com_apple_MobileAsset_TextInput_SpellChecker/com_apple_MobileAsset_TextInput_SpellChecker.xml
希望这有帮助
答案 1 :(得分:20)
答案 2 :(得分:2)
Swift 3更新
@guest回答解决了这个问题。但是,如果您以编程方式创建UITextView
。
textView.spellCheckingType = .no
textView.autocorrectionType = .no