I added Wireless Accessory Configuration and Access Wi-Fi Information on the Signing and Capabilities and it worked for me and uploaded to Test Flight.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: