UITextView仅在iOS 10上的控制台中引发错误,但它在iPhone上工作正常,只有在我更新到iOS 10时它才会出现.在iOS 9.3中它很好.
Copy matching assets reply: XPC_TYPE_DICTIONARY <dictionary: 0x174147bc0> { count = 2, transer = 0x0, contents =
"Assets" => <data: 0x17466e6c0>: { length = 2114 bytes, contents = 0x62706c6973743030d4010203040506e9ea58247665727369... }
"Result" => <int64: 0x174430cc0>: 0
}
Copy assets attributes reply: XPC_TYPE_DICTIONARY <dictionary: 0x170144ba0> { count = 1, transaction: 0, voucher = 0x0, contents =
"Result" => <int64: 0x170435e40>: 1
}
[MobileAssetError:1] Unable to copy asset attributes
2016-10-05 14:24:20.431267 EndPointScanning[5761:1474337] 0x170144830 Copy assets attributes reply: XPC_TYPE_DICTIONARY <dictionary: 0x170144830> { count = 1, transaction: 0, voucher = 0x0, contents =
"Result" => <int64: 0x170436860>: 1
}
[MobileAssetError:1] Unable to copy asset attributes
Run Code Online (Sandbox Code Playgroud)
适用于Swift3 iOS 10.*
在Xcode菜单上,转到产品>方案>编辑方案...
然后选择Arguments并添加Environment Variables选项 -
OS_ACTIVITY_MODE =禁用
| 归档时间: |
|
| 查看次数: |
2226 次 |
| 最近记录: |