Missing "showallaccessories entitlement" from iOS on iPhone6

I'm using iPhone 6 with iOS 10.1.1. The iPhone is connected to my Mac mini with macOS Sierra 10.12.1.

I started with an old NIB-based Apple project (EADemo). It works fine with my iAP2 accessory over Bluetooth Classic connection.

Then I have copied and renamed the project folder and then I've completed the porting to a Storyboard-based project.

The EA Session crashes and I get the console error


2016-11-29 17:04:00.804421 K5Demo[430:69578] Couldn't find the "com.apple.private.externalaccessory.showallaccessories" entitlement

2016-11-29 17:04:04.736780 K5Demo[430:69578] ERROR - opening session failed as protocol (null) is not declared in Info.plist


In my case the Info.plist file is exactly the same, with the "Supported external accessory protocols" string exactly matching the same one exposed by the accessory. The name of the protocol is "com.cosmed.cuml".


I've installed the iAP iOS Diagnostics app on the iPhone.

Then I've reproduced the bug and collected the log file (the error occurs at time 19:15)

Furthermore I've captured the log via Xcode 8 (see attached file Device_Console_Logs).

I hope the attached log will help you in fixing the problem.


Sincerely yours,

Gabriele

iPhone 6, iOS 10.1.1, EA Framework

Posted on Dec 6, 2016 10:53 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Missing "showallaccessories entitlement" from iOS on iPhone6

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.