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

Unexpected high mobile data usage when travelling in Europe using an ESIM on iPhone 16 Pro Max
The iPhone mobile data usage skyrocketed to use 1GB per day whereas I am normally a 5GB a month data user. the culprit was Apple System Services General there is currently no iPhone functionality to turn off System Services Genera. the solution was to block updates.cdn-apple.com using data sniffer called Proxyman. Tip hat to the person who posted “High mobile data usage on iOS 18 and how to solve it” on Reddit.com This is something apple developers maybe should look at
0
0
42
Jun ’25
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
0
0
82
Apr ’25
18.5 beta 22F5042g April 2, 2025
18.5 beta 22F5042g April 2, 2025 this last updates i did have troubles with my wi~fi connections.I dont know if it is only me who experienced this problem.Let us share and wait to see the perfomance of the new beta firmware updates.
0
0
93
Apr ’25
How can I create a shortcut to toggle macro control in iPhone settings?
I’d like to create a button on my iPhone Home Screen that changes settings if I am using an external lens mounted to my phone. This is what I have along with notes on what I hope to do. But it does not work. I am only able to open either the camera settings or the camera preserve settings but nothing will toggle macro controls. There is an additional step within the camera app as well but it can be skipped for brevity. Name: Telephoto and macro lenses Check if macro settings are already enabled or not. (Settings > Camera > Macro Control toggle) as well as (Settings > Camera > Preserve Settings > Macro Control toggle) Non-working shortcut code: Verification question: "Are you using an external lens?" If yes, Notification: "Turning on Macro Control and preserve settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20On%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20On%20Macro_Control If no, Notification: "Turning off Macro Control and Preserve Settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20Off%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20Off%20Macro_Control
0
0
117
May ’25
Support for 20-20-20 iOS App
Hey guys! I'm currently designing an app that will implement the 20-20-20 rule. This eye health technique has personally helped millions of people around the world, including myself, as it allowed me to control my eyesight that was significantly growing at one point. After moving to a new house, I for some reason began lowering how much I followed the rule. I researched apps on the app store and other Reddit threads, but it doesn't seem to exist (at least, on mobile), so I decided to make my own. Before deployment, I wanted to test the waters and gauge interest for such a project and platform. If you're interested in this, or just want to help a fellow Swift dev out, please fill out this quick form (I will use this as a waitlist eventually)! Link: https://forms.gle/j7vmFeGq8BffBMYz6 Thanks a lot for your support! Happy to answer any questions!
0
0
81
Aug ’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
Apple JS SDK: invalid_client error with new Service IDs in AppleID.auth.signIn()
We’re integrating Sign in with Apple using Apple’s official JavaScript SDK: https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js We’ve successfully used this setup with an older Service ID, but when we try to use any newly created Service ID, we get the following error immediately when calling AppleID.auth.signIn(): invalid_client This happens before any request reaches our backend. The same flow, redirect URI, and frontend code works fine with an old Service ID — but fails with new ones. ✅ What We’ve Verified: The Service ID (e.g., com.projectx.web.login) is created under Apple Developer → Identifiers → Service IDs The redirect URI is correct and matches exactly (HTTPS, no trailing slash) No client_secret is passed in the frontend (by design) We’re using usePopup: true ❌ What Doesn’t Work: Any new Service ID we create — even on the same domain and configuration — fails with invalid_client. 🔁 What We’ve Tried: Creating multiple new Service IDs Waiting 48+ hours in case of propagation delays Validating HTTPS and redirect URI setup Comparing all settings with the working (older) Service ID (which we deleted since we thought that was causing a problem) Testing in different environments and browsers ❓ Questions: Why do newly created Service IDs fail with invalid_client while older ones work? Are there undocumented requirements, propagation delays, or steps for new Service IDs to become active? Is this a known limitation or bug in the SDK? 💻 Our Code: import { useEffect } from "react"; import { Button, Box } from "@mui/material"; import api from "../utils/api"; // Axios wrapper import AppleIcon from "@mui/icons-material/Apple"; import MainAuthStyles from "../pages/MainAuthStyles"; import { useUser } from "../../../user-module/src/contexts/UserContext"; import { useNavigate } from "react-router-dom"; // Apple global type declare global { interface Window { AppleID: any; } } type AppleSignInButtonProps = { setApiError: (msg: string) => void; }; const AppleLogInButton = ({ setApiError }: AppleSignInButtonProps) => { const { user, setUser } = useUser(); const navigate = useNavigate(); useEffect(() => { if (!window.AppleID) return; window.AppleID.auth.init({ clientId: import.meta.env.VITE_APPLE_CLIENT_ID, scope: "name email", redirectURI: import.meta.env.VITE_APPLE_REDIRECT_URI, usePopup: true, }); }, []); const handleAppleLogin = async () => { try { const response = await window.AppleID.auth.signIn(); const { id_token, code, user } = response.authorization; const res = await api.post("/auth/apple-login", { idToken: id_token, code, user, rememberMe: true, }); if (res.data.success == true && res.data.user.userDataInitialised == true ) { setUser({ id: res.data.user.id ? res.data.user.id : '', fullName: res.data.user.fullName ? res.data.user.fullName : '', email: res.data.user.email ? res.data.user.email : '', role: res.data.user.role ? res.data.user.role : '', signUpType: res.data.user.signUpType ? res.data.user.signUpType : '', userDataInitialised: res.data.user.userDataInitialised ? res.data.user.userDataInitialised : false, }); localStorage.setItem("accessToken", res.data.accessToken); localStorage.setItem("refreshToken", res.data.refreshToken); navigate("/app") } else { setApiError("Unrecognized login method") return; } } catch (err) { console.error("Apple Sign-In failed", err); setApiError("AppleSignInFailed"); } }; return ( <Box mt={2}> <Button variant="outlined" fullWidth onClick={handleAppleLogin} className="AuthAppleButton" startIcon={<AppleIcon />} > Log in with Apple </Button> </Box> ); }; export default AppleLogInButton; Any help from the Apple team or anyone who's resolved this issue would be appreciated — we’re currently blocked on deploying new environments due to this error. Thanks!
0
1
132
Jun ’25
Replying to apple support tickets
I have raised a support ticket regadring a concern I had with apple developer account. I got a respose via email, asking some more details. After that I have replied to the same mail thread with requested details. But I havent got any respose after that. I would like to is that the correct way of responding to support ticket ? Am I suppose to get the response for the same mail thread , after I reply ? or Every time I have open a new support tikcet ?
0
1
47
Apr ’25
Extending the display on my iPad 11th gen (2025) on iPadOS 26 beta 3
Hi! I am very new to the apple ecosystem. I saw a lot of comments online about how Stage Manager enabled iPads have access to extending the screen to an external display, and that was what hyped me about this beta. Unfortunately, while i do have Stage Manager now, the display is still unwilling to be extended. Is that a feature that’s planned to be included in the OS? Or am i just out of luck? The ipad is one of the most capable devices i have so i was kind of hoping it would get the feature. It has an A11 chip.
0
0
144
Aug ’25
Question regarding ethernet over USB-C
Hello, I have a question regarding the ethernet-over-USB-C stack within iOS/iPadOS. It seems that when manually assigning an IP on this interface within iOS, the IP is stored. Therefore, when disconnecting (the USB-C cable) and reconnecting to another device for a subsequent ethernet connection, the iOS device will always default to the previously assigned IP address (obviously, this isn't the case if the other end is a DHCP server). So, within the iPhone's Ethernet-over-USB-C driver, I was curious if iOS just keeps the assignment based on the MAC of the local USB-C interface, or is stored information tied to some other identifier? Is there a way to override this behavior? Thank you
0
0
79
Jun ’25
Called failed problem
Hello, I recently got the IOS 26 beta update and since then(about a week back) I haven’t been able to make di calls to anyone it keeps sayin “call failed” whenever I try to make a call…can this be solved🙏🏼 Thank you for the help.
0
0
65
Aug ’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
327
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
150
Jun ’25
Unexpected high mobile data usage when travelling in Europe using an ESIM on iPhone 16 Pro Max
The iPhone mobile data usage skyrocketed to use 1GB per day whereas I am normally a 5GB a month data user. the culprit was Apple System Services General there is currently no iPhone functionality to turn off System Services Genera. the solution was to block updates.cdn-apple.com using data sniffer called Proxyman. Tip hat to the person who posted “High mobile data usage on iOS 18 and how to solve it” on Reddit.com This is something apple developers maybe should look at
Replies
0
Boosts
0
Views
42
Activity
Jun ’25
create login_renamed_x.keychain-db everytime machine restart
create login_renamed_xx.keychain-db everytime restart
Replies
0
Boosts
0
Views
111
Activity
May ’25
How to request several models simultaneously
I am using HelloPhotogrammetry in Xcode I can make one model with something like HelloPhotogrammetry.main([path_to_folder_of images, path_to_output/model.usdz, "-d", "medium", "-o", "unordered", "-f", "high" ]) But how would I request several models simultaneously? I only want to vary the detail. [ ("/Users/you/Desktop/model_medium.usdz", detail: .medium), ("/Users/you/Desktop/model_full.usdz", detail: .full), ("/Users/you/Desktop/model_raw.usdz", detail: .raw ]
Replies
0
Boosts
0
Views
82
Activity
Apr ’25
18.5 beta 22F5042g April 2, 2025
18.5 beta 22F5042g April 2, 2025 this last updates i did have troubles with my wi~fi connections.I dont know if it is only me who experienced this problem.Let us share and wait to see the perfomance of the new beta firmware updates.
Replies
0
Boosts
0
Views
93
Activity
Apr ’25
How can I create a shortcut to toggle macro control in iPhone settings?
I’d like to create a button on my iPhone Home Screen that changes settings if I am using an external lens mounted to my phone. This is what I have along with notes on what I hope to do. But it does not work. I am only able to open either the camera settings or the camera preserve settings but nothing will toggle macro controls. There is an additional step within the camera app as well but it can be skipped for brevity. Name: Telephoto and macro lenses Check if macro settings are already enabled or not. (Settings > Camera > Macro Control toggle) as well as (Settings > Camera > Preserve Settings > Macro Control toggle) Non-working shortcut code: Verification question: "Are you using an external lens?" If yes, Notification: "Turning on Macro Control and preserve settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20On%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20On%20Macro_Control If no, Notification: "Turning off Macro Control and Preserve Settings for macro control." (Run below immediately) prefs:root=CAMERA&path=Turn%20Off%20Macro_Control And prefs:root=CAMERA&path=CameraPreserveSettingsSwitch&path=Turn%20Off%20Macro_Control
Replies
0
Boosts
0
Views
117
Activity
May ’25
Support for 20-20-20 iOS App
Hey guys! I'm currently designing an app that will implement the 20-20-20 rule. This eye health technique has personally helped millions of people around the world, including myself, as it allowed me to control my eyesight that was significantly growing at one point. After moving to a new house, I for some reason began lowering how much I followed the rule. I researched apps on the app store and other Reddit threads, but it doesn't seem to exist (at least, on mobile), so I decided to make my own. Before deployment, I wanted to test the waters and gauge interest for such a project and platform. If you're interested in this, or just want to help a fellow Swift dev out, please fill out this quick form (I will use this as a waitlist eventually)! Link: https://forms.gle/j7vmFeGq8BffBMYz6 Thanks a lot for your support! Happy to answer any questions!
Replies
0
Boosts
0
Views
81
Activity
Aug ’25
No calls on bluetooth
With iOS 26.0 (23A5276f) I can’t make calls via Bluetooth on any device. Any workaround?
Replies
0
Boosts
0
Views
156
Activity
Jun ’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
Apple JS SDK: invalid_client error with new Service IDs in AppleID.auth.signIn()
We’re integrating Sign in with Apple using Apple’s official JavaScript SDK: https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js We’ve successfully used this setup with an older Service ID, but when we try to use any newly created Service ID, we get the following error immediately when calling AppleID.auth.signIn(): invalid_client This happens before any request reaches our backend. The same flow, redirect URI, and frontend code works fine with an old Service ID — but fails with new ones. ✅ What We’ve Verified: The Service ID (e.g., com.projectx.web.login) is created under Apple Developer → Identifiers → Service IDs The redirect URI is correct and matches exactly (HTTPS, no trailing slash) No client_secret is passed in the frontend (by design) We’re using usePopup: true ❌ What Doesn’t Work: Any new Service ID we create — even on the same domain and configuration — fails with invalid_client. 🔁 What We’ve Tried: Creating multiple new Service IDs Waiting 48+ hours in case of propagation delays Validating HTTPS and redirect URI setup Comparing all settings with the working (older) Service ID (which we deleted since we thought that was causing a problem) Testing in different environments and browsers ❓ Questions: Why do newly created Service IDs fail with invalid_client while older ones work? Are there undocumented requirements, propagation delays, or steps for new Service IDs to become active? Is this a known limitation or bug in the SDK? 💻 Our Code: import { useEffect } from "react"; import { Button, Box } from "@mui/material"; import api from "../utils/api"; // Axios wrapper import AppleIcon from "@mui/icons-material/Apple"; import MainAuthStyles from "../pages/MainAuthStyles"; import { useUser } from "../../../user-module/src/contexts/UserContext"; import { useNavigate } from "react-router-dom"; // Apple global type declare global { interface Window { AppleID: any; } } type AppleSignInButtonProps = { setApiError: (msg: string) => void; }; const AppleLogInButton = ({ setApiError }: AppleSignInButtonProps) => { const { user, setUser } = useUser(); const navigate = useNavigate(); useEffect(() => { if (!window.AppleID) return; window.AppleID.auth.init({ clientId: import.meta.env.VITE_APPLE_CLIENT_ID, scope: "name email", redirectURI: import.meta.env.VITE_APPLE_REDIRECT_URI, usePopup: true, }); }, []); const handleAppleLogin = async () => { try { const response = await window.AppleID.auth.signIn(); const { id_token, code, user } = response.authorization; const res = await api.post("/auth/apple-login", { idToken: id_token, code, user, rememberMe: true, }); if (res.data.success == true && res.data.user.userDataInitialised == true ) { setUser({ id: res.data.user.id ? res.data.user.id : '', fullName: res.data.user.fullName ? res.data.user.fullName : '', email: res.data.user.email ? res.data.user.email : '', role: res.data.user.role ? res.data.user.role : '', signUpType: res.data.user.signUpType ? res.data.user.signUpType : '', userDataInitialised: res.data.user.userDataInitialised ? res.data.user.userDataInitialised : false, }); localStorage.setItem("accessToken", res.data.accessToken); localStorage.setItem("refreshToken", res.data.refreshToken); navigate("/app") } else { setApiError("Unrecognized login method") return; } } catch (err) { console.error("Apple Sign-In failed", err); setApiError("AppleSignInFailed"); } }; return ( <Box mt={2}> <Button variant="outlined" fullWidth onClick={handleAppleLogin} className="AuthAppleButton" startIcon={<AppleIcon />} > Log in with Apple </Button> </Box> ); }; export default AppleLogInButton; Any help from the Apple team or anyone who's resolved this issue would be appreciated — we’re currently blocked on deploying new environments due to this error. Thanks!
Replies
0
Boosts
1
Views
132
Activity
Jun ’25
Replying to apple support tickets
I have raised a support ticket regadring a concern I had with apple developer account. I got a respose via email, asking some more details. After that I have replied to the same mail thread with requested details. But I havent got any respose after that. I would like to is that the correct way of responding to support ticket ? Am I suppose to get the response for the same mail thread , after I reply ? or Every time I have open a new support tikcet ?
Replies
0
Boosts
1
Views
47
Activity
Apr ’25
Network Conneection lost after 18.4.1
Installed update on Monday night and since then keep losing Network connection despite resettting Network connections and iphone. Comes back for a short time after rsetting then is lost with nothing showing under Mobile Service.
Replies
0
Boosts
0
Views
52
Activity
Apr ’25
My ID revision still not finished?
I submitted my ID for review over a week ago, and it's still the same, I can't log in App Store Connect? How long have you been waiting? Have a nice day.
Replies
0
Boosts
0
Views
62
Activity
Apr ’25
Extending the display on my iPad 11th gen (2025) on iPadOS 26 beta 3
Hi! I am very new to the apple ecosystem. I saw a lot of comments online about how Stage Manager enabled iPads have access to extending the screen to an external display, and that was what hyped me about this beta. Unfortunately, while i do have Stage Manager now, the display is still unwilling to be extended. Is that a feature that’s planned to be included in the OS? Or am i just out of luck? The ipad is one of the most capable devices i have so i was kind of hoping it would get the feature. It has an A11 chip.
Replies
0
Boosts
0
Views
144
Activity
Aug ’25
Question regarding ethernet over USB-C
Hello, I have a question regarding the ethernet-over-USB-C stack within iOS/iPadOS. It seems that when manually assigning an IP on this interface within iOS, the IP is stored. Therefore, when disconnecting (the USB-C cable) and reconnecting to another device for a subsequent ethernet connection, the iOS device will always default to the previously assigned IP address (obviously, this isn't the case if the other end is a DHCP server). So, within the iPhone's Ethernet-over-USB-C driver, I was curious if iOS just keeps the assignment based on the MAC of the local USB-C interface, or is stored information tied to some other identifier? Is there a way to override this behavior? Thank you
Replies
0
Boosts
0
Views
79
Activity
Jun ’25
Called failed problem
Hello, I recently got the IOS 26 beta update and since then(about a week back) I haven’t been able to make di calls to anyone it keeps sayin “call failed” whenever I try to make a call…can this be solved🙏🏼 Thank you for the help.
Replies
0
Boosts
0
Views
65
Activity
Aug ’25
我的iPad 7居然不支持iPadOS 26
我的iPad 7居然不支持iPadOS 26
Replies
0
Boosts
0
Views
200
Activity
Jun ’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
iMessage Glitch
After doing a software update I can only view iMessages older than 12hrs (from a single contact) if the other person replies to and older message. Every time I leave the Massages app and go back in the issue occurs again.
Replies
0
Boosts
0
Views
112
Activity
Jun ’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
327
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
150
Activity
Jun ’25