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

WalletUIExtention alert "Unable to add card"
I download a demo from:https://applepaydemo.apple.com/wallet-extensions And I run my WalletUIExtention,but it's failed. This is some key in my info.plist <key>NSExtensionMainStoryboard</key> <string>MainInterface</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.PassKit.issuer-provisioning.authorization</string> <key>NSExtensionPrincipalClass</key> <string>MyAUViewController</string> But I found that deleting the key: NSExtendesionPrincipalClass or NSExtendeionMainStoryboard in the info.plist file can make it run. Should I delete the key ? Whitch key ? This is it alert: This it's message: 2025-05-06 09:15:02.946890+0800 WalletUIExt[626:13530] Successfully load keyboard extensions Line: 1 Col:1 2025-05-06 09:15:02.972702+0800 WalletUIExt[626:13597] [xpc.exceptions]<NSXPCConnection: 0x2830c30c0> connection from pid 584 on mach service named com.bank.app.WalletUIExt.viewservice: Exception caught during decoding of received selector __connectToViewControllerFromRemoteViewController:replyHandler:, dropping incoming message. Exception:<NSXPCDecoder: Qx12a82bc00> received a message or reply block that is not in the interface of the remote object (__connectToViewControllerFromRemoteViewController:replyHandler:),
0
0
111
May ’25
Prevent iOS "Use Mobile Data" Prompt When Connected to Wi-Fi Without Internet in Flutter
I am developing a flutter app that connects the app to the boat VCU through Wi-Fi. In the iOS version of the mobile app, when the device connects to a Wi-Fi network, iOS assumes that all network traffic should route through Wi-Fi. As the connected Wi-Fi network has no internet access, iOS prompts the user with the options: "Use Mobile Data" or "Keep Trying Wi-Fi." If the user selects "Keep Trying Wi-Fi," mobile data will not be used by other apps on the phone. If the user selects "Use Mobile Data," the app switches to mobile data while remaining connected to the Wi-Fi network (VCU) without any issues. The issue is we need to find a way to prevent showing that prompt and instead handle this through code. After connecting to VCU, the mobile network is available for a few second but then it switches to wifi and no internet! I checked all the online documentation but there is not any solution for it. So, I need to stay connect to vcc and other apps use mobile data. I tried WiFiForIoTPlugin.forceWifiUsage(false); but didn't work. I tried adding delay that also didn't work. This is the function in my code that handles connecting to Wi-fI: Future connectToWifi() async { try { if (Platform.isAndroid) { isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, // Enable Internet access withInternet: false, isHidden: true, timeoutInSeconds: 10, joinOnce: true, ); // Force Android to treat Wi-Fi as the primary network using await WiFiForIoTPlugin.forceWifiUsage(true); } else if (Platform.isIOS){ isConnected = await WiFiForIoTPlugin.connect( _vesselData['ssid'], password: _vesselData['passphrase'], security: NetworkSecurity.WPA, isHidden: true, timeoutInSeconds: 10, // Ensures the connection remains persistent, preventing the system from disconnecting the device. joinOnce: false, ); } if (isConnected) { log("Connected to ${_vesselData['ssid']}"); streamData(); } else { log("Failed to connect to ${_vesselData['ssid']}"); } } catch (e) { log("Error: $e"); } } I use :Device Model: iPhone 12 Pro Max iOS Version: iOS 18.3.1 Xcode Version: Xcode 16.2 Mac Version: macOS Sonoma 14.3
1
0
312
Mar ’25
diskutil "eraseDisk" on disk0 using terminal
Hi Apple Team & Everyone, Can someone guide me why sending 'diskutil eraseDisk APFS "WIPED" GPT /dev/disk0' command via terminal to remove/wipe the main physical drive (disk0) is failed? I tried booting into recovery mode, but it still didn’t work. The command returned the following error: Started erase on disk0 Unmounting disk The volume on disk0 couldn't be unmounted because it is in use by process 0 (kernel). Error: -69877: Couldn't open device I understand that we can use Disk Utility (GUI) to unmount and erase the drive. Is it possible to perform this operation via Terminal to erase disk0? I would appreciate any guidance on this. Regards, Winson
2
0
827
Feb ’25
Random Apple ID Accounts
Recently, I have decided to delete all my Twitter accounts, but it turns out an Apple ID was used for one of them, I am unable to delete this account due to that fact because I do not have access to the “email” required. Twitter support says contact email provider, given that I used an Apple ID as the email, am I supposed to contact Apple support instead?
1
0
310
Feb ’25
iPhone she been red logo of danger and cannot install.
Officially I was tiredness after was I’m install of ios 18.5 after I got error red logo. And now she stop updating and was I very shocked more. “I searched or hell is this” they don’t know results from this iPhone 11 is jailbroken Yup is my iPhone 11 is jailbroken how we gonna do. Tell me is this real?
1
0
61
May ’25
macOS 15.4 Beta (24E5222f) Killed My External Displays – Send Help (or an Exorcist)
For 9 Glorious Months, My MacBook Pro &amp; J5 Create JCD543 HUB Were Best Friends… Until I Updated macOS For nearly a year, my MacBook Pro 14” (2023, M2 Pro, 16GB RAM) worked flawlessly with my J5 Create JCD543 HUB, allowing me to run: ✅ 4 External Displays (Samsung, LG, Insignia, Samsung) A setup that worked perfectly… until I updated macOS. Then Came the Update… and the Issues Began First, I updated last week. Two of my four displays stopped working. No big deal, I thought—I’ve dealt with display quirks before. Then, like an optimist ignoring red flags, I updated again last night to 15.4 Beta (24E5222f) and… well, now things are completely broken. My Once-Perfect Setup (Now a Display Disaster) JCD543 HUB → 2 HDMI displays (not working) JUD380 HUB → 1 HDMI display (partially working, unstable) MacBook HDMI port → 1 HDMI display (working, but feeling abandoned) JCA365 USB-C to Dual HDMI Adapter (Not part of my setup, but tested—also not working) What I’ve Tried (aka My Troubleshooting Journey) ✔ Restarted my Mac multiple times ✔ Uninstalled and reinstalled J5 drivers ✔ Swapped cables, unplugged/replugged everything, tested known-working HDMI cables (they work fine on other devices) ✔ Deleted /Library/Preferences/com.apple.windowserver.displays.plist (this fixed a similar issue in the past, but the file no longer exists in this update) The Likely Culprit? It seems to be a J5 driver issue triggered by the macOS update—and I’m not alone. Others are reporting similar problems. Apple… Any Fixes? I just want my four screens back. The setup worked flawlessly for 9 months, so it’s hard to believe it was never meant to work. If anyone has a workaround, I’m open to testing any solution—whether it’s a driver update, system tweak, or hidden macOS setting that might bring my displays back to life. Any advice would be greatly appreciated! Thanks in advance. (P.S. Apple, if you’re reading this—please look into this issue!)
0
0
562
Mar ’25
App Latest version from the App Store
i am using this code public static bool CheckForForceUpdate() { try { Version latestVersion = new(GetLatestVersion()); Version currentVersion = new(AppInfo.VersionString); if (latestVersion != null && currentVersion < latestVersion) { NSUserDefaults.StandardUserDefaults.SetBool(true, StorageKey.IsForceUpdate); return true; } else { NSUserDefaults.StandardUserDefaults.SetBool(false, StorageKey.IsForceUpdate); return false; } } catch (Exception ex) { Console.WriteLine("CheckForForceUpdate....." + ex.Message); return false; } } public static string GetLatestVersion() { try { string appId = "1586153397"; // Replace with your App Store app ID string url = $"https://itunes.apple.com/lookup?id={appId}"; using (HttpClient client = new HttpClient()) { var response = client.GetStringAsync(url).GetAwaiter().GetResult(); var json = JObject.Parse(response); var latestVersion = json["results"]?[0]?["version"]?.ToString(); return latestVersion; } } catch (Exception ex) { Console.WriteLine("GetLatestVersion..." + ex.Message); return null; } } The value of latestVersion should 2.1 in my production app i am not able to get this hence i am not able to achieve Force Update functionality
0
0
65
Apr ’25
Notes.app EXEC_CRASH (SIGKILL (Code Signature Invalid))
I'm pretty desperate today and unfortunately it's making me sick, really sick. Yesterday I edited a note on a MacBook Pro, M2 processor, MacOS Sequoia 15.8.1 (-1) and today the text work I invested several days in is lost. My only option is to delete the note! So far I've had very, very good experiences with the Notes.app, robust, reliable, manageable range of functions. When integrating the math functions I became really suspicious for the first time. I had calculated series and sequences and suddenly the Note.app froze for a worryingly long time, in fact the entire operating system was blocked. Then today I got a huge shock, the note can no longer be opened, neither on the iPhone nor on the MacBook Pro. The note contained my business concept for a business partner. I had already been writing the concept for several days! I estimated the value at several thousand euros. This has torn me apart, I can feel myself getting sick. I'm going to the doctor tomorrow and it might take a week for me to get a sick note. I'm pretty shocked. Here are the technical details, in case someone at Apple Incorp. wants to look into it. The note contains links and photos and is encrypted! Which in and of itself is an impossibility. Or is it? In any case, the Notes.app has always stubbornly claimed that I cannot encrypt notes with this content. That's a paradox, isn't it? I'm schizophrenic! I'm attaching the Notes.app crash report to this post. I can't say more at the moment. Except that I'm very, very sad and very, very shocked. Notes wurde unerwartet beendet.
1
0
260
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
244
Mar ’25
Recently used emoticons
Why can’t Apple just release a version that put the most frequent used emoticons in the most left side of the emoticons keyboard??? Each person always uses the same 20 or 30 emoticons. How this could be reported to developers? Thx
2
0
142
Feb ’25
MacOS sometimes not asking for password after sleep when close lid
Sometimes, when I close the lid using the MacOs version Sequoia 15.2, with the configuration to require a password for 5 seconds, the system does not ask for the password as expected. This happens sometimes even though nothing preventing the system from sleeping when you close and open the lid, but it still seems like a security concern. Is there some known issue related to this problem or a way to avoid it? Result of command pmset -g: Configuration:
1
0
421
Feb ’25
Help accessing audio input from Mac
Hello there, I am a casual game modder for a game called Vintage Story and I had a question about accessing audio input from a Mac. Some other modders in my community developed a proximity chat system that allows players to hear one another via microphone while in physical proximity within the game. It apparently works very well on Windows but unfortunately they don’t seem to know how to get the mod to receive audio input from a Mac. I spoke with them and they are looking for some Mac devs who might be able to help them. Would anyone here be able to shed light on this or know any Mac devs who could?
1
0
161
Mar ’25
Delete subscription data and buy data
Please create the feature to be able to delete subscription data. I want to delete all my subscription data and buy history from the Icloud/ IPhone. You have all the permissions needed from me to do so. There must be a better way than creating a new apple account on a new email address. And having to shift everything to a new email address to have a clean account regarding subscription data and purchases?!
1
0
203
Feb ’25
Issue Wifi Calling - with 5G and LTE - iOS Beta 18.4. 3rd beta and before
when I receive calls on my mobile number and I am connected to a Wifi, the calls is cancelled after the second ring and the caller receives a busy signal. That means I cannot receive calls anymore. This problems happens with different mobile providers and does not occur on my Samsung Galaxy Phone with the same number (eSim). Even when I disable WIFI Calling the problem persists, when I am connected to a WIFI. Only when I disable the WIFI Connect and I am only connected to the mobile carrier, the calls go throuhg in a normal way. VERY annoying and hast not been fixed with Beta 3 of iOS 18.4. Any clue how this can be solved with settings? Hope Apple fixes this very soon!
0
0
402
Mar ’25
Download and Store Custom Notification Sound for Playback in All App States (Foreground, Background, and Terminated)
I want to implement a feature where a custom notification sound file is downloaded from the server when the app is first launched and stored locally on the device. When a push notification arrives, the stored sound should be played in all app states, including foreground, background, and terminated (killed) state. Does anyone have an idea on how to implement this in iOS? Specifically, I am looking for guidance on: 1)Downloading and storing the sound file securely on the device. 2)Using the locally stored file for push notification sounds. 3)Ensuring the sound plays correctly in all states, including when the app is not running.
0
0
114
Apr ’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
937
Mar ’25
Card views and List views
My main app is CardView based w/programmatic navigation.. My secondary app is a nice EventListView w/programmatic navigation. Both are functional with no errors. I want to add an event list to my CardView app but the appearance is all wrong. See image. The blue swirl at bottom is all of my List that appears. I can post images of code, if needed. My question is this - can I combine CardViews and ListViews?
0
0
150
Feb ’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
184
Mar ’25