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

Multipath
NSURLSessionConfiguration *cfg = [NSURLSessionConfiguration defaultSessionConfiguration]; cfg.allowsCellularAccess = YES; cfg.multipathServiceType = NSURLSessionMultipathServiceTypeInteractive; NSURLSession *session = [NSURLSession sessionWithConfiguration:cfg]; NSURL *url = [NSURL URLWithString:@"https://www.apple.com"]; [[session dataTaskWithURL:url completionHandler:^(NSData *data, NSURLResponse *resp, NSError *err) { if (err) { NSLog(@"❌ Request failed: %@", err); } else { NSLog(@"✅ Received %lu bytes via %@", (unsigned long)data.length, resp.URL.absoluteString); } }] resume]; When I use NSURLSession and set multipathServiceType = NSURLSessionMultipathServiceTypeInteractive, whenever I’m connected to a Wi‑Fi network without Internet access, all of my app’s network requests automatically and seamlessly fall back to cellular to fetch data. Why, then, can’t WKWebView load pages? What do I need to configure? Notes: My developer account already has the Multipath entitlement. I’ve added the Multipath capability under Signing & Capabilities in Xcode. In my .entitlements file I’ve set com.apple.developer.networking.multipath = true.
0
0
414
Jul ’25
Enrollment Could Not Be Completed
I have been trying since January to get myself enrolled in the Apple Developer program. I’ve called customer support, I’ve sent emails, I’ve plead and begged and no avail. First I registered and I was not aware there would be such a steep price point. I couldn’t afford it so I got these emails — then later when I try to re-enroll, it asks me to verify my identity, which I did with my state issued id. So it says I can’t continue. I email and ask why and get this back.. So I call and someone named Mallory who assures me she’s the highest point of escalation under Steve Jobs tells me there is nothing anyone can do, she can’t tell me why it’s not allowed but it’s just not and I’m screwed, then hangs up on me and sends this - and my most recent attempts to continue support just get met with a “We can’t cont your enrollment at this time for one or more reasons”. So I have decided to post every day, every where, as much as possible until someone from Apple corrects this. I can’t seem to get help otherwise.
0
0
279
Jul ’25
Update Unavailable
Yo i installed IOS 26 Beta to see how it is, and I want it to downgrade but Checking for Updates are unavailable and my iPhone 14 Pro is lagging i have 20-30 fps or something like that. And these Icons don’t wanna talk about it 🙏
0
0
103
Jun ’25
Remote control
Hi everyone, I’m working on a concept for an iOS app that would allow a user to remotely control an Enterprise iOS device, similar to how AnyDesk or TeamViewer work on desktop. I understand that apps like TeamViewer for iOS offer screen sharing, and some level control but not a full level control. Before I invest further in development, I’d like to clarify a few points: Is there any official Apple-supported way (public or private API) to allow remote control of an iOS device? Has Apple ever approved apps that allow true remote control of iOS (not just screen sharing)? If full control is not allowed, what are the permitted alternatives (e.g. screen broadcast via ReplayKit, remote assistance mode, etc.)? Would such an app be considered for enterprise distribution only (via MDM), or is there a potential App Store path? Any insight or experience from developers who’ve tried this would be very appreciated. Thanks!
0
0
183
Jul ’25
Authentication Methods Research
Hi everyone, I am doing some research into authentication methods on iOS apps. I'm looking to understand the choices iOS developers make and why. If you're an iOS developer, I’d be super grateful if you could take a couple of minutes to fill out a short questionnaire — it’s just 6 questions plus a few demographics, and it really helps my research. 🙂 This is a Swansea University research project approved by the Faculty of Science and Engineering under approval number 120251357213133. Link to questionnaire: https://forms.microsoft.com/e/YZme9jYZE6
0
0
254
Jul ’25
iOS26 Wi-FI Aware Sample Fails to Retrieve Paired Devices
Device: iPhone 15 Pro Max | iPhone 16 Pro iOS Version: iOS26.0(23A5287g) Xcode Version:26.0 beta 3 (17A5276g) Sample Code: Wi-Fi Aware Sample https://developer.apple.com/documentation/WiFiAware/Building-peer-to-peer-apps I tried using the official sample code to verify the Wi-Fi Aware functionality between two iPhones. During testing, the devices successfully paired — I can see each other’s devices under Settings > Privacy & Security > Paired Devices. However, in the Wi-FIAwareSample app, neither the Host nor the Viewer can retrieve the paired devices. I’m not sure what’s causing this issue. Any insights? do { for try await updatedDeviceList in WAPairedDevice.allDevices { // always 0 key/value pairedDevices = Array(updatedDeviceList.values) } } catch { logger.error("Failed to get paired devices: \(error)") }
0
0
480
Jul ’25
NoobScript : a new (php-esq) programming language for mac/iOS etc development
Noob Software has been working on a new programming language designed primarily for mac development, with a syntax similar to PHP and some aspects from JavaScript. To demonstrate this language i've released the code for one of my apps "Noob Music" https://github.com/noobsoftware/NoobMusic3 i would like to hear if people are interested in using this programming language. I think there are many benefits to the high level syntax and high level thinking, and not having to define datatypes and such. The language also supports multithreading using the "async" keyword prefixed in front of the function keyword, like you would do in JavaScript only with multithreading instead of interleaved processing. Pushing to array is threadsafe and some other functinonality as well and it is recommended to use a new class instance within each async function. I have relied heavily on using webviews for UI so there is a layout engine i have developed for native view elements in Cocoa which at this point ar primarily WebViews. The webviews can define a callback function to receive messages from JavaScript, so combining these methods you get a full fledged "web" development feeling for mac development, with HTML+CSS+JavaScript and NoobScript
0
0
357
Jul ’25
Apple Developer Enrollment Delay — No Updates for 24 Days
I’m trying to register an Apple Developer Account for my company. I uploaded all the required documents, but my initial application was rejected, and I was asked to provide notarized translations of my documents. I translated them and submitted everything for review on April 1. After a week without a response, I contacted Apple Support. They replied that the documents had been received and were under review. However, as of today, April 24, my account is still under review. I’ve sent five follow-up emails to Support asking for a status update on my case, but I haven’t received any replies. Has anyone faced a similar situation and could suggest what I can do to get a status update and finally complete the registration? If anyone from Apple Support is reading this, my case number is 20000098634973 and my Enrollment ID is J34432JQFC. Thank you in advance for your help.
0
0
120
Apr ’25
After downgrading from iOS 26 to 18.5, there is no showing recent call history
The last couple of days ago, I tried to taste iOS 26. It’s a really awesome experience as an iOS user. But there were some issues that appeared when I was playing the games. So I downgraded to iOS 18.5. My phone is 13, and I checked my model number and downloaded 18.5 firmware from Apple user's well-known website and carefully making the downgrading process. After hours later I already got back 18.5, and I confess, the user experience is very different between iOS 26 and 18.5. The main problem is there, when I make phone calls with my friends and I notice my recent call history is empty. So I try to fix it the ways from YouTube videos. It doesn’t work. I tried to change the region and restart my phone. It doesn’t work, and I tried to syns with iCloud also doesn’t work. If you are facing an issue like mine, please kindly share the experience and how to fix it! Kindly see the attached photos. The notification appears as shown, but when I check the recent calls, there is no data available.
0
0
165
Jul ’25
How to change keyboard type ISO to ANSI
before this post I posted this question in Apple Support Community. I do not know this is about some part of beta. but I need to know have some way to change them in beta. My Macbook internal keyboard is ANSI Layout but in Keyboard setting input sources with beta is show the ISO layout. so I need to type `(backtick) but it show "§" instead. how to change keyboard type ISO to ANSI ?
0
0
326
Jul ’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
202
Jun ’25
App Store Server Notification implementation in multiple environments
Hey everyone, We're looking for the best way to handle App Store Server Notifications in our development setup and would appreciate some guidance. Our Setup: We use a single App Store Connect account for development, which supports multiple environments (e.g., staging1, staging2). Our production app lives in a separate account, so that's not an issue. The Challenge: We have only one configurable sandbox notification URL. This makes it difficult to route notifications to the correct development server (staging1 vs. staging2 vs development) when a sandbox event occurs. We're considering using a proxy server to catch all notifications and then forward them to the appropriate environment. However, we're not sure how to determine the correct destination. Our Questions: What's the recommended approach for managing a single sandbox notification URL across multiple development environments? If a proxy is the best method, which parameter in the responseBodyV2 payload should we use to route the notification? How can we differentiate between our various dev environments? Is it possible to add custom properties to the App Store Server Notification V2 body to facilitate routing? Any advice or best practices you've implemented would be greatly appreciated. Thanks!
0
0
142
Jul ’25
Aftermarket Battery not recognised
While on ios26 beta2 i changed my battery for an aftermarket one. Phone cannot be charged anymore, battery status 1%. So it reboots. had to replace oem battery to make local backup, to revert to ios18. and have aftermarket battery to work again.
0
0
33
Jul ’25
Multipath
NSURLSessionConfiguration *cfg = [NSURLSessionConfiguration defaultSessionConfiguration]; cfg.allowsCellularAccess = YES; cfg.multipathServiceType = NSURLSessionMultipathServiceTypeInteractive; NSURLSession *session = [NSURLSession sessionWithConfiguration:cfg]; NSURL *url = [NSURL URLWithString:@"https://www.apple.com"]; [[session dataTaskWithURL:url completionHandler:^(NSData *data, NSURLResponse *resp, NSError *err) { if (err) { NSLog(@"❌ Request failed: %@", err); } else { NSLog(@"✅ Received %lu bytes via %@", (unsigned long)data.length, resp.URL.absoluteString); } }] resume]; When I use NSURLSession and set multipathServiceType = NSURLSessionMultipathServiceTypeInteractive, whenever I’m connected to a Wi‑Fi network without Internet access, all of my app’s network requests automatically and seamlessly fall back to cellular to fetch data. Why, then, can’t WKWebView load pages? What do I need to configure? Notes: My developer account already has the Multipath entitlement. I’ve added the Multipath capability under Signing & Capabilities in Xcode. In my .entitlements file I’ve set com.apple.developer.networking.multipath = true.
Replies
0
Boosts
0
Views
414
Activity
Jul ’25
Debit card "not accepted by app" for recurring payment (in app purchase subscription))
i want to make purchase for app subscription (recurring payment) but it showing debit card "not accepted by app" why is that
Replies
0
Boosts
0
Views
511
Activity
Jul ’25
Enrollment Could Not Be Completed
I have been trying since January to get myself enrolled in the Apple Developer program. I’ve called customer support, I’ve sent emails, I’ve plead and begged and no avail. First I registered and I was not aware there would be such a steep price point. I couldn’t afford it so I got these emails — then later when I try to re-enroll, it asks me to verify my identity, which I did with my state issued id. So it says I can’t continue. I email and ask why and get this back.. So I call and someone named Mallory who assures me she’s the highest point of escalation under Steve Jobs tells me there is nothing anyone can do, she can’t tell me why it’s not allowed but it’s just not and I’m screwed, then hangs up on me and sends this - and my most recent attempts to continue support just get met with a “We can’t cont your enrollment at this time for one or more reasons”. So I have decided to post every day, every where, as much as possible until someone from Apple corrects this. I can’t seem to get help otherwise.
Replies
0
Boosts
0
Views
279
Activity
Jul ’25
iOS 26 - Missing feature to remove contact picture?
Hello. On iOS 26 Public Beta I can’t seem to find the feature to delete a contact picture from the contacts app. It seems I can only replace but not delete. Is this just my problem?
Replies
0
Boosts
0
Views
376
Activity
Jul ’25
Update Unavailable
Yo i installed IOS 26 Beta to see how it is, and I want it to downgrade but Checking for Updates are unavailable and my iPhone 14 Pro is lagging i have 20-30 fps or something like that. And these Icons don’t wanna talk about it 🙏
Replies
0
Boosts
0
Views
103
Activity
Jun ’25
Ready to review and test your applications on testflight
I am Ready to code testflight for application To Test and review Thanks to all developers
Replies
0
Boosts
0
Views
162
Activity
Jul ’25
Testflight code
Anyone have a code for testflight? Pls i would really like to use this app, some developer?
Replies
0
Boosts
0
Views
325
Activity
Jul ’25
Remote control
Hi everyone, I’m working on a concept for an iOS app that would allow a user to remotely control an Enterprise iOS device, similar to how AnyDesk or TeamViewer work on desktop. I understand that apps like TeamViewer for iOS offer screen sharing, and some level control but not a full level control. Before I invest further in development, I’d like to clarify a few points: Is there any official Apple-supported way (public or private API) to allow remote control of an iOS device? Has Apple ever approved apps that allow true remote control of iOS (not just screen sharing)? If full control is not allowed, what are the permitted alternatives (e.g. screen broadcast via ReplayKit, remote assistance mode, etc.)? Would such an app be considered for enterprise distribution only (via MDM), or is there a potential App Store path? Any insight or experience from developers who’ve tried this would be very appreciated. Thanks!
Replies
0
Boosts
0
Views
183
Activity
Jul ’25
Authentication Methods Research
Hi everyone, I am doing some research into authentication methods on iOS apps. I'm looking to understand the choices iOS developers make and why. If you're an iOS developer, I’d be super grateful if you could take a couple of minutes to fill out a short questionnaire — it’s just 6 questions plus a few demographics, and it really helps my research. 🙂 This is a Swansea University research project approved by the Faculty of Science and Engineering under approval number 120251357213133. Link to questionnaire: https://forms.microsoft.com/e/YZme9jYZE6
Replies
0
Boosts
0
Views
254
Activity
Jul ’25
iOS26 Wi-FI Aware Sample Fails to Retrieve Paired Devices
Device: iPhone 15 Pro Max | iPhone 16 Pro iOS Version: iOS26.0(23A5287g) Xcode Version:26.0 beta 3 (17A5276g) Sample Code: Wi-Fi Aware Sample https://developer.apple.com/documentation/WiFiAware/Building-peer-to-peer-apps I tried using the official sample code to verify the Wi-Fi Aware functionality between two iPhones. During testing, the devices successfully paired — I can see each other’s devices under Settings > Privacy & Security > Paired Devices. However, in the Wi-FIAwareSample app, neither the Host nor the Viewer can retrieve the paired devices. I’m not sure what’s causing this issue. Any insights? do { for try await updatedDeviceList in WAPairedDevice.allDevices { // always 0 key/value pairedDevices = Array(updatedDeviceList.values) } } catch { logger.error("Failed to get paired devices: \(error)") }
Replies
0
Boosts
0
Views
480
Activity
Jul ’25
Unable to Check for Update
An error occurred while checking for a software update after the iOS 26 update. Is anyone else facing a similar issue?
Replies
0
Boosts
2
Views
55
Activity
Jun ’25
NoobScript : a new (php-esq) programming language for mac/iOS etc development
Noob Software has been working on a new programming language designed primarily for mac development, with a syntax similar to PHP and some aspects from JavaScript. To demonstrate this language i've released the code for one of my apps "Noob Music" https://github.com/noobsoftware/NoobMusic3 i would like to hear if people are interested in using this programming language. I think there are many benefits to the high level syntax and high level thinking, and not having to define datatypes and such. The language also supports multithreading using the "async" keyword prefixed in front of the function keyword, like you would do in JavaScript only with multithreading instead of interleaved processing. Pushing to array is threadsafe and some other functinonality as well and it is recommended to use a new class instance within each async function. I have relied heavily on using webviews for UI so there is a layout engine i have developed for native view elements in Cocoa which at this point ar primarily WebViews. The webviews can define a callback function to receive messages from JavaScript, so combining these methods you get a full fledged "web" development feeling for mac development, with HTML+CSS+JavaScript and NoobScript
Replies
0
Boosts
0
Views
357
Activity
Jul ’25
Apple Developer Enrollment Delay — No Updates for 24 Days
I’m trying to register an Apple Developer Account for my company. I uploaded all the required documents, but my initial application was rejected, and I was asked to provide notarized translations of my documents. I translated them and submitted everything for review on April 1. After a week without a response, I contacted Apple Support. They replied that the documents had been received and were under review. However, as of today, April 24, my account is still under review. I’ve sent five follow-up emails to Support asking for a status update on my case, but I haven’t received any replies. Has anyone faced a similar situation and could suggest what I can do to get a status update and finally complete the registration? If anyone from Apple Support is reading this, my case number is 20000098634973 and my Enrollment ID is J34432JQFC. Thank you in advance for your help.
Replies
0
Boosts
0
Views
120
Activity
Apr ’25
How to ssh to mac
I use other computer ssh to the mac, but return connection reset. I can't solve this problem.
Replies
0
Boosts
0
Views
348
Activity
Jul ’25
After downgrading from iOS 26 to 18.5, there is no showing recent call history
The last couple of days ago, I tried to taste iOS 26. It’s a really awesome experience as an iOS user. But there were some issues that appeared when I was playing the games. So I downgraded to iOS 18.5. My phone is 13, and I checked my model number and downloaded 18.5 firmware from Apple user's well-known website and carefully making the downgrading process. After hours later I already got back 18.5, and I confess, the user experience is very different between iOS 26 and 18.5. The main problem is there, when I make phone calls with my friends and I notice my recent call history is empty. So I try to fix it the ways from YouTube videos. It doesn’t work. I tried to change the region and restart my phone. It doesn’t work, and I tried to syns with iCloud also doesn’t work. If you are facing an issue like mine, please kindly share the experience and how to fix it! Kindly see the attached photos. The notification appears as shown, but when I check the recent calls, there is no data available.
Replies
0
Boosts
0
Views
165
Activity
Jul ’25
How to change keyboard type ISO to ANSI
before this post I posted this question in Apple Support Community. I do not know this is about some part of beta. but I need to know have some way to change them in beta. My Macbook internal keyboard is ANSI Layout but in Keyboard setting input sources with beta is show the ISO layout. so I need to type `(backtick) but it show "§" instead. how to change keyboard type ISO to ANSI ?
Replies
0
Boosts
0
Views
326
Activity
Jul ’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
202
Activity
Jun ’25
App Store Server Notification implementation in multiple environments
Hey everyone, We're looking for the best way to handle App Store Server Notifications in our development setup and would appreciate some guidance. Our Setup: We use a single App Store Connect account for development, which supports multiple environments (e.g., staging1, staging2). Our production app lives in a separate account, so that's not an issue. The Challenge: We have only one configurable sandbox notification URL. This makes it difficult to route notifications to the correct development server (staging1 vs. staging2 vs development) when a sandbox event occurs. We're considering using a proxy server to catch all notifications and then forward them to the appropriate environment. However, we're not sure how to determine the correct destination. Our Questions: What's the recommended approach for managing a single sandbox notification URL across multiple development environments? If a proxy is the best method, which parameter in the responseBodyV2 payload should we use to route the notification? How can we differentiate between our various dev environments? Is it possible to add custom properties to the App Store Server Notification V2 body to facilitate routing? Any advice or best practices you've implemented would be greatly appreciated. Thanks!
Replies
0
Boosts
0
Views
142
Activity
Jul ’25
macOS Sequoia + iOS 26 beta for iPhone
There seems to be a broken USB sync and Finder recognition issue. Is there a fix to this?
Replies
0
Boosts
0
Views
50
Activity
Jun ’25
Aftermarket Battery not recognised
While on ios26 beta2 i changed my battery for an aftermarket one. Phone cannot be charged anymore, battery status 1%. So it reboots. had to replace oem battery to make local backup, to revert to ios18. and have aftermarket battery to work again.
Replies
0
Boosts
0
Views
33
Activity
Jul ’25