Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,679 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS App rejected
Do you ever use lob mobile ? __ in swift mean that it's a private API or internal var https://github.com/touchlab/SKIE/discussions/93 So here, some of your code (maybe a third party library) is calling this private func. Please give more context: do you use third party framework ? do you use objC ?
3w
When using Promotional Offers to upgrade a subscription, a prompt appears indicating an expiration date for upgrading.
Two subscriptions, Plus and Max, are under the same subscription group, with Max having a higher tier than Plus. Promotional Offers for Max are configured in Apple Store Connect. When a user subscribes to Plus and then upgrades to Max using Promotional Offers, they are prompted with Upgrade upon expiration (Figure 1); if they don't use Promotional Offers, they are prompted to Upgrade immediately (Figure 2). Question 1: What is the situation with the upgrade upon expiration message in Figure 1? Is upgrading using Promotional Offers special? I couldn't find any relevant explanation in Apple's technical documentation. Question 2: Figure 1 shows an upgrade upon expiration, but after subscribing, the webhook still shows the subscription start time as the current time, meaning the upgrade hasn't started immediately. Is the message incorrect?
1
0
63
3w
Reply to SwiftUI @State Updates Not Reflecting in UI Until View Reconstruction (Xcode Preview & Device)
Update: Issue Resolved! 🎉 Thanks again for testing on your setup! Your feedback helped me realize this might be an environment-specific issue. Root Cause Found After extensive debugging, I identified two key problems: Performance bottleneck during initialization: A utility manager was making repeated I/O calls on every UI update, flooding the console with 100+ log statements on first load. SwiftUI subscription mechanism timing: In Xcode Preview (specifically on macOS 26.1 + Xcode 26.2), when the main thread is heavily loaded during ContentView initialization, the @State → View update subscription doesn't properly establish. Solution Part 1: Performance optimization Added caching for expensive operations Removed excessive logging (100+ lines → 3 lines) Pre-loaded resources instead of loading on-demand Part 2: Preview-specific fix struct ContentView: View { @State private var refreshTrigger: Int = 0 var body: some View { // ... content .id(refreshTrigger) // Force rebuild when id changes .onA
Topic: UI Frameworks SubTopic: SwiftUI
3w
In Mac app, when the Settings view that uses `@Environment(\.dismiss)` it causes the subview's models to be created multiple times.
Problem For a mac app, when the Settings view that uses @Environment(.dismiss) it causes the subview's models to be created multiple times. Environment macOS: 26.2 (25C56) Feedback FB21424864 Code App @main struct DismissBugApp: App { var body: some Scene { WindowGroup { ContentView() } Settings { SettingsView() } } } ContentView struct ContentView: View { var body: some View { Text(Content) } } SettingsView struct SettingsView: View { @Environment(.dismiss) private var dismiss var body: some View { VStack { Text(Settings) SectionAView() } } } SectionAView struct SectionAView: View { @State private var model = SectionAViewModel() var body: some View { Text(A) .padding(40) } } SectionAViewModel @Observable class SectionAViewModel { init() { print(SectionAViewModel - init) } deinit { print(SectionAViewModel - deinit) } } Steps to reproduce (refer to the attached video) 1 - Run the app on the mac 2 - Open app's Settings 3 - Notice the following logs being printed in the console: SectionAViewMod
Topic: UI Frameworks SubTopic: SwiftUI
0
0
161
3w
App Clip Experience Does Not Update Content After Initial Creation (Persistent Caching Issue)
Hi everyone, We’re running into a serious issue with App Clip Experience updates not propagating to devices, and I’m hoping someone here has encountered (or solved) this before. Problem Once an App Clip Experience is created and used on devices, subsequent updates made in App Store Connect do not reflect on any devices, even after a long period of time. We’ve tried: • Updating the App Clip Experience URL (adding utm parameters, for example, utm_source and scanning via QR code) • Modifying Experience metadata/content • Waiting several days (over a week) • Testing on multiple devices (including devices that never opened the App Clip before) Despite this, the App Clip continues to show the initially created content, while App Store Connect clearly shows the updated configuration. Important Details • We currently have ~1,300 App Clip Experiences created • All App Clips use the same App Clip Bundle ID • The content behind the URLs updates correctly on the website • Only the App Clip continues to show stal
7
0
395
3w
'Certificates, IDs & Profiles' section missing from developer.apple.com
The entire 'Certificates, IDs & Profiles' section is missing from developer.apple.com portal for one of the accounts I am a developer for. The Team is also missing from the dropdowns in Xcode in Code Signing. The organization account membership is paid through July 2026, and I do not see that the Account Holder needs to sign any agreements. I am a user on other accounts, and none of them have this issue. Does anyone know what's going on?
3
0
532
3w
CXCallDirectoryProvider – Numbers added but blocking not working
Hi all, I'm working on a Call Directory Extension using CXCallDirectoryExtensionContext. I want to add a list of numbers to be blocked. Here's the function I use: override func beginRequest(with context: CXCallDirectoryExtensionContext) { context.delegate = self let blockedNumbers = loadNumberEntries(forKey: blockedKey) let identifiedNumbers = loadNumberEntries(forKey: identifiedKey) addAllBlocking(blockedNumbers, to: context) addAllIdentification(identifiedNumbers, to: context) context.completeRequest() } private func addAllBlocking(_ entries: [NumberEntry], to context: CXCallDirectoryExtensionContext) { let numbers: [Int64] = entries.compactMap { Int64($0.countryCode + $0.phone) }.sorted() for number in numbers { context.addBlockingEntry(withNextSequentialPhoneNumber: number) print(# Added blocking entry: (number)) } } When I run this, I see in the console: # Added blocking entry: (*my number with country code*) So it seems the number is added correctly. However, in practice, the number is not bloc
1
0
862
3w
Reply to EXC_BAD_ACCESS (SIGSEGV) crash observed in NSDateFormatter APIs
Same problem, iOS 26 later 0 libsystem_kernel.dylib 0x0000000243fd40cc 0x243fc9000 + 45260 __pthread_kill (in libsystem_kernel.dylib) + 8 1 libsystem_c.dylib 0x00000001a5b4ff64 0x1a5ad8000 + 491364 abort (in libsystem_c.dylib) + 124 2 libc++abi.dylib 0x000000019738f808 0x19737d000 + 75784 __cxxabiv1::__aligned_malloc_with_fallback(unsigned long) (in libc++abi.dylib) + 0 3 libc++abi.dylib 0x000000019737e46c 0x19737d000 + 5228 demangling_terminate_handler() (in libc++abi.dylib) + 280 4 libobjc.A.dylib 0x000000019728ff88 0x19725c000 + 212872 _objc_terminate() (in libobjc.A.dylib) + 172 5 libc++abi.dylib 0x000000019738ebdc 0x19737d000 + 72668 std::__terminate(void (*)()) (in libc++abi.dylib) + 16 6 libc++abi.dylib 0x0000000197392314 0x19737d000 + 86804 __cxa_get_exception_ptr (in libc++abi.dylib) + 0 7 libc++abi.dylib 0x00000001973922bc 0x19737d000 + 86716 __cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*) (in libc++abi.dylib) + 0 8 libc++abi.dylib 0x0000000197391a9c 0x19737d000 + 84636 $_0::operator
Topic: UI Frameworks SubTopic: UIKit
3w
Limited Homebrew App Distribution with Apple Review for Small-Scale Developers
Hello Apple Developer Team I am an independent iOS developer creating highly specialized applications for a very small private audience of fewer than ten users These applications are tightly coupled with custom hardware that I design and manufacture myself for example automotive air suspension control systems Due to the extremely narrow scope and non commercial nature of these apps maintaining a full Apple Developer Program membership is economically impractical The applications are not distributed publicly are not monetized and are used only by a small group of people who share the same technical hobby All application code is written entirely by me There are no copyright violations no private API usage no hidden functionality no tracking and no malicious behavior The apps do not compromise iOS security do not harm users and do not discredit Apple or the iOS platform The software only functions when paired with proprietary hardware under my control At present the only viable way to install these apps
0
0
89
3w
SubscriptionStoreView(groupID:) bug in TestFlight
Hello, I seem to have a strange bug when testing 2 of my Apps that calls SubscriptionStoreView(groupID: storekitmanager.groupID), where storekitmanager is using @Observable, with groupID from the Subscription Group in App Store Connect. They have the following: Yearly, Biannually, and Monthly. Their productIDs and groupIDs have been configured in each app with the correct IDs. In my main Apple ID, when the SubscriptionStoreView is presented, selecting Monthly, tap Subscribe, and nothing happens. Selecting either Yearly or Biannually, tap Subscribe and the Confirmation Dialog that triggers faceID/touchID will appear correctly. This happens in both Apps for TestFlight. I have a Manage Subscriptions button that uses: manageSubscriptionsSheet(isPresented:subscriptionGroupID:) I can change the subscription to Monthly in that manage subscriptions. However, if I switch to a Sandbox Apple Account, the bug described above does not happen. The Sandbox account when selecting Monthly and tap Subscribe will trigg
1
0
114
3w