XCode 8.2 warning: SpellChecker asset (iOS Apprentice 2: Checklists v5.0)

I’m getting weird warning spam about a failure to load a SpellChecker asset in the XCode debugger window when I run the “Checklists” app I’ve created during the iOS Apprentice 2 exercises. I suspect this is a build setting or something to do with XCode, but I can’t find a solution online. Any suggestions?

2016-12-16 16:48:30.284049 Checklists[21751:4503729] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/matt/Library/Developer/CoreSimulator/Devices/3C9991B5-55E8-4C36-81C1-0DD60683B222/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2016-12-16 16:48:30.284395 Checklists[21751:4503729] [MC] Reading from private effective user settings.
2016-12-16 16:48:31.464912 Checklists[21751:4503729] [Common] _BSMachError: port 7803; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2016-12-16 16:48:31.465353 Checklists[21751:4503729] [Common] _BSMachError: port 7803; (os/kern) invalid name (0xf) "Unable to deallocate send right"
2016-12-16 16:48:37.914901 Checklists[21751:4503935] 0x60800015cbf0 Copy matching assets reply: XPC_TYPE_DICTIONARY  <dictionary: 0x60800015cbf0> { count = 1, transaction: 0, voucher = 0x0, contents =
	"Result" => <int64: 0x61000002fae0>: 29
}
2016-12-16 16:48:37.915694 Checklists[21751:4503935] 0x60800015d010 Daemon configuration query reply: XPC_TYPE_DICTIONARY  <dictionary: 0x60800015d010> { count = 2, transaction: 0, voucher = 0x0, contents =
	"Dictionary" => <dictionary: 0x60800015d220> { count = 1, transaction: 0, voucher = 0x0, contents =
		"ServerURL" => <dictionary: 0x60800015c9e0> { count = 3, transaction: 0, voucher = 0x0, contents =
			"com.apple.CFURL.magic" => <uuid: 0x608000048250> C3853DCC-9776-4114-B6C1-FD9F51944A6D
			"com.apple.CFURL.string" => <string: 0x6080000476b0> { length = 30, contents = "https://mesu.apple.com/assets/" }
			"com.apple.CFURL.base" => <null: 0x114333f20>: null-object
		}
	}
	"Result" => <int64: 0x60800002dea0>: 0
}
2016-12-16 16:48:37.916014 Checklists[21751:4503935] [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker

If it’s any consolation, I got that too. I googled MobileAssetError:29, and saw some posts indicating it happens when you use the Simulator, which I think doesn’t have access to WiFi. I think it is triggered by the pop-up keyboard for text entries in the Simulator. It also happens in the MyLocations tutorial, by the way. I don’t think it would happen on an iPhone.

Thanks. I’ll look to see if there’s a way to grant the simulator network access.

Hmm… the News app works on the simulator, so apparently the simulated device has network access. I’ve no idea why the call to fetch the SpellChecker is throwing a warning.

There is a lot of crap that Xcode or the Simulator prints out. Most of it you can simply ignore.

1 Like

You can make it be quiet by adding an environment variable to the debug scheme: OS_ACTIVITY_MODE and its value should be disable. Be careful doing this, however, as it will also hide some errors that you may want to see.