Secret Console Error with IOHIDFamily

For one of my projects, this error message in the Xcode console occurs every time I run the build in iOS Simulator. This has been happening for over a year now, and I thought it would eventually disappear with the Xcode update. I dereferenced and redid all Frameworks, and I donโ€™t access IOHIDFamily directly, whatever that is! This does not seem to affect the execution of my program, but I would really like to understand why it unloads all this.

2015-04-21 18:20:13.997 Vector-Z_beta[12370:1453236] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find: /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator 2015-04-21 18:20:13.997 Vector-Z_beta[12370:1453236] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78da9a80 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded) 2015-04-21 18:20:13.997 Vector-Z_beta[12370:1453236] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find: /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator 2015-04-21 18:20:13.997 Vector-Z_beta[12370:1453236] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78da9a80 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded) 2015-04-21 18:20:13.998 Vector-Z_beta[12370:1453236] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find: /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator 2015-04-21 18:20:13.998 Vector-Z_beta[12370:1453236] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78da9a80 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded) 2015-04-21 18:20:13.998 Vector-Z_beta[12370:1453236] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find: /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator 2015-04-21 18:20:13.998 Vector-Z_beta[12370:1453236] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78da9a80 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded) 
+55
ios objective-c xcode
Apr 22 '15 at 0:01
source share
6 answers

When deployed on a real iOS device that you create for the ARM architecture, when deployed on an iOS simulator, you build the x386 architecture.

In the latter case, your application links to the mach-o files present on your Mac (unless someone suggested you only reference the SDK assemblies, not your own Macs, but this will really slow down your build and will no longer be an available option in latest versions of Xcode that I consider).

Apparently, one of these mach-o files is the IOHIDFamily extension, which seems to be associated if GameKit.framework is linked as a library, not specifically created for the iOS simulator. Hence the message. As far as I understand, this is a confirmed Apple error and Apple will fix it at some point.

This is only an iOS simulator issue and can be safely ignored.

+73
Nov 28 '15 at 10:26
source share

Vinnie posted this solution

try setting IOS build options: linker options for โ€œLink only SDK assembliesโ€, fixed it for me

here: http://forums.xamarin.com/discussion/24656/error-running-app-after-upgrading-xamarin

+5
Apr 22 '15 at 2:51 on
source share

Disabling Game Center features removes these messages for me. In your project, select the desired goal and go to "Features".

+4
Sep 22 '15 at 8:17
source share

In the new Xcode 7.2, these messages are no longer displayed.

But I have new posts related to SpriteKit:
CUICatalog: Invalid Request: requesting subtype without specifying idiom

CUICatalog: Invalid Request: request for a subtype without specifying an idiom

0
Dec 10 '15 at 9:27
source share

When I ran into this problem in iOS code, this was because two of my classes contained import Foundation. The new file by default worked with the OS X / Source / Swift file, and I did not notice.

Removing these imported goods fixed the problem.

-2
Sep 15 '15 at 19:43
source share

I solved this problem by going to the GENERAL tab and unchecking the Full screen required box to disable iPad multitasking. But you can get validation errors if multitasking isn't handled correctly!

Full screen required

-2
Sep 20 '15 at 8:06
source share



All Articles