gpt4 book ai didi

ios - IOS8中出现错误“沙箱拒绝iokit-get-properties”

转载 作者:行者123 更新时间:2023-12-01 16:37:17 25 4
gpt4 key购买 nike

在正在编程的应用程序中调试iPad时,我有一个奇怪的行为,而且我敢肯定,只有在将所有生产版本更新到iOS8之后,这种情况才会出现。

我正在使用Multipeer Connectivity,并尝试调试随机断开连接,最后看到设备的控制台很长。我注意到在断开连接之前或之后总会有一堆(按一串我的意思是从两打到几百行)。

另外,我的应用程序使用后台服务,我不知道它是否相关,但这需要我编辑应用程序的配置(在Xcode中)以启用它以及更新我的证书。

那么,为什么出现这些“沙盒拒绝iokit-get-properties”消息?

谢谢。

长信息的摘录:
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMACAddress
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMACAddress
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties HiddenInterface
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceState
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IONetworkData
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceNamePrefix
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOBuiltin
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOLocation
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IORequiredPacketFilters
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOActivePacketFilters
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceType
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMaxTransferUnit
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceFlags
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceExtraFlags
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMediaAddressLength
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMediaHeaderLength
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOInterfaceUnit
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOPrimaryInterface
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties BSD Name
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOClass
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOPropertyMatch
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOProviderClass
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties CFBundleIdentifier
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOProbeScore
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMatchCategory
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOActiveMedium
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOSelectedMedium
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOLinkStatus
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOLinkSpeed
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMediumDictionary
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOFeatures
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMaxPacketSize
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMinPacketSize
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOPacketFilters
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOMACAddress
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOGeneralInterest
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties HostAttached
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties USBDeviceFunction
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties StartedTimestamp
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IsActive
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOCFPlugInTypes
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties IOUserClientClass
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties FinalizedTimestamp
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties FinalizedDurationMS
[date] [iPad name] kernel[0] <Notice>: Sandbox: [My App Name]([Process number]) deny iokit-get-properties NetworkConfigurationOverrides

最佳答案

除非您尝试从应用程序访问受限的IOKit属性,否则这不会发生。 iOS上的沙箱并未完全阻止IOKit和IO注册表,但看起来Apple已选择了应拒绝的特定节点和值。您在这里看到的是被拒绝的值,但是其他值可能正在通过。

如果您不直接使用IOKit做任何事情,那么实际上这可能是进行这些调用的Multipeer Connectivity框架,在这种情况下,此问题可能现在已经解决。

关于ios - IOS8中出现错误“沙箱拒绝iokit-get-properties”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27016258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com