688,156 questions
-3
votes
0
answers
49
views
JSONEncoder.encode causes stack overflow crash (thread_chkstk_darwin) on iOS 26.3.1 only — deeply nested Codable model [closed]
My app crashes on iOS 26.3.1 (a) only (cannot reproduce on earlier versions) with the following crash type:
Crashed: com.apple.main-thread
0 libsystem_pthread.dylib thread_chkstk_darwin + 60
1 ...
1
vote
1
answer
67
views
Conflict between "Approachable concurrency" vs "nonisolated(nonsending) by Default" vs "Default actor isolation" settings in Xcode
Based on this article, "approachable concurrency" means using main actor by default, and use nonisolated(nonsending) by default. However, in Xcode, there are both "default actor ...
0
votes
2
answers
58
views
Does "nonisolated(sending) by Default" setting conflict with "Default actor isolation" setting in Xcode 26?
Before Xcode 26, we have 2 global functions:
func syncMethod() {}
func asyncMethod() async {}
The behavior is that syncMethod is non-isolated, and will be called in the same isolation context as the ...
0
votes
1
answer
50
views
DispatchQueue's closure is @Sendable, how can it access main actor isolated values?
Let's first try this code:
func viewDidLoad() {
DispatchQueue.global().async {
self.view.backgroundColor = red
}
}
This obviously fails in Swift 6, because the closure is @Sendable , meaning ...
0
votes
0
answers
45
views
Flutter UI not matching design: top-right badge not properly attached to card border
Here is what I am trying to do:
The screenshot is taken from a iPhone 15 Pro:
I’m trying to build a pricing UI in Flutter, but the layout is not matching the design—specifically the top-right badge (...
Advice
0
votes
2
replies
53
views
Dynamic UIColor from asset catalog doesn't update CALayer.borderColor when switching between light and dark mode — modern workaround?
I'm implementing dark mode in a UIKit app and ran into the well-known issue that CALayer.borderColor (and shadowColor, CAShapeLayer.strokeColor, etc.) doesn't update automatically when the user ...
Best practices
0
votes
0
replies
65
views
FamilyActivitySelection token stability — are stored tokens long-term reliable?
We are storing FamilyActivitySelection tokens encoded via JSONEncoder to a backend for long-term use, and relying on them inside a DeviceActivityMonitorExtension to restore and apply shields when a ...
-4
votes
0
answers
70
views
In-App Purchases "Product not found" during App Review, but works in TestFlight [closed]
I'm submitting my iOS app for the first time with in-app purchases (subscriptions + a lifetime non-consumable). Everything works perfectly in TestFlight, but during App Review, Apple rejected the app ...
1
vote
1
answer
73
views
Firebase Sign in with Apple returns invalid-credential despite valid Apple token (Flutter iOS)
I'm implementing Sign in with Apple on iOS using Flutter + Firebase Auth. Apple returns a valid token but Firebase rejects it with:
firebase_auth/invalid-credential — Invalid OAuth response from apple....
0
votes
0
answers
56
views
Why Appstore IPA is still in Waiting for Review [closed]
I have setup IPA for the first time in AppStore, it's been a month it is not approving, will it approve when my new build will be approve? because 2-3 build has been rejected saying IPA is not working....
-3
votes
0
answers
113
views
App crashing in Apple Review and they're not sending a crash log? [closed]
I'm trying to get my app approved for the App Store. My app is getting rejected due to "App Completeness". Here's the rejection message:
App Review Guideline Issue
This is an automated ...
1
vote
1
answer
89
views
DatabaseException "out of memory" when opening SQLCipher 3 encrypted DB on versions > 2.2.1
I’m encountering a crash when opening an encrypted database using sqflite_sqlcipher on versions above 2.2.1. The same code works fine on 2.2.1, but fails consistently on newer versions.
Code Snippet:
...
1
vote
2
answers
98
views
SwiftUI PhaseAnimator causing AttributeGraph cycle crash when nested in List with @Observable
I’m hitting a very specific runtime crash in iOS 19.2 (Xcode 17.1) that I haven't seen documented anywhere.
I have a List where each row uses the new @Observable macro for its view model. Inside the ...
2
votes
3
answers
82
views
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks
I am seeing what looks like a recent regression in Codename One on iOS.
The problem happens when creating a mask adapter using URLImage.createMaskAdapter(). The same code works correctly in the ...
0
votes
0
answers
55
views
Flutter iOS In-App Subscription returns restored with expired transaction after re-purchase
I am implementing auto-renewable subscriptions in Flutter using the in_app_purchase package. Everything works fine initially, but I am facing an issue after the subscription expires and is purchased ...