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

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
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty.
After connecting to a Passpoint network on macOS, the SSID field is displayed as empty. Bugs ? Passpoint connections are established and function correctly, with network communication unimpeded. However, a display issue where the SSID field is blank is present on macOS versions 13 through 15 inclusive. This issue persists even when utilizing connection profiles created with Apple Configurator. Help me. Thks
0
0
202
Mar ’25
Clearing an app’s memory, data etc.
My app works perfectly the first time it is used but when returning to the start after playing the game and playing another it does some random things. I figure it is because the app still retains the previous game in it’s memory allocation? My question is, what is the best way programmatically to have an app start fresh and not have to quit it and open it again?
6
0
203
May ’25
Pictures
I am running the iOS 26. I am having issues with deleting the pictures. I have checked my iCloud storage and my phone storage and all is good there. Not sure why they will not delete. I have the iPhone 16
1
0
65
Jun ’25
In rare VoIP calls, B can’t hear A, but A can hear B — audio input issue on iOS?
Hi everyone, We’re seeing a rare but frustrating issue in our iOS VoIP app and would appreciate any advice. What’s happening: In some VoIP calls between two users (let’s say A and B), B can’t hear A’s voice, but A can still hear B just fine. It doesn’t happen often, but once it does, the issue persists until the device is restarted. Users who experience this issue typically have other voice or conferencing apps installed and actively use them. They report that when our app runs into this problem, those other apps continue to work normally. ⸻ What we’ve ruled out: • AVAudioSession has microphone permission, and audio input works under normal conditions • Network conditions are stable • App-side logic seems solid — the issue occurs extremely rarely (e.g., 1 out of several thousand calls), making it unlikely to be caused by a consistent bug in our call flow ⸻ What we’ve tried to fix it (all ineffective): Restarting the call — no effect Force-quitting and relaunching the app — no effect Toggling Bluetooth: disconnecting and reconnecting audio route, or switching back to built-in mic — no effect Replugging wired headphones or switching to the default iPhone audio input — no effect ⸻ What actually works (so far): • Restarting the device — this is the only action that reliably fixes the issue ⸻ What we’re looking for help with: 1. Does this sound like an iOS-level AVAudioSession routing or audio stack issue? 2. Is there any way to recover from this state without rebooting the device — either through iOS system settings or programmatically? 3. Are there any known audio routing or input bugs in iOS that match this behavior? Thanks in advance — any suggestions or pointers would be greatly appreciated!
0
0
53
Jun ’25
iTunes Asks for an update that doesn't exist
I want to update my iPhone 15 Pro to iOS 26 from iOS 18.5. I downloaded ipsw firmware. But iTunes and Apple Devices App requires update version of app for update to iOS 26. But I use last version of iTunes / Apple Devices, which was realised 2 May, 2025. That mean Apple need to update their apps for adaptation it to iOS 26 update?
0
0
27
Jun ’25
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
155
May ’25
iOS 26 beta bricked iPhone 16 pro max
Hello, I downloaded the iOS 26 beta update on my iPhone 16 pro max and it bricked my device. After the download was installed the phone never turned on and when I tried to power it on, the charging battery logo came out but the battery was at 97% when the update was finish. I tried to soft reset the phone and several things go power on the device and nothing happened. finally, i took it to the Apple Store today in the morning and they will send out the phone for repairs Which mean they will probably change the entire phones software.
1
0
140
Jun ’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
111
May ’25
Request for Confirmation of Paid International Repair Eligibility – iPhone 14 Pro
Dear Apple Support Team, I am writing to request clarification regarding paid service eligibility for my iPhone 14 Pro outside its original country of purchase. Here are the details of my device: Model: iPhone 14 Pro Serial Number: J346337TKY Purchase Date: December 2022 Current Location: Astana, Kazakhstan Warranty Status: Expired I recently visited an Apple Authorized Service Provider in Kazakhstan, and I was informed that my device could not be accepted for repair due to regional restrictions, even on a paid basis. I would appreciate your assistance in confirming whether my device qualifies for paid repair service in Kazakhstan, or if it is strictly limited to service in its country of origin. If not eligible, could you please advise on the nearest country or region where I can receive authorized service? Looking forward to your guidance on the next steps. Best regards, Ruslan D
1
0
93
May ’25
Developer Program enrollment stuck in review for nearly 3 months – any advice?
Hello, I'm reaching out to see if anyone has experienced a similar issue and can share any advice. We submitted our Apple Developer Program enrollment nearly three months ago, and the status has remained “In Review” ever since. We've contacted Apple Support several times by email, but all the responses have been generic – simply stating that the application is still under review, with no indication of what's causing the delay. To clarify: Our company is legally registered in Saint Vincent, but our development operations and team are based in the Philippines, which is also where the enrollment was submitted. We have no unresolved communications or pending documentation requests from Apple. This extended delay is starting to affect our business operations. Has anyone else experienced such a long review time? Were you able to escalate the issue successfully or get a more specific response from Apple? Any tips or insights would be greatly appreciated. Thank you!
1
0
130
Jun ’25
IOS 26 , bugs?
updated my iPhone 15 to iOS 26 last night and now when I put the alert slider on silent, my notifications won’t vibrate. Even after checking all settings in sounds and haptics to be correct, it still isn't vibrating on silent. Also the apple music search bar is a little flimsy? Merging the text and microphone options
0
0
136
Jun ’25
BLE Scan Response
The iPhone XS Max and Garmin watch pairing cannot use BLE to send Scan Response; it can only send BLE advertisements. May I ask if this is a limitation of the Apple system? So far, we have tested several iPhone models, and only the iPhone XS Max has this issue. We are not sure if other untested models have the same problem.
2
0
115
Jun ’25
ArAnchor shifts
I encountered some issues while developing a Vision Pro program using Unity. After binding an ARAnchor to a game object, I overlapped the virtual game object with a real-world cup. However, when I moved around with the Vision Pro on, the virtual game object shifted, causing the real-world cup and the virtual object to no longer coincide. Is there a way to solve this?
1
0
92
May ’25
HomeKit
March 2025. I’ve reached a point where so much about the Apple ecosystem is broken that I have stopped caring. My lights stopped working properly in HomeKit shortly after the last update. They work in the Wiz native app but not HomeKit. Device automations are now spotting and random; bad when they are alarms. When Apple was less, it was more. I have an iPhone 12 and see no reason to upgrade. Why pay a premium for suboptimal products and services. Anyone notice that calls to Apple Support are now fielded by non-professionals? I’ve asked. Just random applicants, typing my question(s) into Safari for solutions. No idea why government is getting cut when private is t any better. Humans are on a downward slope.
1
0
146
Mar ’25
App stops responding to touch; works normally otherwise
Some users of my app complain that it stops responding to touch after a while. The screen is still updating, and the app seems to be working normally otherwise. It just doesn't respond to any touches anymore. It is not a problem with the touchscreen itself, because the user is able to swipe up to get to the home screen, and then interact with other apps as normal. When re-opening my app, it is still unresponsive to touch. The only way to solve it, is to restart the app. Does anybody have a similar experience, and knows what could cause it? The app is based on UIKit, and still written in Objective-C, if it matters. The iOS version involved does not seem to matter, it happened with a couple of them.
2
0
86
Apr ’25