Adding ExternalAccessory Framework should not require the Wireless Accessory Configuration entitlement

Originator:justatheory
Number:rdar://19565319 Date Originated:2015-01-22
Status:Resolved Resolved:Resolved
Product:Xcode Product Version:6.1.1 (6A2008a)
Classification:Developer Tools Reproducible:Always
 
Summary:
As of iOS 8/Xcode 6, an app to which I've heretofore linked the ExternalAccessory framework now triggers these warnings in the Capabilities tab (see attached screenshot):

✔︎ Link ExternalAccessory.framework
❗️ Add the Wireless Accessory Configuration" entitlement to your App ID
❗️ Add the Wireless Accessory Configuration" entitlement to your entitlements file

I'm not using the ExternalAccessory.framework for wireless accessory configuration; it supports bluetooth and directly-connected devices, too. I don't think it should show this warning or automatically switch on this capability.

If I remove this capability, it removes the ExternalAccessory.framework from the list of Linked Frameworks and Libraries. If I add it again, it will not again add the warnings to the Capabilities tab. I guess it's because SystemCapabilities/com.apple.WAC/enabled is now set to 0 in the project.pbxproj file.

Steps to Reproduce:
* Create a new project
* Add the ExternalAccessory.framework to the list of Linked Frameworks and Libraries.

Expected Results:
The Wireless Accessory Configuration capability should not be turned on.

Actual Results:
The Wireless Accessory Configuration capability is turned on.

Version:
Observed in Xcode 6.1 (6A2008a) and the 6.2 beta (6C107a).

Notes:


Configuration:


Attachments:
'Screen Shot 2015-01-21 at 5.25.22 PM.png' was successfully uploaded.

Comments

David Wheeler 06-Oct-2016 01:11 PM

This issue has been verified as resolved and can be closed.

By justatheory at Oct. 6, 2016, 8:12 p.m. (reply...)

David Wheeler 06-Oct-2016 01:10 PM

Confirmed. I:

  • Downloaded Xcode 8.1b2
  • Created a new single-view iOS app
  • Added ExternalAccessory.framework to the list of frameworks to link
  • Confirmed that the Wireless Accessory Configuration was not automatically required in the Capabilities tab.
  • Confirmed that the app would run with this configuration in the simulator
  • Archived the app and successfully signed it for Ad Hoc distribution without that capability.

So it appears that this bug has been fixed. Thank you!

By justatheory at Oct. 6, 2016, 8:10 p.m. (reply...)

Apple Developer Relations 06-Oct-2016 08:05 AM

Please verify this issue with the Xcode 8.1 beta and update your bug report at https://bugreport.apple.com/ with your results.college

Xcode 8.1 beta 2 (8T46g) https://developer.apple.com/download/ Posted Date: Oct 4th, 2016

By justatheory at Oct. 6, 2016, 8:08 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!