Error in iOS 10: it is not possible to copy asset information from https://mesu.apple.com/assets/ for an asset type

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 

I am using xcode 8 version with ios 10 . If I use the project in ios 9.3 , it works fine, but when the same project that I used in the ios 10 message appears, Unable to copy asset information appears . .

+54
ios objective-c ios10 xcode8
Oct 05 '16 at 8:22
source share
3 answers

In the end, I got the solution below. Follow the steps.

  • Set the environment variable in the Edit Scheme . enter image description here
  • Reboot xcode.
  • Clean and create xcode.

& why work fine on my side.

+21
Oct 21 '16 at 5:51 on
source

Setting OS_ACTIVITY_MODE = disable does not resolve the problem, but only disables logs

To fix the problem:

1- In the storyboard, select TextView

2- From the set of Xcode attribute inspectors:

Correction = No

Spell Check = No

3- Fixed

The problem arises from the inability to load assets for spell checking: http://mesu.apple.com/assets/com_apple_MobileAsset_TextInput_SpellChecker/com_apple_MobileAsset_TextInput_SpellChecker.xml

Hope this helps

+47
Mar 12 '17 at 19:57
source

Swift 3 Update

@Guest's answer fixes the problem. But if you create a UITextView programmatically.

 textView.spellCheckingType = .no textView.autocorrectionType = .no 
+2
Jun 27 '17 at 17:13
source



All Articles