Hello,
I'm trying to build the sample app from Building peer-to-peer apps that demonstrates Wi-Fi Aware. Upon downloading the example source code, opening it in Xcode 26.0 beta, and building the app, the compiler fails with:
DeviceDiscoveryPairingView.swift:8:8 No such module 'DeviceDiscoveryUI'
Is this a known issue? I know that DeviceDiscoveryUI was previously only a tvOS capability.
Thanks
Are you building for the simulator? If so, try building for a real device.
Wi-Fi Aware isn’t available in the simulator, so you have to test this stuff on a real device. OTOH, the sample should build for the simulator, even if it’s not going to work, so I encourage you to file a bug about that.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"