External Accessory

RSS for tag

Communicate with accessories connected to a device by the Apple Lightning connector or through Bluetooth using External Accessory.

External Accessory Documentation

Posts under External Accessory tag

85 Posts
Sort by:
Post not yet marked as solved
7 Replies
2.2k Views
App is crashing while a bluetooth device is disconnected. I've seen few related threads and they say "A notification delegate was not reset to nil. A fix has been applied at version 10.3.79."Following is crash log:Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libobjc.A.dylib 0x000000018544c430 objc_msgSend + 16 1 ExternalAccessory 0x000000019c07c4dc -[EAAccessoryManager _notifyObserversThatAccessoryDisconnectedWithUserInfo:] + 104 (EAAccessoryManager.m:909) 2 ExternalAccessory 0x000000019c07eddc -[EAAccessoryManager _externalAccessoryDisconnected:] + 928 (EAAccessoryManager.m:1537) 3 CoreAccessories 0x00000001a7892ccc __54-[ACCExternalAccessoryProvider ExternalAccessoryLeft:]_block_invoke + 316 (ACCExternalAccessoryProvider.m:453) 4 libdispatch.dylib 0x0000000185b6d088 _dispatch_call_block_and_release + 24 (init.c:994) 5 libdispatch.dylib 0x0000000185b6d048 _dispatch_client_callout + 16 (object.m:502) 6 libdispatch.dylib 0x0000000185b79b74 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1016 (inline_internal.h:2500) 7 CoreFoundation 0x0000000186191eb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 (CFRunLoop.c:1815) 8 CoreFoundation 0x000000018618fa8c __CFRunLoopRun + 2012 (CFRunLoop.c:3111) 9 CoreFoundation 0x00000001860affb8 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245) 10 GraphicsServices 0x0000000187f47f84 GSEventRunModal + 100 (GSEvent.c:2245) 11 UIKit 0x000000018f6842e8 UIApplicationMain + 208 (UIApplication.m:3949) 12 MYAPP 0x0000000100ab8d58 main + 172 (main.m:16) 13 libdyld.dylib 0x0000000185bd256c start + 4
Posted
by
Post not yet marked as solved
6 Replies
14k Views
Running on: iMac 27" 5k late 2015 - 64gb ram and a 16tb Pegasus Promise2 R4 raid5 via Thunderbolt. After trying Big Sur - found issues with Luminar Photo app, decided to return to Catalina on the iMac. Reformatted my internal drive and reinstalled Catalina 15.5 and reformatted the raid. But I keep getting the following message upon restarting: "Incompatible Disk. This disk uses features that are not supported on this version of MacOS" and my Pegasus2 R4 portion no longer appears on the desktop or in Disk Utility... Looked into this and discovered that it may be an issue of Mac OS Extended vs APFS The iMac was formatted to APFS prior to installing OS11 so I reformatted to APFS when returning to Catalina. The issues persisted so I re-reformatted from a bootable USB - this time to Mac OS Extended (journaled) and the issues seems to be resolved. The iMac runs slower on MacOS Ext, but it is running and the Raid is recognised... I'd love to go back to APFS but am afraid it will "break" things. Any thought on this would be welcome. Thanks Nick
Posted
by
Post marked as solved
4 Replies
2.3k Views
I made up my own iAP2-BT-device, which is perfectly running by use the BT-list and the External Accessory Framework. Now, following the instruction for MFI developers, I would like to show the showBluetoothAccessoryPicker using the following swift code: EAAccessoryManager.shared().showBluetoothAccessoryPicker(withNameFilter: nil) { (error) in             if let error = error {                 switch error {                 case EABluetoothAccessoryPickerError.alreadyConnected:                     break                 default:                     break                 }             }         } Wherever I put this snipple in my app code the picker is never shown (device unpaired by "forget device") and I always get the console message: A constraint factory method was passed a nil layout anchor.  This is not allowed, and may cause confusing exceptions. Break on BOOL _NSLayoutConstraintToNilAnchor(void) to debug.  This will be logged only once.  This may break in the future. I have no idea what to do to get this picker shown ... Thanks for your help
Posted
by
Post not yet marked as solved
23 Replies
28k Views
Prior to downloading and installing Mac OS Big Sur, I was able to connect my 2020 Macbook pro to any HDMI monitor/tv. Specifically I would mostly use a Dell se2717 monitor. It would connect within a few seconds and there was never any issues. Once downloaded and installed Big Sur to my computer it no longer recognized any HDMI monitor/tv. I have tried different adapters to connect the HDMI cable to my USB-C ports; different USB-C ports with all the adapters; and tried every trouble shoot I could find from Apple, Dell, and various websites. Is there anything I can do to fix this issue?
Posted
by
Post not yet marked as solved
5 Replies
4.5k Views
The airpods pro 2 connect to the ipod nano 7th generation but there is no sound. I can start and stop playback by clicking the stems so the airpods are talking to the nano. I don’t expect all the features I would get on ios 16 but the ipod is a bluetooth device so the new airpods should be supported. they sound gteat on my iphone and ipad so they are not defective. airpods pro 1 work fine with the nano. hoping for a swift software fix.
Posted
by
Post not yet marked as solved
5 Replies
4.0k Views
If you use your iPhone to stream to your tv through a lightning adapter Do NOT upgrade to iOS 16. I live in a rural area and don’t have Wi-Fi so we stream tv on my iPhone with a lightning adapter. This has worked great for many years and many iPhones. Ever since I updated to iOS 16 there is not one streaming app that will work through the adapter. I have tried multiple hdmi cords, lightning adapters and tvs and the result is the same. No audio at all and either no video or a video that lags every few seconds. Apple needs to fix their mistake or resign an old iOS so we can revert back.
Posted
by
Post not yet marked as solved
1 Replies
823 Views
I have to pair the classic Bluetooth device with my iOS application. For that, I have implemented showBluetoothAccessoryPicker with the External Accessory framework. EAAccessoryManager.shared().showBluetoothAccessoryPicker(withNameFilter: nil)), this is the code I have used for that. Added "Supported external accessory protocols" in .plist and enabled Wireless Accessory Configuration from capabilities. The actual issue is the picker displaying the device to pair with a 1-minute delay. What is the reason behind this reason and how can we resolve that?
Posted
by
Post not yet marked as solved
2 Replies
1.3k Views
I have found that the adaptor to enable the use of Nreal glasses is not working. This is very frustrating as I have been looking forward to using the glasses with my iPhone 14 Pro Max. Having searched on various forums I find that this is a problem with the software and can't be resolved until a fix has been released. This is very disappointing at this time of the year when releases are so far apart. If anyone knows of a workaround please give me a pointer in the right direction.
Posted
by
Post not yet marked as solved
3 Replies
1.7k Views
Hi, Hope you are all fine ! I had a problem on several disk due to bad unmounting caused by Caldigit TS4. The TS4 has/had problem managing hard drives and sleep of the computer… The problem appeared on internal drives pugged into a OWC Dock. The dock is TB2 with Apple TB2 to TB3 pugged into the Caldigit TS4. One of the drives is a 4TB Seagate Exos Enterprise that is brand new and I'm almost sure I formatted it in APFS when using it for the first time. The other/s are 2TB or 3TB but almost sure at that time I was using HFS. The drives are seen But no way to SOS… This particular 4 TB drive seems to respond mechanically well, like spinning when tryning to acces, going to sleep…And is brand new… After reading a few (many actually ;) ) pages on Apple forums I've found, I've tried the diskutil way on terminal… but having some problem with syntax, sometimes it worked sometimes I think I'm not writing correctly so it does nothing… If I understand well this error com.apple.DiskManagement.disenter error -119930868 Is a directory problem. A long time ago I used Disk Warrior a lot in the G4/G5 age ;) But it seems it doesn't handle APFS… I've run a scan with Stellar Recovery and this software seems to see all my files… The Hard drive seemed to act normally during all the process… But it seems it doesn't just rebuild the directory and will recover all the files and put them like video in video folder…pictures in picture folder… so I'll have my files but a great mess… I've also tried rhe FSCK command…but didn't undertood enough to get something good… So my question are : As the data seems to be there and the drive still working fine, is there a way to make Mac Os or a software rebuild the directory like Disk Warrior used to do. And not just back uping the files a la Stellar recovery. Could someone make a comprehensive diskutil / fsck tutorial for noobs ;) After the fix , if successful … should I throw this drive away or the prob is only a Mac OS bug… Can the adapted TB2 to TB3 add source of problem ? Can the adapted TB2 to TB3 ON Caldigit TB port add source of problem ? AFPS is still recommanded for external HD Could someone explain those DiskManagement.disenter error Best .V
Posted
by
Post not yet marked as solved
1 Replies
1.2k Views
I have a BLE peripheral I have connected to before with an iPhone running iOS 16 (via my app). The peripheral has a utility to change its name. After the name change my app still displays the old name. I've run into this issue before, a year or so ago, under an older version of iOS. Performing a reboot of the phone would clear the cached name and allow the new name to appear. This remedy no longer works in iOS 16. I have verified with another iOS device and an Android app that the new name is being advertised. I monitor for a name change with peripheralDidUpdateName but that function never gets called. How do I clear the cache in iOS 16? I do not need to do this programmatically and I would rather not reset the iPhone, which WILL work.
Posted
by
Post not yet marked as solved
2 Replies
772 Views
Does anyone know why does ESP32 does not show up on the Bluetooth page on iOS? I tested with an android, and it seems to work by pairing but not Apple.
Posted
by
Post not yet marked as solved
32 Replies
6.2k Views
The Ventura 13.4 update introduced a display signal lost bug which when the monitor is put to sleep after power saving setting is reached or if manually using the shortcut keys to put sleep the display, it wakes up the monitor briefly then tries to go back to sleep for 15 seconds and then wakes up with the “no signal” warning in an infinite loop. It's starting to be reported by others, where this did not exist until after the update. Reddit: Ventura 13.4 Display Sleep Issue https://www.reddit.com/r/MacOS/comments/13lyu2y/macos_ventura_134_display_sleep_issue/ I tried everything from turning off power saving settings, turned off screen saver, WoL, uninstalled color calibration software, reset monitor to factory settings, booted into safe mood, nothing had an effect. Should I submit a bug report?
Posted
by
Post not yet marked as solved
1 Replies
582 Views
Hi. I'm looking to implement "Access Control Cards" in the apple wallet , that when attached to a supported reader, will open the door. I know that VAS (Value added services) protocol is not intended for that, and there is a new protocol called "Apple Access". Anyone knows where I can find the full documentation about this protocol and what are the Apple requirements to distribute and manage those passes. Anyone can refer me to company that has readers (hopefully with 26bit wiegand - so I can connect it to my controller) that support this Apple Access protocol?
Posted
by
Post not yet marked as solved
1 Replies
479 Views
I’m trying to find some documentation on how to properly support a Bluetooth keyboard in an iOS app. I have a custom UIView which consists of some subviews but the Bluetooth keyboard is unable to target (by using the arrow keys on the keyboard) some of the subviews and I want to know what I’m doing wrong. I’ve tried to find official documentation from Apple to no avail.
Posted
by
Post not yet marked as solved
0 Replies
957 Views
I'm writing an app in which I have a sound being played whenever a particular action occurs. During testing I noticed that this sounds will always be heard if my phone is connected to a Bluetooth speaker even if the mute switch is active. Is there a way to prevent this? I feel like my app should respect the mute switch in this case. If I am not connected to the Bluetooth speaker everything works as expected.
Posted
by
Post marked as solved
1 Replies
417 Views
My app serves as a way to configure a machine (for example, a specific heart monitor or printer model). Once I send my app for review, Apple will want to test the app as part of the review process. But without the machine, testing is not possible. (That's literally the first step when you start the app.) So I want to know the process. Will I have to ship Apple that machine? I'm asking you this because I have to order one and that can take time.
Posted
by
Post not yet marked as solved
0 Replies
437 Views
I want to access files that are inside a device with MFi authentication. After researching on the Internet, I found that it is possible to access it by providing the UI Supported UIExternalAccessoryProtocols key from Apple. Please let me check a few things Please tell me how to provide the key After getting the key, do I need any API to access the device with MFi authentication?
Posted
by
Post not yet marked as solved
0 Replies
495 Views
Hello The following is the 42.2 electrical content of the attachment design guide: Enumerate as a USB device when connected to a USB host, such as a Mac, and: ● Not draw more than 100 mA of current until they have been successfully enumerated. ● Request no more than 500 mA of charging current in their USB device descriptor. It seems that this specification is for accessories with power role as sink mode. The question is: How to handle source mode when connecting to iPad Pro? Can it provide 5V 1.5A energy to iPad Pro and communicate through USB 2.0? Thank you.
Posted
by
Post not yet marked as solved
0 Replies
283 Views
macOS -> System Configuration -> Bluetooth -> the android phone is printed to bluetooth scan list. macOS -> App Store -> Bluetooth App -> the android phone does not print to bluetooth scan list. I checked the macOS App with the API **** : scanForPeripherals(withServices: nill, options: nil)
Posted
by