Here is what I got so far:
The showBluetoothAccessoryPickerWithNameFilter dosnt work anymore with XCode 13 and iOS 15 Beta 5. Therefore I try to build it with Apples EADeamo (https://developer.apple.com/library/archive/samplecode/EADemo/Introduction/Intro.html) with XCode 12.5.1 to check if it is my app or other dependences.
In Apples EADemo I add in file "RootViewController.m" in the "viewDidLoad" function:
NSPredicate *predicate = nil;
[[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:predicate completion:
^(NSError *error) {
//dismiss
NSLog(@"Error");
if (error.code == 1)
{
NSLog(@"Erro1");
}
else if (error.code == 3)
{
NSLog(@"Error3");
}
}];
The Result:
With XCode 12.5.1 and iOS 14.7.1 (iPhone 7) the picker view is displayed.
With XCode 13 Beta 3 and iOS 15 Beta 5 (iPod 7th Gen) the picker view is not displayed.
I also get the error message:
[lifecycle] [u B1CE210D-7C6E-4D43-84D1-CF514B77D6D3:m (null)] [com.apple.CoreBluetoothUI.BTDevicePickerUI(1.0)] Connection to plugin interrupted while in use.
Thanks for your help!