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

89 Posts
Sort by:
Post not yet marked as solved
32 Replies
6.0k 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 CEOpx.
Last updated
.
Post not yet marked as solved
5 Replies
648 Views
Hi, I have an iOS app that interacts with a USB accessory. This works fine when running on an iPhone or iPad. However, when I compile the app in Xcode to run on my M1 Mac, the app won't see any USB devices. The target I use is "My Mac (designed for iPad)" which was the path of least resistance when compared to trying Catalyst. Is it possible to give my app access to USB accessories when running on my Mac? If so, what settings do I need to change? I've tried setting the "com.apple.security.device.usb" entitlement to true to no avail. Is the issue that the app is running in some sort of sandbox?
Posted
by randomx92.
Last updated
.
Post not yet marked as solved
0 Replies
493 Views
Will UVC native support come for the Iphone as well? So, using external cameras with the ipad is greatly beneficial, but for the iphone, it can make it a production powerhouse! So, have there been discussions around bringing UVC support for the Iphone as well? and if so, what were your conclusions?
Posted
by ruizvilla.
Last updated
.
Post not yet marked as solved
1 Replies
428 Views
Hi Team, For our project requirement, we are developing iOS application inorder to retrieve Serial No. of USB flash drive programatically. Need your help in obtaining clarification on below query Query: i) We are accessing flash drive using "UIDocumentPickerViewController". Is there any class/method which can help us to get serial number of USB flash drive connected with iPhone13(Using lightening OTG adaptor)?
Posted Last updated
.
Post not yet marked as solved
1 Replies
796 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 arunsrt.
Last updated
.
Post not yet marked as solved
1 Replies
307 Views
I am using a 2021 MacBook Pro 16" with an Apple M1 Max chip and 64 GB of RAM, running macOS Ventura 13.6. I have been using an external drive, the Seagate BarraCuda Compute 2TB Hard Drive. Last week, I used it about five times to save some photos and work on Excel files. However, when I tried to open it the following day, it prompted me for a password, but it failed to mount. The partition type is Apple_HFS, and it is encrypted because I used it with Time Machine a few years ago. I can hear the noise it typically makes when I was working on it, but it doesn't mount. So, I attempted to view it in Disk Utility, but to no avail. I can see the drive, but the partition I use appears gray, and the Mac attempts to mount it. When I try to click on it in Disk Utility, the application crashes, and I have to force quit it. I also tried purchasing a new external hard drive reader to use with my hard drive, but I encountered the same issue. I also tried to work with the Terminal, but it responds very slowly. For example, the 'diskutil list' command took approximately 5 minutes to generate a response, and when I attempted to eject it, it didn't work and remained stuck loading. I have the last six years of my life stored on this drive, so it would be incredible to recover the data. Do you have any suggestions?
Posted
by Mirue.
Last updated
.
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 Last updated
.
Post not yet marked as solved
0 Replies
528 Views
Hi there, We're developing a product which has a BLE module that advertises itself as a BLE MIDI device. The goal for our iOS app is to have the phone auto-connect to the device, which it already bonded with. Exactly like headphones; Bond one time, and everytime the headphones turn on, the phone automaticly pairs/connects to the headphones. At the moment, a new connection is required every time the the device turns on and advertises. I've read on the apple BLE documentation page, that from iOS 16 or later "the system automatically reconnects Bluetooth Low Energy (BLE) MIDI peripherals when powered on, if the device supports pairing. Previously, it was necessary to use Audio MIDI Setup to establish BLE MIDI connections." ( https://developer.apple.com/documentation/coremidi/midi_bluetooth/ ) However, neither our iPhones that run iOS 16+ or macOS 13+ devices re-connect to the BLE MIDI device. How can I achieve this? As per official BLE documentation, pairing is initiated by the central device (smartphone etc.) and the peripheral (BLE MIDI device) should simply store the MAC address + security information of the central device that it is currently bonded with.
Posted Last updated
.
Post not yet marked as solved
1 Replies
272 Views
IVANKI USC-C DisplayPort has stopped working for me after updating to Ventura Version 13.6 (22G120).
Posted Last updated
.
Post not yet marked as solved
2 Replies
734 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 ps75.
Last updated
.
Post not yet marked as solved
4 Replies
980 Views
Body: Hello, I am facing a challenging issue with my SwiftUI iOS application, which is designed to work on an iPad and connect to an external display. The app, called "EasyJoin," is intended to provide a single-touch interface for joining conference meetings. It pulls events from a calendar and provides a "Join" button to connect to the meeting. The Goal: Mirror the app on an external display in its native aspect ratio. Also mirror any other client applications launched from EasyJoin (such as Google Meet, Teams, WebEx, Zoom) to the external display in its native aspect ratio. The Issue: While I have been successful in displaying the app on the external display, the iPad screen goes black as soon as the external display is connected. I need both the iPad and the external display to show the app simultaneously, each in their native aspect ratios. What I've Tried: Created separate UIWindow objects for the internal and external displays. Used NotificationCenter to listen for UIScreen.didConnectNotification and UIScreen.didDisconnectNotification. Tried managing windows through both AppDelegate and SceneDelegate. Explicitly set windowLevel for both internal and external windows. Despite these efforts, the issue persists. The external display works as expected, but the iPad screen remains black. Here is a snippet of my SceneDelegate.swift: // ... (Code for setting up UIWindow and listening for screen connect/disconnect) @objc func screenDidConnect(notification: Notification) { // ... (Code for setting up external UIWindow) externalWindow?.isHidden = false } @objc func screenDidDisconnect(notification: Notification) { externalWindow?.isHidden = true externalWindow = nil } I would appreciate any guidance or suggestions to resolve this issue. Thank you! Feel free to copy and paste this into a new post on the Apple Developer Forums. Hopefully, you'll get some specialized assistance that can help resolve the issue.
Posted
by mefree.
Last updated
.
Post not yet marked as solved
0 Replies
481 Views
Hello all, I am interested in trying to develop a short-medium range (>100 meters) tracking device for a hobby project in order to gain some literacy in mobile phone software, and have a few questions. I am new to working with anything iOS so please correct me in any mistakes I make in this query. Is RFID or Bluetooth better for tracking and implementation on iOS? How difficult is device implementation into iOS and apps such as find my iPhone? How would one go about it? If I wanted a tracking device to send notifications based on location/distance from another device, could I do that with Apples framework or would I have to create my own app? What programming language would be used in this sort of endeavor? Would C++ work or does iOS use different ones? Thanks in advance, any and all advice is greatly appreciated.
Posted Last updated
.
Post not yet marked as solved
0 Replies
306 Views
I know that multiple monitors are not working because macOS does not support MST/Daisy Chaining over DisplayPort. Though I have a Linux Laptop which supports it and I want to use it from time to time. Now the issue is, whenever I connect a second monitor into the Dell, the monitor starts to flicker. So whenever the DP OUT port is connected with my Dell, it becomes unusable with the Mac M2. This seems somewhat related to this issue on latest Ventura. Did anyone try to connect the DP OUT port with their Dell & Mac? What is the behavior? My understanding is that the 2. monitor should be mirrored. But what is happening right now is that the 1. monitor is basically becoming unusable as soon as a 2. one is connected.
Posted Last updated
.
Post not yet marked as solved
9 Replies
1.7k Views
i must make a code that ios app communicate with esp32 module over bluetooth classic . i have been searching for several weeks... but i didn't find out sample code for bluetooth classic. i found one code that use External Accessory Framework. but this needs a registration for that device some one says that i can't this. because ESP32 Module can't be registered . and i found another one it is coded by reactive native. but finally, this one use a MFi(Made For Iphone) that use External Accessory Framework. i guess.. is it impossilbe that making a ios app that communicate with other device over bluetooth classic ? so, now i am finding some apps that can communicate esp32 module that is coded by arduino IDE over bluetooth classic, and this arduino app can communicate with android bluetooth classic terminal app. please help me
Posted Last updated
.
Post not yet marked as solved
0 Replies
437 Views
I am working on a Application which requires to identify list of bluetooth paired devices connected to Ipad. I have used scanforperipherals(withServices:nil) in CoreBluetooth framework but I see state is always disconnected even though device is connected to iPad. output : <CBPeripheral: 0x281d000, identifier = 31EADDCE-5DBC-E57F-84DB-1488C20460F9, name = AirPods Pro, mtu = 0, state = disconnected> Later used Retrieveconnectedperipherals method (https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipherals ) and tried to fetch the Bluetooth connected devices list. But this method mandates to provide ServiceUUID list of the devices that needs to be fetched which doesn't help me as I need to fetch all devices list. I understand EAAccessoryManager framework gets the list of MFI devices but it mandates to provide protocol names of devices. let connectedDevices = EAAccessoryManager.shared().connectedAccessories as? [EAAccessory] Would like to know if there is any way to fetch the list/count of Bluetooth devices connected to iPad without providing UUIDs/Protocol names. Thanks in advance! Let me know if any other information is required.
Posted Last updated
.
Post not yet marked as solved
0 Replies
275 Views
I have an issue where Directory service media read-only is disabled on macOS 11 and later. Media Management settings are below. file=mcxsetup.plist Operating procedure. (1) The login account is admin. (2) Place mcxsetup.plist in /Users/admin folder. (3) Execute the following in the terminal command. $ sudo dscl . -mcximport /Users/admin /Users/admin/mcxsetup.plist (4) Run the following command in the terminal and confirm that the value is set. $ dscl . -mcxexport /Users/admin (4) restart mac (5) login admin (6) Mount USB storage (7) Make sure the USB storage is set to Read Only. (8) admin logout (9) Login with account name=admin (10) USB storage becomes writable Question: (1) Have there been any specification changes since macOS 11? (2) Is it not possible to use it in local environment? (3) does anyone know a workaround? Configuration-Profile-Reference URL https://developer.apple.com/business/documentation/Configuration-Profile-Reference.pdf
Posted
by IW-h.
Last updated
.
Post not yet marked as solved
1 Replies
471 Views
Hello All, I hope my first post here finds everybody doing well. I wish to develop a simple app. I have some coding experience using other technologies. This would be my first iOS and MacOS app. I am asking for advice regarding the choice of tools and or technology. Here is what I think potential advice givers need to know: Motivation is to keep evil coworkers from messing with my Mac when I step away from, (often), my desk In order to thwart their machinations, I have set my Mac to lock after a very short period of inactivity - this is often a pain as I am sitting at my desk when the Mac locks I wear a fairly new iWatch and am using an M2 Macbook Air I want an app that keeps my Mac from locking when I am nearby I want an agent that runs on my Mac that listens for pings from my iWatch I want an app for my iWatch that pings my Mac It would be nice to be able to set the radius of the "nearby zone" and ping rate A ping would interact with my agent so as to keep my Mac from locking If no ping, Mac locks per whatever time-out setting I have on my Mac I know, I know. I could just use some key combos. No need to point out the obvious way of dealing with the bozos, (we have fun), that I work with. Stymying them in this manner would enhance my happiness. I just want a bit of advice on the appropriate way of going about this. Hopefully, anything I learn might someday be applied to the development of other simple apps. Thanks for any thoughts offered! John Ullom
Posted
by Skygizmo.
Last updated
.
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 Last updated
.
Post not yet marked as solved
5 Replies
3.9k 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 Fishb.
Last updated
.