【问题标题】:UITextView errors in console on iOS 10 only – device works fine仅 iOS 10 控制台中的 UITextView 错误 – 设备工作正常
【发布时间】:2016-10-05 18:28:17
【问题描述】:

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

【问题讨论】:

标签: iphone ios10


【解决方案1】:

适用于 Swift3 iOS 10.*

在 Xcode 菜单上转到 Product>Scheme>Edit Scheme...

然后选择 Arguments 并添加 Environment Variables 选项 -

OS_ACTIVITY_MODE = 禁用

【讨论】:

  • 这是一个正确的答案。 OS_ACTIVITY_MODE = disable 嗯,也许在未来的 iOS marge 与 macOS 或来自 iOS 的应用程序将在 macOS 上运行。
猜你喜欢
  • 1970-01-01
  • 2016-02-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-04-11
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多