xcode8打印系统的输出日志错误
2016-10-0513:36:21.383340MyApp[1867:72704]0x60000015e350Copymatching assets reply:XPC_TYPE_DICTIONARY{count=1,transaction:0,voucher=0x0,contents="Result"=>:29}2016-10-0513:36:21.385076MyApp[1867:72704]0x608000556420Daemonconfiguration query reply:XPC_TYPE_DICTIONARY{count=2,transaction:0,voucher=0x0,contents="Dictionary"=>{count=1,transaction:0,voucher=0x0,contents="ServerURL"=>{count=3,transaction:0,voucher=0x0,contents="com.apple.CFURL.magic"=>C1234DCC-2276-5214-B6C1-FD9F5191212"com.apple.CFURL.string"=>{length=30,contents="https://mesu.apple.com/assets/"}"com.apple.CFURL.base"=>:null-object}}"Result"=>:0}2016-10-0513:36:21.385693MyApp[1867:72704][MobileAssetError:29]Unableto copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker
解决办法
Under Product > Scheme > Edit Scheme... > Run (Debug), set the
OS_ACTIVITY_MODE environment variable to ${DEBUG_ACTIVITY_MODE} so it
looks like this:
Setting named DEBUG_ACTIVITY_MODE. Expand this setting and Click the +
next to Debug to add a platform-specific value.
Select the dropdown and change it to "Any iOS Simulator SDK". Then set
its value to "disable" so it looks like this: