Apple Developers

RSS for tag

This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

New Finder window always on the wrong display
In my setup, the largest external display is Primary, and that's where I do most of my work. The other two external monitors are smaller, and far enough away that I can't use them for viewing text. However, when I open a new Finder window (e.g. cmd-N), it often opens on one of the non-Primary displays, which means I need to drag it to the Primary. What is the algorithm used by the Finder to decide where new windows are placed? I would like to specify that all new Finder windows should open on the Primary display.
1
0
205
Jul ’25
How to Properly Integrate Google IMA SDK for Pre-roll, Mid-roll, and Post-roll Ads in a tvOS App using TVJS and Swift?
I'm working on a tvOS application that plays video content using TVMLKit/TVJS. I'm trying to integrate Google IMA SDK to show pre-roll, mid-roll, and post-roll ads in my app. Here’s what I’ve done so far: Video playback is handled through JavaScript in application.js. Ads are managed in Swift using Google IMA SDK. I use the evaluateJavaScript bridge to control video playback from Swift. I pause and resume the TVJS player (Player object) using a function like startPlayingVideo(value) from Swift based on the ad lifecycle. Current Flow: When the video is about to start, I call loadAds() from JS. This presents a Swift ViewController that handles IMA ad requests. On adsManagerDidRequestContentPause, I pause the video using JS via the bridge. On adsManagerDidRequestContentResume, I resume the video. The Issue: This setup doesn't behave consistently: Sometimes the ad plays in the background and video started playing as well but can not see the ad. Not able to see the post-roll ads Relevant Code Snippets: application.js function startPlayingVideo(value) { if (playerReference != undefined) { if (value == true) { playerReference.play(); else { playerReference.pause(); } } } function playVideo(videoURL) { setup playerReference, push mediaItem, etc. loadAds(); player.present(); } AppDelegate.swift let loadAds: @convention(block) () -\> Void = { DispatchQueue.main.async { let adManagerVC = ViewController() AppDelegate.tvController?.navigationController.present(adManagerVC, animated: true) } } let updateVideoPlayTime: @convention(block) (Double) -\> Void = { time in CustomContentPlayhead.shared.currentTime = TimeInterval(time) } ViewController.swift func adsManagerDidRequestContentPause(\_ adsManager: IMAAdsManager) { showAdUI() playerViewController.player?.pause() } func adsManagerDidRequestContentResume(\_ adsManager: IMAAdsManager) { hideAdUI() // Expecting JS video to resume via bridge } And yeah my IMSDK Implementation is working fine if I am using it with swift AVPlayer. What I Need Help With: Best practice for coordinating video playback between JS (Player) and Swift (IMAAdsManager). How can I sync the playhead reliably between JS and Swift? Is there a better way to pause/resume TVJS player from Swift during ad lifecycle? How to reliably insert mid-roll ads when the playback is primarily controlled in JS? Any insights, code examples, or recommended architecture improvements would be greatly appreciated!
0
0
150
Jun ’25
;unable to install iOS 26 beta on my iPhone 16 Pro (iPadOS 26 beta installs just fine on my iPad mini 6 however).
The Apple logo and progress bar appear, and the progress bar gets about halfway through when the screen disappears, then reappears with the Apple logo and progress bar, and then eventually the progress bar just disappears, and only the Apple logo appears. After staring at that for an hour, I gave up and restored iOS 18.5. I made three attempts with Beta 1 and one attempt with Beta 2 and had the same results.
0
0
311
Jun ’25
IOS 26,BLE Localname is truncated to 6 bytes
When I startAdvertising, my localName is long,Will not be truncated and the type is 0X09; self.advertisementData = @{CBAdvertisementDataLocalNameKey: localDevName, CBAdvertisementDataServiceUUIDsKey: @[[CBUUID UUIDWithString:serviceUUID]] }; [self.peripheralManager startAdvertising:self.advertisementData]; IOS 18.5: The service uuids in ADV_IND occupies 24 bytes, the local name in SCAN_RESP is 20 bytes in size and has not been truncated, and there is no manufacturer specific data in SCAN_RESP;You can view the following image: But in IOS26, why is the local name truncated to only 6 bytes for the same message, and why does SCAN_RESP always contain Manufacturer Specific Data; Why is there such a big difference, and what changes has iOS 26 made for broadcasting? Is it necessary to include Manufacturer Specific Data in the IOS 26 SCAN.RESP message? What documents are available for reference? Is there any way to ensure that the local name is not truncated? Is there a maximum length limit Are there other ways to broadcast longer data? Does anyone know why? thank
1
0
194
Jun ’25
How to detect if an iPad is configured as a Shared iPad (Apple School Manager)?
I'm working on an iOS/iPadOS app and need to determine programmatically whether the device is a Shared iPad as configured through Apple School Manager (ASM). Shared iPads allow multiple users to sign in with Managed Apple IDs and are typically used in educational environments. I want to identify this configuration at runtime within my app. I’ve looked into UIDevice, NSProcessInfo, and MDM-related APIs but haven't found a reliable way to detect whether the current device is a Shared iPad. Is there an API or method to check if the current iPad is configured as a Shared iPad (via ASM)? Any guidance or code examples would be appreciated.
0
0
223
Jun ’25
CSV or TSV file in Numbers app
Hi Everybody knows about how this kind of files works. My issue is about trying to load data from these files to a HTML page. Everything works, I can read and use this data on my project however the records I have in Numbers, text where there are commas for punctuation, will be separated when this file is loaded. The comma is breaking the records, I know this is a CSV file but is there a way to set semicolon as delimiter on Mac or Numbers to be able to use the comma in my records without any issue? Also could be another symbol, but definitely I need the commas. thank you!
0
0
137
Jun ’25
BLE advertisement
Dear Apple: After upgrading to version 26 of the iPhone, when broadcasting using the local name, the iPhone 15 Pro Max was truncated to iPhone 15 Pro Ma with a type of 08 (shortened), but the overall length of the broadcast did not exceed 31 bytes
1
0
97
Jun ’25
iOS 26DEV Beta lacks feedback channel, and has been buggy for 4 weeks
From iOS 26Beta1, iOS 26Beta1.1 to iOS 26Beta2. I couldn't log in to the Feedback App for 4 weeks. It kept prompting BUGs and asked me to log in to Feedback. However, the problem was that I couldn't log in to Feedback. So the problem kept repeating. Apple didn't receive any feedback, so Apple thought this was the most successful version in the history of iOS because it didn't receive any feedback.
0
0
47
Jul ’25
System Data full after clearing safari, messages, offloading apps/reinstalling apps
I‘m getting tired of having to reinstall apps because of the amount of datas. I deleted alot of photos. Deleted apps. The thing that gets my storage full is the System data. I searched up for tutorials, it was full with clearing safari history or deleting old messages, offloading apps. I did them all, none of them decreased my system data and its at 12GB while my phone‘s GB is only up to 64GB. I use IOS 16 Iphone 11. Can someone help?
1
0
133
Apr ’25
Unable to update to the beta version of iPadOS26.
現在公開されているiPad OS26のベータ版にアップデートしてみましたが、 iPadのストレージ容量が不足しているため、更新できないようです。 スペースを解放する以外に更新する方法はありますか? モデル:iPad 8 ストレージ:18GB / 32GB iPad OS26へのアップデート方法について、ストレージスペースを空ける以外の情報をお持ちの方がいらっしゃいましたら、教えていただければ幸いです。
0
0
44
Jul ’25
Request for Enhanced Security Options for iPhone Passwords App (iCloud Keychain)
Right now, Apple’s iCloud Keychain (where saved passwords are stored) relies on the same authentication methods as your iPhone in general: Face ID or device passcode. This means: • If Face ID fails, it falls back to the device passcode. • Anyone with your passcode can unlock not only your phone but also your saved passwords by allowing the phone to go into the “enter iPhone password to view passwords” on the password app. Why this matters if someone knows or coerces your device passcode, they could potentially: • Bypass Face ID • Access sensitive password data • Compromise multiple accounts and could access all passwords I have saved on the password app. So, Let’s say my girlfriend knows my phone passcode, she pretty much then has access to all other password and backup codes I have saved on the password app. For this security vulnerability I believe it would be beneficial to introduce more advanced security options for accessing the Password section on iPhone. Specifically, 1. The ability to require Face ID only, without fallback to device passcode. 2. An option to set a dedicated password just for accessing the Passwords section (separate from the phone passcode). 3. Additional optional layers of protection, such as two-factor authentication or a biometric lock, that would prevent access even if someone knows the device passcode. These features would provide an extra level of security for users who are concerned about unauthorized access if someone gains access to their phone passcode.
1
0
119
May ’25
AirDrop fails with cpio error
Frequently, when transferring large files using AirDrop, it will suddenly fail mid-transfer. Looking into the macOS logs reveals the fault: error 19:45:25.701432-0700 sharingd SDAirDropFileZipper: bomCopierFatalErrorPtr - cpio read error: bad file format error 19:45:25.701517-0700 sharingd SDAirDropCompressor: CFWriteStreamWrite returned -1 default 19:45:25.701533-0700 sharingd Zipper Update: Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error" UserInfo={NSLocalizedDescription=cpio read error: bad file format} default 19:45:25.706094-0700 sharingd Closing output stream default 19:45:25.707901-0700 sharingd Invalidating XPC helper for macOS downloads directory error 19:45:25.708039-0700 sharingd Decompression failed Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error" UserInfo={NSLocalizedDescription=cpio read error: bad file format}
0
0
465
Jul ’25
Disk Utility / diskutil Partition Freezes
Hello Apple Developer Community, I'm encountering a persistent issue while attempting to create a new partition on my Mac, and I'm hoping to get some assistance or insights from anyone who might have faced a similar problem. Issue Description: I'm trying to partition my internal drive. I initially used Disk Utility.app for this purpose. The partitioning process starts, but consistently freezes when it reaches approximately 10-20% completion. I've left it running overnight (for over 9 hours), but there was no progress, and the application remained unresponsive at that percentage. After several attempts with Disk Utility, I decided to try using the diskutil commands in Terminal to see if that would yield a different result. I used commands such as diskutil apfs resizeContainer and diskutil partitionDisk. Unfortunately, these commands also result in the same behavior: the process starts, reports progress up to about 10-20%, and then completely freezes without any further output or completion, requiring me to force-quit Terminal. Mac Model: Apple M4 Pro MacOS Version: Sequoia 15.6
0
0
161
Jun ’25
New Finder window always on the wrong display
In my setup, the largest external display is Primary, and that's where I do most of my work. The other two external monitors are smaller, and far enough away that I can't use them for viewing text. However, when I open a new Finder window (e.g. cmd-N), it often opens on one of the non-Primary displays, which means I need to drag it to the Primary. What is the algorithm used by the Finder to decide where new windows are placed? I would like to specify that all new Finder windows should open on the Primary display.
Replies
1
Boosts
0
Views
205
Activity
Jul ’25
How to Properly Integrate Google IMA SDK for Pre-roll, Mid-roll, and Post-roll Ads in a tvOS App using TVJS and Swift?
I'm working on a tvOS application that plays video content using TVMLKit/TVJS. I'm trying to integrate Google IMA SDK to show pre-roll, mid-roll, and post-roll ads in my app. Here’s what I’ve done so far: Video playback is handled through JavaScript in application.js. Ads are managed in Swift using Google IMA SDK. I use the evaluateJavaScript bridge to control video playback from Swift. I pause and resume the TVJS player (Player object) using a function like startPlayingVideo(value) from Swift based on the ad lifecycle. Current Flow: When the video is about to start, I call loadAds() from JS. This presents a Swift ViewController that handles IMA ad requests. On adsManagerDidRequestContentPause, I pause the video using JS via the bridge. On adsManagerDidRequestContentResume, I resume the video. The Issue: This setup doesn't behave consistently: Sometimes the ad plays in the background and video started playing as well but can not see the ad. Not able to see the post-roll ads Relevant Code Snippets: application.js function startPlayingVideo(value) { if (playerReference != undefined) { if (value == true) { playerReference.play(); else { playerReference.pause(); } } } function playVideo(videoURL) { setup playerReference, push mediaItem, etc. loadAds(); player.present(); } AppDelegate.swift let loadAds: @convention(block) () -\> Void = { DispatchQueue.main.async { let adManagerVC = ViewController() AppDelegate.tvController?.navigationController.present(adManagerVC, animated: true) } } let updateVideoPlayTime: @convention(block) (Double) -\> Void = { time in CustomContentPlayhead.shared.currentTime = TimeInterval(time) } ViewController.swift func adsManagerDidRequestContentPause(\_ adsManager: IMAAdsManager) { showAdUI() playerViewController.player?.pause() } func adsManagerDidRequestContentResume(\_ adsManager: IMAAdsManager) { hideAdUI() // Expecting JS video to resume via bridge } And yeah my IMSDK Implementation is working fine if I am using it with swift AVPlayer. What I Need Help With: Best practice for coordinating video playback between JS (Player) and Swift (IMAAdsManager). How can I sync the playhead reliably between JS and Swift? Is there a better way to pause/resume TVJS player from Swift during ad lifecycle? How to reliably insert mid-roll ads when the playback is primarily controlled in JS? Any insights, code examples, or recommended architecture improvements would be greatly appreciated!
Replies
0
Boosts
0
Views
150
Activity
Jun ’25
My ios26 is not a liquid glass in iPhone 11 pro max
My iphone 11 pro max in ios 26 is not a liquid glass like other
Replies
1
Boosts
0
Views
265
Activity
Jul ’25
;unable to install iOS 26 beta on my iPhone 16 Pro (iPadOS 26 beta installs just fine on my iPad mini 6 however).
The Apple logo and progress bar appear, and the progress bar gets about halfway through when the screen disappears, then reappears with the Apple logo and progress bar, and then eventually the progress bar just disappears, and only the Apple logo appears. After staring at that for an hour, I gave up and restored iOS 18.5. I made three attempts with Beta 1 and one attempt with Beta 2 and had the same results.
Replies
0
Boosts
0
Views
311
Activity
Jun ’25
Partitioning Drive to Run MacOS26 w/ Apple Intelligence
What are the steps in order to safely partition a drive to run MacOS26 for testing on my main machine without corrupting the main machine, please advise? My machine is a Mac Pro M3 Max Apple Intelligence/Foundation Models DO NOT WORK on Parallels VM. I cannot afford to buy new machines. My current one is maxed out on GPU/CPU and memory. TIME SENSITIVE
Replies
0
Boosts
0
Views
180
Activity
Jun ’25
IOS 26,BLE Localname is truncated to 6 bytes
When I startAdvertising, my localName is long,Will not be truncated and the type is 0X09; self.advertisementData = @{CBAdvertisementDataLocalNameKey: localDevName, CBAdvertisementDataServiceUUIDsKey: @[[CBUUID UUIDWithString:serviceUUID]] }; [self.peripheralManager startAdvertising:self.advertisementData]; IOS 18.5: The service uuids in ADV_IND occupies 24 bytes, the local name in SCAN_RESP is 20 bytes in size and has not been truncated, and there is no manufacturer specific data in SCAN_RESP;You can view the following image: But in IOS26, why is the local name truncated to only 6 bytes for the same message, and why does SCAN_RESP always contain Manufacturer Specific Data; Why is there such a big difference, and what changes has iOS 26 made for broadcasting? Is it necessary to include Manufacturer Specific Data in the IOS 26 SCAN.RESP message? What documents are available for reference? Is there any way to ensure that the local name is not truncated? Is there a maximum length limit Are there other ways to broadcast longer data? Does anyone know why? thank
Replies
1
Boosts
0
Views
194
Activity
Jun ’25
Can't find button renew apple developer membership
Hello, I currently have an Apple Developer account, Right now, I’m unable to renew my membership, and I cannot find the renewal or payment button. Please assist me and let me know the reason.
Replies
2
Boosts
0
Views
147
Activity
Jun ’25
How to detect if an iPad is configured as a Shared iPad (Apple School Manager)?
I'm working on an iOS/iPadOS app and need to determine programmatically whether the device is a Shared iPad as configured through Apple School Manager (ASM). Shared iPads allow multiple users to sign in with Managed Apple IDs and are typically used in educational environments. I want to identify this configuration at runtime within my app. I’ve looked into UIDevice, NSProcessInfo, and MDM-related APIs but haven't found a reliable way to detect whether the current device is a Shared iPad. Is there an API or method to check if the current iPad is configured as a Shared iPad (via ASM)? Any guidance or code examples would be appreciated.
Replies
0
Boosts
0
Views
223
Activity
Jun ’25
Whatsapp desktop launches on its own
Hi, Whatsapp on my MacBook Pro (2021) running MacOS 26 launches all by itself whenever I receive a new message. How does this happen and is there a fix for this? I'm worried it might be some privacy issue?
Replies
0
Boosts
0
Views
175
Activity
Jul ’25
CSV or TSV file in Numbers app
Hi Everybody knows about how this kind of files works. My issue is about trying to load data from these files to a HTML page. Everything works, I can read and use this data on my project however the records I have in Numbers, text where there are commas for punctuation, will be separated when this file is loaded. The comma is breaking the records, I know this is a CSV file but is there a way to set semicolon as delimiter on Mac or Numbers to be able to use the comma in my records without any issue? Also could be another symbol, but definitely I need the commas. thank you!
Replies
0
Boosts
0
Views
137
Activity
Jun ’25
Any have issue with passcode different on App Store vs on phone unlock
When i say “forgot password” in the app store it allows me to reset with passcode but when i enter the passcode it’s different than the one i enter when i unlock the phone. what would cause this issue?
Replies
1
Boosts
0
Views
65
Activity
Apr ’25
BLE advertisement
Dear Apple: After upgrading to version 26 of the iPhone, when broadcasting using the local name, the iPhone 15 Pro Max was truncated to iPhone 15 Pro Ma with a type of 08 (shortened), but the overall length of the broadcast did not exceed 31 bytes
Replies
1
Boosts
0
Views
97
Activity
Jun ’25
Keyboard freezing on comment section
So when you are on tik tok if i press the comment function the phone freezes there you cant press back or go back to a video you have to restart the application
Replies
1
Boosts
0
Views
330
Activity
Jul ’25
iOS 26DEV Beta lacks feedback channel, and has been buggy for 4 weeks
From iOS 26Beta1, iOS 26Beta1.1 to iOS 26Beta2. I couldn't log in to the Feedback App for 4 weeks. It kept prompting BUGs and asked me to log in to Feedback. However, the problem was that I couldn't log in to Feedback. So the problem kept repeating. Apple didn't receive any feedback, so Apple thought this was the most successful version in the history of iOS because it didn't receive any feedback.
Replies
0
Boosts
0
Views
47
Activity
Jul ’25
Network issue in ios 26
In e-sim after before some time not richeble the internet it was the big issue for me
Replies
0
Boosts
0
Views
128
Activity
Jul ’25
System Data full after clearing safari, messages, offloading apps/reinstalling apps
I‘m getting tired of having to reinstall apps because of the amount of datas. I deleted alot of photos. Deleted apps. The thing that gets my storage full is the System data. I searched up for tutorials, it was full with clearing safari history or deleting old messages, offloading apps. I did them all, none of them decreased my system data and its at 12GB while my phone‘s GB is only up to 64GB. I use IOS 16 Iphone 11. Can someone help?
Replies
1
Boosts
0
Views
133
Activity
Apr ’25
Unable to update to the beta version of iPadOS26.
現在公開されているiPad OS26のベータ版にアップデートしてみましたが、 iPadのストレージ容量が不足しているため、更新できないようです。 スペースを解放する以外に更新する方法はありますか? モデル:iPad 8 ストレージ:18GB / 32GB iPad OS26へのアップデート方法について、ストレージスペースを空ける以外の情報をお持ちの方がいらっしゃいましたら、教えていただければ幸いです。
Replies
0
Boosts
0
Views
44
Activity
Jul ’25
Request for Enhanced Security Options for iPhone Passwords App (iCloud Keychain)
Right now, Apple’s iCloud Keychain (where saved passwords are stored) relies on the same authentication methods as your iPhone in general: Face ID or device passcode. This means: • If Face ID fails, it falls back to the device passcode. • Anyone with your passcode can unlock not only your phone but also your saved passwords by allowing the phone to go into the “enter iPhone password to view passwords” on the password app. Why this matters if someone knows or coerces your device passcode, they could potentially: • Bypass Face ID • Access sensitive password data • Compromise multiple accounts and could access all passwords I have saved on the password app. So, Let’s say my girlfriend knows my phone passcode, she pretty much then has access to all other password and backup codes I have saved on the password app. For this security vulnerability I believe it would be beneficial to introduce more advanced security options for accessing the Password section on iPhone. Specifically, 1. The ability to require Face ID only, without fallback to device passcode. 2. An option to set a dedicated password just for accessing the Passwords section (separate from the phone passcode). 3. Additional optional layers of protection, such as two-factor authentication or a biometric lock, that would prevent access even if someone knows the device passcode. These features would provide an extra level of security for users who are concerned about unauthorized access if someone gains access to their phone passcode.
Replies
1
Boosts
0
Views
119
Activity
May ’25
AirDrop fails with cpio error
Frequently, when transferring large files using AirDrop, it will suddenly fail mid-transfer. Looking into the macOS logs reveals the fault: error 19:45:25.701432-0700 sharingd SDAirDropFileZipper: bomCopierFatalErrorPtr - cpio read error: bad file format error 19:45:25.701517-0700 sharingd SDAirDropCompressor: CFWriteStreamWrite returned -1 default 19:45:25.701533-0700 sharingd Zipper Update: Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error" UserInfo={NSLocalizedDescription=cpio read error: bad file format} default 19:45:25.706094-0700 sharingd Closing output stream default 19:45:25.707901-0700 sharingd Invalidating XPC helper for macOS downloads directory error 19:45:25.708039-0700 sharingd Decompression failed Error Domain=NSPOSIXErrorDomain Code=5 "Input/output error" UserInfo={NSLocalizedDescription=cpio read error: bad file format}
Replies
0
Boosts
0
Views
465
Activity
Jul ’25
Disk Utility / diskutil Partition Freezes
Hello Apple Developer Community, I'm encountering a persistent issue while attempting to create a new partition on my Mac, and I'm hoping to get some assistance or insights from anyone who might have faced a similar problem. Issue Description: I'm trying to partition my internal drive. I initially used Disk Utility.app for this purpose. The partitioning process starts, but consistently freezes when it reaches approximately 10-20% completion. I've left it running overnight (for over 9 hours), but there was no progress, and the application remained unresponsive at that percentage. After several attempts with Disk Utility, I decided to try using the diskutil commands in Terminal to see if that would yield a different result. I used commands such as diskutil apfs resizeContainer and diskutil partitionDisk. Unfortunately, these commands also result in the same behavior: the process starts, reports progress up to about 10-20%, and then completely freezes without any further output or completion, requiring me to force-quit Terminal. Mac Model: Apple M4 Pro MacOS Version: Sequoia 15.6
Replies
0
Boosts
0
Views
161
Activity
Jun ’25