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

Some questions about custom email domain names with iCloud+ Mail
In the actual development, I found that I could not complete the setting of my icloud+ customised email domain name SMTP. I tried to configure the SMTP of iCloud custom email according to Apple's document (https://support.apple.com/en-us/102525) but the error I looked through Apple's support file, but I didn't find the specific configuration of iCloud + customised email SMTP.
0
0
138
May ’25
Console SSH remote authentication not working since some time
I am trying to connect to my openbsd server. The command works over local network (I am identified by public key) but fails over remote network. I get the following error : $ ssh -vvv sylvain @ saboua.xyz OpenSSH_9.8p1, LibreSSL 3.3.6 ... debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug3: channel_clear_timeouts: clearing debug1: Connecting to saboua.xyz port 22. ssh: connect to host saboua.xyz port 22: Operation timed out A solution I gues would be to use brew's LibreSSL 4.0, but I cant find how to use it instead of the system LibreSSL.
0
0
258
Mar ’25
FocusState Issue with TextFields in ScrollView on iPad (iOS 18.0)
When using a VStack containing two TextFields inside a ScrollView on an iPad running iOS 18.0, the FocusState of the topmost TextField does not trigger, while the second TextField's FocusState works correctly. Adding an invisible TextField on top resolves the issue, but it appears to be a bug specifically in iOS 18.0 on iPads. This issue does not occur on iOS versions below or above 18.0 (including iOS 18.1). Code that is not working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } } Code that is working struct ContentView: View { @State var text: String = "" @FocusState private var focusState: Bool var body: some View { ScrollView(.vertical, content: { VStack(spacing: 0) { // Invisible Text Field TextField("", text: .constant("")) .frame(height: 0) TextField(text: $text) { Text("Hello, World!") } .border(focusState ? Color.red : Color.gray) .focused($focusState) .onChange(of: focusState) { oldValue, newValue in print(newValue) } .onChange(of: text) { oldValue, newValue in focusState = true } } }) .padding() } }
0
0
288
Feb ’25
iCloud/Apple Account Deleted but still not allowed to use the address with another account.
I am trying to add a custom domain to my iCloud+ Mail however when I try to add its main user/email address I get an error saying that the email is already in use with another apple account. After this I checked the duplicate account and since I had forgotten the password I reset it and logged in. Then I followed the instructs on https://support.apple.com/en-in/102283 to permanently delete my account. This request was initiated on 8 Feb 2025 but I received the final email that all my data had successfully been deleted from Apple's servers on 25 Feb 2025. Despite Apple's confirmation that my account had been deleted successfully, I am still unable to use that email address to create an iCloud+ Mail account, even after waiting a whole month! This is very frustrating. I contacted Apple support via chat and phone and after more than 30 mins of back and forth they instructed me to contact Developer Support which I did two days ago (case ID is 102546369564) still no response. I hope posting here will be more fruitful. Thanks in advance. Dear Dan Newby, Your Apple Account dan@ ----- .world has been deleted. This information has been permanently erased from our systems or has been modified so it no longer identifies you. As a reminder, you made this request on February 8, 2025 at 7:09:59 PM GMT+5. If you still have the 12-digit access code we provided as part of your request, you can now discard it since the account no longer exists. We’re glad that we’ve been able to help and hope to see you again in the future. Apple Support
0
0
320
Mar ’25
Saving a file using field at the top of document
Hi there, with the latest update, the ability to click in the file name field at the top of a document (eg Pages, Numbers) to add or change the name of the file, then select filing location, no longer works. Previously, a user could do this and then hit 'return' and it would save to that location with that new file name. It no longer does this. This is a very useful functionality to have. Can it be returned in a future update?
0
0
116
Mar ’25
ios18.6 Bug (Hotspot login)
Recently have updated one phone to the new 18.6 public beta and now I cant log into my Cox hotspot. It pops up asking for username/password as always, but when you click either of them to type it in it closes the window. Tested my second phone that wasnt updated and works just fine. Updated it to the new 18.6 and now the same thing happens
0
0
198
Jul ’25
Request Apple enterprise account renewal failure solution
We are a technical team of a large enterprise whose main business depends on internally developed iOS applications. Our Apple enterprise developer account expires on February 16th, and we filled in the renewal application form before that, but it was rejected by Apple. We contacted the Apple consultant through Apple's official website, and they said that the enterprise department is a separate department, and they could not solve my problem. Later, after efforts, I directly contacted the email address of the enterprise department, and I explained our situation. After their review, the final plan still could not renew, but only extended the use of our P12 certificate, and the maximum extension was one year in the end, so that we can deal with the application that is being distributed by the enterprise as soon as possible. May I ask if there is any better way to successfully renew my account? We only extended the certificate, which is not what we want, but this is the only way at present. If there is a good way to communicate, please check my personal information and have my email address for communication. Thank you all
0
0
315
Feb ’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
463
Jul ’25
I can't register in to the Developer account.
I have tried everything. Different addresses, different credit cards, then it appears pending, but the credit card is never charged and then it "resets", meaning I can do the whole process again as if nothing had happened. I have already sent an email to Apple and I have not had a response either. How can I move forward? Some help. Greetings!
0
0
418
Feb ’25
How to Keep Live Activity in Expanded Dynamic Island State (ActivityKit, iOS 17+)
I'm building a Live Activity using ActivityKit in iOS, and I'm trying to understand how apps like Uber or Lyft manage to keep the Dynamic Island always in its expanded state, without transitioning through the compact phase. In my implementation, the Live Activity always starts in the compact state, and only expands temporarily when I interact with it. I've tried the following: Updating the ContentState frequently using activity.update(using:) I tried updating the activity every 1 second, but it didn’t make a difference. Leaving the compactLeading, compactTrailing, and minimal regions empty using EmptyView() — also didn’t change the behavior. Delaying the initial update by 1 second — no effect. What I'm trying to figure out: Is there any way to programmatically force or request the Dynamic Island to stay in the expanded state? Could this behavior be achieved through push updates, using apns-push-type: liveactivity and a high priority (apns-priority)? What I’m trying to achieve is similar to the behavior shown in the images below — the apps do not transition to the compact island, but instead displays the expanded view immediately. Example:
0
0
76
Apr ’25
No Apps appearing on home screen or in the App Library after download
Hello, i just noticed that when i download an app through the App Store on my iPhone, the app i downloaded does not appear on my home screen or in the App Library. is there any work around for me to make them appear at least in the App Library? the only way to open or to place an app on my home screen I downloaded after upgrading to iOS 18.4 Beta 3 is to search for it in Spotlight or in the App Store. Any apps I downloaded before upgrading to iOS 18.4 Beta 3 is still on my home screen or in the App Library. i am currently running iOS 18.4 Beta 3 on an iPhone 16 Pro
0
0
288
Mar ’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
123
Jun ’25
Internet Sharing Wi-Fi starts as open network despite WPA2/WPA3 password configuration
On recent versions of macOS (including current betas), when enabling Internet Sharing from Ethernet to Wi-Fi, the configured WPA2/WPA3 password is ignored and the shared network is broadcast as an open (unsecured) network. Steps to Reproduce: Connect Mac to Ethernet via USB/LAN adapter Go to System Settings > General > Sharing > Internet Sharing Set up Wi-Fi options with a valid WPA2/WPA3 password Enable Internet Sharing Expected Behavior: Devices should see a password-protected Wi-Fi network with a lock icon and require authentication. Actual Behavior: The network appears unsecured (no lock icon) Devices like iPhone connect without entering a password This can be verified immediately from iOS Wi-Fi settings Additional Notes: Reproducible across macOS 15.5 RC and 16.0,26.0 Developer Beta Feedback has been submitted via Feedback Assistant multiple times This is a serious security risk if used in public or shared environments Has anyone else experienced this? Any known workarounds besides terminal-level defaults or Plist edits? Thanks in advance!
0
1
78
Jun ’25