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

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
313
Mar ’25
CoreData error: SQLCore dispatchRequest: no such table: ZAPPSETTINGS. I/O error opening
Issue with SwiftData: “no such table: ZAPPSETTINGS” and SQLite I/O error on app launch Hello, I’m encountering persistent errors with SwiftData in my SwiftUI app related to Core Data’s underlying SQLite database. Despite defining my models correctly, the app fails to initialize the persistent store, throwing the following error on startup: CoreData error: SQLCore dispatchRequest: no such table: ZAPPSETTINGS. I/O error opening database at /.../default.store. SQLite error code:1, NSSQLiteErrorDomain=1. File “default.store” couldn’t be opened. Context The error only appears concerning my AppSettings model. I have another model, LocationPoint, which appears correctly defined and used. I have tried deleting the app, resetting the device, and cleaning builds but the error persists. The error message suggests the database file is present but the table for ZAPPSETTINGS (the Core Data table for AppSettings) does not exist. Code Samples Main App Entry import SwiftData import SwiftUI @main struct Krow3_0App: App { @State private var userLocationManager = UserLocationManager() @State private var geocodingViewModel = GeocodingViewModel() @State private var locationSearchViewModel = LocationSearchViewModel() @State private var router = Router() var body: some Scene { WindowGroup { LaunchView() .environment(userLocationManager) .environment(geocodingViewModel) .environment(locationSearchViewModel) .environment(router) .modelContainer(for: [LocationPoint.self, AppSettings.self]) } } } AppSettings Model import Foundation import SwiftData @Model class AppSettings { var isMetric: Bool init(isMetric: Bool = false) { self.isMetric = isMetric } } What I’ve Tried Fully uninstalling and reinstalling the app on device and simulator. Resetting the simulator/device. Cleaning the Xcode build folder. Verifying the schema logs which correctly list both LocationPoint and AppSettings. Changing model names to avoid potential conflicts. Adding .modelContainer configuration with autosave enabled. Questions Is there a known bug or limitation with SwiftData concerning certain model setups or naming? Could this be related to how the data container initializes or migrates schemas? Are there recommended debugging or migration steps to resolve “no such table” SQLite errors with SwiftData? How can I safely reset or migrate the persistent store without corrupting the database? Any insights or suggestions would be greatly appreciated! Thank you!
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
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
81
Apr ’25
Developer Enrollment - Bug.
Hi everyone, We're hoping someone here can help us out. We've run into a consistent issue when trying to enroll a new Apple Developer account as an organisation using our DUNS number. Here's what we've experienced: Individual enrollment through the Developer app works perfectly with a new Apple ID. However, when using an existing Apple ID and selecting organization enrollment, the process gets stuck: The payment button is greyed out in the Developer app. We're then locked out of enrolling through the app entirely. 4. When trying to complete the enrollment via the Developer website, there’s no valid payment method available (e.g., VISA option missing CVV field), and any attempts to proceed just loop without success. We're essentially stuck in a limbo state where we can’t proceed. We’ve gone through all the support channels: The automated assistant (Gaby) is unable to resolve the issue or understand the full context. Live chat support for both individual and business accounts told us they can’t assist and referred us back to the developer support system—which leads us back to square one. All members of our team were able to enroll individually without issue, but organisation enrollment consistently failed. Business support and Commercial support (spoken to supervisors) are unable to assist. They really tried and made an effort. Has anyone experienced this before? Is there a way to get in touch with a real person at Apple who can actually resolve this? What are our next steps? Any advice would be greatly appreciated. Thanks!
0
0
94
Apr ’25
Passwords app stopped working with latest update?
I updated my Macbook Pro this week, macOS Sequoia 15.3.2 and now the Password app isn't working. When I log into my regularly saved sites, and I click user name, the Password app login modal pops up, but when I click it, NOTHING happens. If I manually type in my user name (which was unnecessary prior to the recent update), then SOMETIMES I get the fingerprint, but most times I don't. I am using the Chrome browser. I have attached a screenshot of the typical issue I experience.
1
0
334
Mar ’25
Messages app (iOS) - unintentional trigger of voice memo
There appears to be a bug or a hidden feature where after sending a message in Messages and you hover over or touch near the back button in the top left, voice memo activates and starts recording. This is an unexpected behavior and it has been an issue going back several iOS releases to the current release. This has happened on various phone models, so it isn't limited to a specific model. In addition, (and yes, this does add a second bug/issue) there is a hidden feature where touching in the top left of a message thread, above the back button, causes the focus of the message thread to jump back to some texts/messages from an earlier time. This is unexpected and seems like it should be addressed.
1
0
370
Mar ’25
Data Photo Files Emails Banks Transcations Orders
How to Check Apple Development, iCloud ,Apple ID or Apple Account got some criminal act with Old Business Partners System and Fake reality shows to Stole my system Identity and Money. Can hear the sounds from up area in the air! and the accents and contenxt very bad behavior act! i tried to stop them on 2022, I know who they are, they **** up the reality bank , hospital ,apartment fire and lobby packages systems. and they got seriously damaged the other contries and humans body healthy system! and all my creations works.
0
0
126
Jun ’25
15.4.x breaks softwareupdate --fetch-full-installer --full-installer-version
Hi, looks like 15.4.x has broken softwareupdate --verbose --fetch-full-installer --full-installer-version for all versions (still works in 15.3.1) softwareupdate --verbose --list-full-installers Finding available software Software Update found the following full installers: * Title: macOS Sequoia, Version: 15.4.1, Size: 15244333KiB, Build: 24E263, Deferred: NO * Title: macOS Sequoia, Version: 15.4, Size: 15243957KiB, Build: 24E248, Deferred: NO * Title: macOS Sequoia, Version: 15.3.2, Size: 14890483KiB, Build: 24D81, Deferred: NO * Title: macOS Sequoia, Version: 15.3.1, Size: 14891477KiB, Build: 24D70, Deferred: NO * Title: macOS Sequoia, Version: 15.3, Size: 14889290KiB, Build: 24D60, Deferred: NO * Title: macOS Sequoia, Version: 15.2, Size: 14921025KiB, Build: 24C101, Deferred: NO * Title: macOS Sonoma, Version: 14.7.5, Size: 13337289KiB, Build: 23H527, Deferred: NO * Title: macOS Sonoma, Version: 14.7.4, Size: 13332546KiB, Build: 23H420, Deferred: NO * Title: macOS Sonoma, Version: 14.7.3, Size: 13334287KiB, Build: 23H417, Deferred: NO * Title: macOS Sonoma, Version: 14.7.2, Size: 13333067KiB, Build: 23H311, Deferred: NO * Title: macOS Ventura, Version: 13.7.5, Size: 11916960KiB, Build: 22H527, Deferred: NO * Title: macOS Ventura, Version: 13.7.4, Size: 11915317KiB, Build: 22H420, Deferred: NO * Title: macOS Ventura, Version: 13.7.3, Size: 11915737KiB, Build: 22H417, Deferred: NO * Title: macOS Ventura, Version: 13.7.2, Size: 11916651KiB, Build: 22H313, Deferred: NO * Title: macOS Monterey, Version: 12.7.4, Size: 12117810KiB, Build: 21H1123, Deferred: NO * Title: macOS Big Sur, Version: 11.7.10, Size: 12125478KiB, Build: 20G1427, Deferred: NO * Title: macOS Catalina, Version: 10.15.7, Size: 8055650KiB, Build: 19H15, Deferred: NO * Title: macOS Catalina, Version: 10.15.7, Size: 8055522KiB, Build: 19H2, Deferred: NO * Title: macOS Catalina, Version: 10.15.6, Size: 8055450KiB, Build: 19G2021, Deferred: NO softwareupdate --verbose --fetch-full-installer --full-installer-version 15.4 Scanning for 15.4 installer Install failed with error: Update not found https://discussions.apple.com/thread/256042015
1
0
140
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
263
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
UI & App related
Due to it's new UI with transprent theme, sometimes its lacked between switching the apps. Please add AI eraser in photos app so that we can experience new ai tool. Due to india region, unable to use wallet options, Please add some options so that we can add cards and use this option.
2
0
129
Jun ’25
Subscribed Calendar Issue
I'm running into issues with iOS respecting the HTTP 410 "Gone" response type. Setup: Using the native iOS Calendar app, add a new subscription calendar. "Add Subscription Calendar" Add the URL of a ICS calendar subscription that you control, e.g. https://mywebsite.com/userfeeds/23/cal.ics Make sure to select the "Account" option and choose "On My iPhone/iPad". Set the query amount to 15 mins. Calendar events show as expected, device queries the latest updates from the server every 15 minutes. Server returns HTTP 200 with the .ics contents. Now, assume there is a need for the feed to end - maybe the user unsubscribed to mywebsite.com. There is currently no way for the mywebsite.com server / response to tell the device the feed has ended and it should stop requesting. If the user forgets to go to calendar and manually unsubscribe the device will continually ping the server every 15 minutes indefinitely. It's turning into a virtual DoS for my platform. iOS should respect the HTTP 410 "Gone" header or something similar. If the server returns a HTTP 410 response code for https://mywebsite.com/userfeeds/23/cal.ics X amount of times, the feed should be automatically removed. I've opened several tickets over the last 3 years and have not even had a status change on the tickets. Does anyone know how to resolve this or a work around?
0
0
225
Apr ’25
USB Audio Input Blocked When Screen Mirroring via AirPlay
Hello Apple Developers, I am experiencing an issue where USB audio input (e.g., external USB microphone) is blocked when using AirPlay screen mirroring from my iPhone to a Mac or Apple TV. However, the built-in microphone continues to work without any problem. Issue Details: I am using an iPhone 15 (or latest device) running iOS [your iOS version]. I connect a USB audio interface/microphone via a USB-C adapter or Lightning adapter. The USB microphone works perfectly for audio input before starting AirPlay. The moment I enable AirPlay screen mirroring, the USB microphone stops working, and it disappears from available audio input sources. The built-in microphone continues to function, but I cannot use the USB microphone while mirroring. When I stop screen mirroring, the USB microphone immediately becomes available again. Expected Behavior: I would expect iOS to allow me to continue using an external USB microphone while mirroring my screen, just like it allows the built-in microphone to work. Questions: Is this an intentional restriction in iOS? Is there any workaround to enable USB audio input while using AirPlay screen mirroring? Is there a way to request a feature or configuration option to allow external USB microphones during AirPlay? I appreciate any insights or guidance from the Apple team or fellow developers. Thanks in advance! Best regards,
0
0
417
Mar ’25
TVOS - App Data Stored in Shared App Groups not removing after deletion of apps
Hi, Having a weird issue that I’m noticing on Apple TVs with some apps that are by the same company. I think it’s storing residual user data if if you delete the app and all other apps relating to this. I have even tried deleting every app and reinstalling but we found two apps to be still logged in. Seams like a sandboxing bug and I presume it’s to do with App data stored in the shared app groups. I can only reset the apple tv to remove the user data. The two apps we can see are being persistent is Binge and Kayo by streamotion. We have tried problem solving this in every way imaginable but it’s Interesting that this is allowed to happen on an Apple platform. There is no active user logged into the apple TV with an Apple ID either
0
0
69
Apr ’25
IOS 26
I recent installed IOS 26, with my iphone 15 as a machine. I am experiencing glitch on switching apps, switching users in a specific apps. Delay is also visible when unlocking the phone, typing, touching the screen, going back to the previous app (clicking the arrow button on the top left). When using a two fingers navigating the phone, the other finger is unrecognizable when clicking on to something. Overall, UI were elegant and amazing. Please fix the responsiveness and may consider lower versions of iphone when possible.
1
0
94
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
136
Mar ’25