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
我使用的是xcode 8版本和ios 10。如果我在ios 9.3中使用项目,它工作正常,但当我在ios 10中使用同一项目时,出现错误消息Unable to copy asset information..。
发布于 2016-10-21 13:51:36
我最终得到了下面的解决方案。按照以下步骤操作。
Edit Scheme
中设置环境变量。
也不愿在我这一边完美地工作。
发布于 2017-03-13 03:57:53
设置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-06-28 01:13:06
Swift 3更新
@guest answer解决了这个问题。但如果您以编程方式创建UITextView
,则大小写。
textView.spellCheckingType = .no
textView.autocorrectionType = .no
https://stackoverflow.com/questions/39868842
复制相似问题