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

iOS 18 System Bug Causes URL Scheme Failure
iOS 18 System Bug Causes URL Scheme Failure A bug in iOS 18 causes URL Schemes to become invalid through the following steps, resulting in failure to open apps via URL Scheme. Reproduction Steps: Long-press the app icon Select "Require Face ID" Choose "Hide and Require Face ID" to hide the app Go to the App Library and locate the hidden app in the "Hidden" folder Uninstall the hidden app reinstalling the hidden app After reinstalling the app, all configured URL Schemes will become invalid, causing failure when attempting to open the app via URL Scheme. The issue appears to be that after uninstalling a hidden app and reinstalling it, the system fails to restore the app's URL Scheme functionality.
2
0
181
Apr ’25
iCloud file reading and writing (iOS)
On my first attempt at adding iCloud to my existing app this is how far I've gotten. For reasons that I won't go into, the use case for my app does not need coordination. I have successfully made my app write a file to the Documents directory of iCloud and read back that same file without errors. In testing on a real iPhone 13 and iPhone 7 I have verified that my app can write a file to iCloud from the iPhone 7 and then read back that same file on the iPhone 13, so I know that the file truly exists in the cloud. But when I make my app on the iPhone 13 write to iCloud, my app on the iPhone 7 says the file does not exist. Exactly the same build of my app is running in both phones. This is problem #1. Problem #2 is that none of these files appear in the iCloud section of the Files app on either of these Phones, nor do they appear in the iCloud section of my Mac. All devices are signed in to my same Apple account in iCloud. Also my info.plist file in the app contains: <key>NSUbiquitousContainers</key> <dict> <dict> <key>iCloud.com.{my domain}.{my app}</key> <dict> <key>NSUbiquitousContainerIsDocumentScopePublic</key> <true/> <key>NSUbiquitousContainerSupportedFolderLevels</key> <string>Any</string> <key>NSUbiquitousContainerName</key> <string>{my app}</string> </dict> </dict> </dict> <key>UIFileSharingEnabled</key><true/> The iPhone 7 is running iOS 15.8.4 and the iPhone 13 is running iOS 18.3.2. The code that does the writing to iCloud is: NSFileManager *fman = [NSFileManager defaultManager]; NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil]; NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"]; if(urlDocs.path == nil) { NSLog(@"NULL path"); return; //..big problem } if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory NSError *err00 = nil; @try { [fman createDirectoryAtURL: urlDocs withIntermediateDirectories:true attributes:nil error:&err00]; NSLog(@"created the directory"); } @catch (NSException *except) { NSLog(@"Exception creating directory %@", except); } } //..directory is now created NSLog(@"url=%@", urlDocs); NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()]; NSData *fdata = [@"Hello world" dataUsingEncoding: NSUTF8StringEncoding]; NSLog(@"file url=%@", urlFile); NSLog(@"file Data=%@", fdata); NSError *errorReturn = nil; Boolean ret = [fdata writeToURL: urlFile options: NSDataWritingAtomic error: &errorReturn]; NSLog(@"returned %1d, error=%@", ret?1:0, errorReturn); And the code that does the reading is: NSFileManager *fman = [NSFileManager defaultManager]; NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil]; NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"]; NSLog(@"url=%@", urlDocs); if(urlDocs.path == nil) { NSLog(@"urlDocs.path is NULL!"); return; //..big problem } if( ! [fman fileExistsAtPath: urlDocs.path] ) { //..need to create the Docs directory NSLog(@"It seems the urlDocs folder does not exist"); } NSURL *urlFile = [urlDocs URLByAppendingPathComponent:txtfname()]; if([fman fileExistsAtPath: urlFile.path]) { NSLog(@"file %@ exists", urlFile); [fman copyItemAtURL: urlFile toURL:<#(nonnull NSURL *)#> error:<#(NSError *__autoreleasing _Nullable * _Nullable)#>]; } else { NSLog(@"file %@ DOES NOT EXIST!", urlFile); }
1
0
119
May ’25
Apple Developer Account Terminated (No Email Notice) - Seeking Advice on Investigation & Appeal Process
Hi everyone, Our Apple Developer account (ID/Email: [*****]) was suddenly disabled, showing "Terminated" status in the backend, but we received no violation notice via email. Current issues: Context: Last operation before termination: "App submission" No warning emails or policy violation details received (checked spam folder) Attempted Solutions: Submitted appeal via Developer Support Page, no response yet Reviewed all apps against 《App Store Review Guidelines》, no obvious violations found Questions: Are there alternative ways to contact Apple support directly? What are common causes for such terminations (e.g., payment issues, account association risks)? Should we create a new account, or is reinstatement possible? Note: Sensitive details redacted. Will provide more info if needed. Thanks for any advice!
1
0
956
Mar ’25
Printing error
Back in December 2024 I noticed when I go through the steps to print I would get an error to cancel or retry. We have 4 iPhones and 3 had the newest IOS and those 3 would get the same error. The phone that had old ios 17 something the print would work. Called Apple and did troubleshooting, the opened something on apples end for the developer to investigate. Within 2 weeks a new ios was available and fixed the issue on the 3 phones that could not print. I did the latest update February and March 2025 on all 4 phones thinking no way the issue will happen again and if did all 4 phone cannot print. Is there an iOS bug that is affecting printing ios 18.3.2.
0
0
71
Mar ’25
App logout every time delete from open aps
Hi, I am testing my app with TestFlight. The app is developed with React Native Expo. Step 1: Log into the app – everything works fine. Step 2: Use the app – everything works fine. Step 3: Close the app without logging out, just close it. Step 4: Remove the app from the recent apps window. Step 5: Try to open the app again, but it requires login again. I don’t understand why the login parameters are not retained and why the app asks me to log in again. Code used for login handling: import AsyncStorage from "@react-native-async-storage/async-storage"; useEffect(() => { const loadToken = async () => { const token = await AsyncStorage.getItem(TOKEN_KEY); if(token) { axiosInstance.defaults.headers.common['Authorization'] = `Bearer ${token}`; try { const response = await axiosInstance.get('/auth/check'); const data = response.data; setSession(token); setUser(data.user); } catch (e) { setSession(null); setUser(null); } } } loadToken().then(() => setIsLoading(false)); }, []); Important Note: This issue only occurs when we switch to production. In the test environment, everything works fine, and we don’t experience this problem. However, as soon as we build for production and test on multiple devices, this issue appears. Thanks in advance!
1
0
331
Feb ’25
ios 18.4.1 internet issues
I’ve recently updated to ios 18.4.1 and I have problems with the internet. Things download painfully slow, an application that used to download in 10 seconds is now downloading in 2 minutes. Videos tend to stop at some point and when i fast forward them it stops to load a little when on the previous version it would work fine. It feels like my internet aged 30 years in 10 minutes. I’ve tried on other phones (not iphones) and it works just fine. Is it from the update or is it just my internet?
1
0
130
Apr ’25
MDM Behind Nginx SSL Cert Issue
I'm trying to make my own MDM server and I'm having trouble allowing nginx to proxy the connection. The web app I'm making can accept http requests so I require nginx. I'm using a certificate from letsencrypt. Every time I try to enroll a phone it instantly rejects at nginx. I have tried multiple cipher options in nginx. I found the following link and my cert supports all except the DHE ones but they say you only need 1. (https://developer.apple.com/forums/thread/128482?answerId=404052022#404052022) What else can I do? 2025/05/21 14:39:44 [info] 105709#105709: *2887 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 14:41:42 [info] 106014#106014: *2891 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 14:42:32 [info] 106134#106134: *89 peer closed connection in SSL handshake while SSL handshaking, client: 27.32.155.108, server: 0.0.0.0:9234 2025/05/21 15:09:13 [info] 106132#106132: *124 client timed out (110: Connection timed out) while waiting for request, client: 172.40.1.61, server: 0.0.0.0:9234 below from ssllabs.com upstream backendmdmios { server 172.40.1.61:6744; } server { listen 9234 ssl; http2 on; server_name mdm.domainplaceholder.com; error_log /etc/nginx/logs/ios.com.error.log debug; # error; ssl_certificate /etc/letsencrypt/live/mdm.domainplaceholder.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mdm.domainplaceholder.com/privkey.pem; ssl_protocols TLSv1.2 TLSv1.3; #ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-CBC-SHA256:ECDHE-RSA-AES128-CBC-SHA:ECDHE-RSA-AES256-GCM-SHA384; #ssl_ciphers TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305; #ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!3DES:!CAMELLIA; ssl_prefer_server_ciphers on; ssl_dhparam /etc/nginx/dhparams.pem; location / { proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://backendmdmios$request_uri; } }
5
0
102
Jun ’25
[iPadOS 18.4 PB 4] Magic Keyboard Not Registeting Touchpad or Mouse Clicks across OS
Hardware: iPad Pro 11" (M2 Version) Software: iPadOS 18.4 Beta 4 (most recent as of 2025-03-24) Got an interesting one today that I am curious if anyone else has run into, and sadly it’s one that does affect my iPad use a lot! I use the Magic Keyboard 11” on mine. After upgrading to the Public Beta 4 last night, the keyboard works fine, the trackpad shows my grey dot on the screen and even indicates that it recognizes a trackpad click by that grey dot changing slightly. However, the actual click, nor scrolling, actually works in any way shape or form. The only gesture I’ve seen work up to this point is the three-finger motion to change applications, that’s it. I have two iPad’s, and two keyboards, and it does not matter which keyboard one I use, which confirms that it’s likely a software issue of some sort. Other reason that’s the case? Hooking up an external trackball and the same behavior happens. Anyone else run into this?
1
0
135
Mar ’25
Very strange behavoir of Safari.app, Notes.app on MacBook Pro
Is there a way to check whether third-party code can be inserted into parts of the ARM CPU architecture from outside? I have the paranoid impression that my MacBook Pro, M2 processor is being manipulated from outside. For example: Safari, when opened, displays pages scaled down without my conscious intervention, when clicked on the original size it scales back to normal for a short time and then implodes again; I use the navigation bar on the left excessively, it is my most important tool in Safari, today it was impossible to insert a link using drag & drop, the bar scrolls up or down very quickly; a behavior that I only know from Intel processors. For example, notes, I encrypted an important note, no problem even though photos and links are inserted, yesterday I could no longer open the note, neither on the MacBook Pro nor on the iPhone. When opening the notes app in the terminal on the MacBook Pro, an EXEC_CRASH report was generated. I have a terrible suspicion that the Apple branch in Munich is tampering with the devices and software of users in Germany. Sorry, I'm a big fan of Apple and its products, but this is very spooky. I just wanted to share my distrust with you!
3
0
248
Mar ’25
ArAnchor shifts
I encountered some issues while developing a Vision Pro program using Unity. After binding an ARAnchor to a game object, I overlapped the virtual game object with a real-world cup. However, when I moved around with the Vision Pro on, the virtual game object shifted, causing the real-world cup and the virtual object to no longer coincide. Is there a way to solve this?
1
0
91
May ’25
Battery Optimiser 18.4 beta 3
Since running 18.4 beta 3 my phone doesn’t stop charging at its pre determining % it’s set at 80% and until now has always held at that percentage but since installing beta 3 it’s gone to 100% and held at that when charging overnight anyone else experiencing this?
1
0
186
Mar ’25
iOS 26 beta bricked iPhone 16 pro max
Hello, I downloaded the iOS 26 beta update on my iPhone 16 pro max and it bricked my device. After the download was installed the phone never turned on and when I tried to power it on, the charging battery logo came out but the battery was at 97% when the update was finish. I tried to soft reset the phone and several things go power on the device and nothing happened. finally, i took it to the Apple Store today in the morning and they will send out the phone for repairs Which mean they will probably change the entire phones software.
1
0
137
Jun ’25
buildAudienceType is not working as expected
Hi, Am using fastlane to upload into TestFlight. Am able to successfully upload the build without any issues. For Testing Internally , I want to upload the build into App Store Connect but I should restrict it on submitting to App Store. ( This is possible when i distribute the app via TestFlight Internal Only from XCode -&gt; Organizer -&gt; Distribute App (Select option with TestFlight Internal Only). I want to achieve the same using either Transporter/ fastlane. I tried setting buildAudienceType to INTERNAL_ONLY as per https://developer.apple.com/documentation/appstoreconnectapi/buildaudiencetype but it is not working. Can you suggest how i can achieve this via fastlane?
0
0
206
Mar ’25
Merge 2 Apple IDs
Now that Apple is allowing users to merge two Apple IDs, how does one remove/delete songs from the Primary Apple ID music library? Is it a no-no to merge two Apple IDs? The notes on merging suggest this is a problem but offer no workaround. The only option I can see is to hide songs. Is this sufficient to allow the merging of two Apple IDs?
1
0
104
Mar ’25
Request for Confirmation of Paid International Repair Eligibility – iPhone 14 Pro
Dear Apple Support Team, I am writing to request clarification regarding paid service eligibility for my iPhone 14 Pro outside its original country of purchase. Here are the details of my device: Model: iPhone 14 Pro Serial Number: J346337TKY Purchase Date: December 2022 Current Location: Astana, Kazakhstan Warranty Status: Expired I recently visited an Apple Authorized Service Provider in Kazakhstan, and I was informed that my device could not be accepted for repair due to regional restrictions, even on a paid basis. I would appreciate your assistance in confirming whether my device qualifies for paid repair service in Kazakhstan, or if it is strictly limited to service in its country of origin. If not eligible, could you please advise on the nearest country or region where I can receive authorized service? Looking forward to your guidance on the next steps. Best regards, Ruslan D
1
0
93
May ’25