Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,487 results found

Post

Replies

Boosts

Views

Activity

Apple Developer Enrollment Stuck — Paid Twice, Still Pending
Hello, I am writing this post because the Apple Developer Program enrollment process is clearly malfunctioning, and I have reached a point where this situation is unacceptable. First payment I initially purchased the Apple Developer Program on December 3rd, 2025 at 16:03 (Turkey time). The payment was fully completed, confirmed by my bank, and I received the official Apple Store receipt. • Order ID: W1557478965 • Amount: 1029 TRY • Status: Completed / Posted Despite this, my account continued to show: • “Purchase your membership” • Enrollment status: Pending • No access to App Store Connect After several days with no response from Apple Support and no activation, I assumed something had gone wrong on Apple’s side. Second payment Because I was completely blocked and received no reply from support or the forums, I made a second payment to rule out any payment failure. • Order ID: W1694587309 • Amount: 1029 TRY • Status: Completed / Posted Current situation At this point: • Two separate payments • Two
9
0
820
1d
Reply to Choppy minimized search bar animation
Dear @DTS Engineer, Thank you for your reply and suggested way forward. I reduced the code to the minimum for further testing purposes: struct SwiftUIView: View { @State var searchQuery: String = var body: some View { NavigationStack { ScrollView { Text(Test) } .navigationTitle(Test) } .searchable(text: $searchQuery) .searchToolbarBehavior(.minimize) } } #Preview { if #available(iOS 26, *) { TabView { Tab { SwiftUIView() } label: { Label(Test, systemImage: calendar) } } } else { // Fallback on earlier versions } } I did not remove .searchable as per your suggestion since without it the .searchToolbarBehavior(.minimize) does not appear to have any effect (the search button is simply not shown). The code above still leads to the same choppy animation as demonstrated in my initial message. As further testing, I tried to extract the NavigationStack view to a separate view (similarly to here), and to remove ScrollView or replace it with a List, but to no success. Hopefully this is helpful.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1d
Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Is anyone else getting new warning about menu items with submenus when running on Tahoe? I'm getting big performance problems using my menu as well as seeing these messages and I'm wondering if there's a connection. My app is faceless with a NSStatusItem with an NSMenu. Specifically it's my own subclass of NSMenu where I have a lot of code to manage the menu's dynamic behavior. This code is directly in the menu subclass instead of in a controller because the app I forked had it this way, a little wacky but I don't see it being a problem. A nib defines the contents of the menu, and it's instantiated manually with code like: var nibObjects: NSArray? = [] guard let nib = NSNib(nibNamed: AppMenu, bundle: nil) else { ... } guard nib.instantiate(withOwner: owner, topLevelObjects: &nibObjects) else { ... } guard let menu = nibObjects?.compactMap({ $0 as? Self }).first else { ... } Within that nib.instantiate call I see a warning logged that seems new to Tahoe, before the menu's awakeFr
11
0
1.1k
2d
How to accept CloudKit shares with the new SwiftUI app lifecycle?
In the iOS 13 world, I had code like this: class SceneDelegate: UIResponder, UIWindowSceneDelegate { ttfunc windowScene(_ windowScene: UIWindowScene, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata) { tttt// do stuff with the metadata, eventually call CKAcceptSharesOperation tt} } I am migrating my app to the new SwiftUI app lifecycle, and can’t figure out where to put this method. It used to live in AppDelegate pre-iOS13, and I tried going back to that, but the AppDelegate version never gets called. There doesn’t seem to be a SceneDelegateAdaptor akin to UIApplicationDelegateAdaptor available, which would provide a bridge to the old code. So, I’m lost. How do I accept CloudKit shares with SwiftUI app lifecycle? 🙈
3
0
1.3k
Aug ’20
UI Tests troubles with Xcode 26.1 and Xcode 26.2
Since I moved to Xcode 26.1 and Xcode 26.2 then, my UI tests all fail only for iOS 26+, for both simulator and real device. Everything worked perfectly with Xcode 26.0, and the code base of the application under test and the test cases are the same. With Xcode 26.0, the tests pass for iOS 26+ and iOS < 26, for both simulator and real device. In addition, even the Accessibility Inspector tool fails to display the view hierarchy for iOS 26+ with Xcode 26.2. With Xcode 26.0, whatever are the devices and the OS versions, the tool was able to display the view hierarchy. Otherwise the tool is empty even if the device and app are selected. This failing tests issue occurs both on my local environment and on GitHub Actions runners, excluding the hypothesis I have troubles with my own side. The error message for failing tests explains the element cannot be found anymore. Given for example the test case: @MainActor func testMakeScreenshotsForDocumentation_Button() { let app = launchApp() goToComponentsSheet(
2
0
100
2d
"In-App Purchases and Subscriptions" missing, WHY????
I am trying to resubmit my app after failing a few times (first time doing this). Anyhow, when resubmitting the last 2 times, the In-App Purchases and Subscriptions section was always present on the version page so I could choose my IAP's and Subscriptions before submitting for review. Currently, I am trying to resubmit again, and the In-App Purchases and Subscriptions section is nowhere to be found and no matter what I try to do, it's just not showing up. Currently, all my IAP's and Subscriptions have a Waiting for Review status and my app status is 1.0 Prepare for Submission. Any ideas how I can get around this???
3
0
298
2d
Cyber Stalking from Criminal Organization
This is unique situation, save your rhetoric calling me crazy unless you’re willing to look at the evidence I’ve collected over the last 2 years. My entire family is being stalked and harassed by a DOD Contractor named Galapagos Federal Systems. They are literally using our identities to and accounts they’ve created to run Amazon Marketplace Business Accounts as sellers. They have amended my tax returns and they have hijacked my domain, which is MauiEasyRiders.Com. It’s pretty easy to see that they’ve hikacked my domain as they are using more than 20 ports around the clock, and I had to walk away from my business of 15 years because of a DDoS attack that is literally impossible to escape. These people are the lowest of the low. They have 250 million dollars in DODcontracts and they are registered as a small section 8a Native Hawaiian owned business, regardless of the fact that the owner is not Hawaiian and not from Hawaii, and the business was formed in Delaware. Their headquarters is literally a hou
1
0
389
2d
Reply to Live Activity triggered by AlarmKit remains as an empty state
final class AlarmScheduler { private let manager = AlarmManager.shared private let holidayProvider = HolidayProvider.shared ... func cancel(_ alarm: AlarmModel) throws { try manager.cancel(id: alarm.id) Task { await AlarmLiveActivityManager.end(alarmID: alarm.id) } } ... enum AlarmLiveActivityManager { static func upsert( alarmID: UUID, attributes: AlarmAttributes, content: ActivityContent ) async { let matches = activeActivities(for: alarmID) if let activity = matches.first { await activity.update(content) await endActivities(matches.dropFirst()) return } _ = try? Activity.request( attributes: attributes, content: content, pushType: nil ) } static func end(alarmID: UUID) async { let matches = activeActivities(for: alarmID) await endActivities(matches) } private static func activeActivities(for alarmID: UUID) -> [Activity< AlarmAttributes >] { Activity>.activities.filter { activity in guard isActive(activity.activityState) else { return false } return activity.content.state.alarmID == alarmID } }
2d
Unable to Open Apple Ads Account
Hi. I'm not sure this is relevant for developer forums. But I'm not sure where else to turn. I've been trying to open an Apple Ads account for nearly a month. Every time I try to submit the form, I get Server encountered an error processing your request followed by reason code: befe5482-e13e-4439-ae0d-badb3ca398a7_1767983516160.C67AC66. I can't contact Apple Ads, because every time I try to fill in the contact form I get Please correct the errors below. But there are no errors to correct. I've tried every possible combination of phone number formatting, special characters, spaces and all the usual suspects. Nothing works. I have a UK developer account in good standing. No issues, 2 live apps. I have reached out to Developer Support. No reply. I reached out to regular consumer support. They suggested Developer Support. I've got an app I'm trying to market and a budget ready to spend. Any ideas anyone?
1
0
73
2d
Reply to How to properly use PermissionKit to ask permission
The same error occurs to me. I assigned guardians to iPhones logged in with my child's account and activated communication restrictions. In addition, the following alerts and apps pop up on the console despite the fact that requests are made only when you are under a certain age using the AgeService before calling permissionKit. Error Domain=AskToCore.ATMessageComposeValidationError Code=4 The user is in a region that does not support this type of ask. NSLocalizedDescription: The user is in a region that does not support this type of ask. NSLocalizedFailureReason: The user must be in a supported region to use this feature. I'm not living in texas.
2d
Reply to Does UNCalendarNotificationTrigger fire at the same time everyday even if user changes his timezone ?
That is not the behavior I see. When I schedule a local notification with UNCalendarNotificationTrigger and only specify the hour and minute in the date component it still locks to an absolute time based on the timezone when scheduled. For example, I set the phone's timezone to PST and schedule a local notification to fire at 9:00 AM - the date component only sets hours and minutes. When I change the phone's timezone to MST, the notification will not fire at 9:00 AM MST and instead will fire at 10:00 AM MST (which is 9am PST). Afaik, there is no way to schedule a local notification to always fire at 9:00 AM regardless of timezone without extra coding to detect a timezone change and update the scheduled local notifications.
2d
Metal debug log in Swift Package
My goal is to print a debug message from a shader. I follow the guide that orders to set -fmetal-enable-logging metal compiler flag and following environment variables: MTL_LOG_LEVEL=MTLLogLevelDebug MTL_LOG_BUFFER_SIZE=2048 MTL_LOG_TO_STDERR=1 However there's an issue with the guide, it's only covers Xcode project setup, however I'm working on a Swift Package. It has a Metal-only target that's included into main target like this: targets: [ // A separate target for shaders. .target( name: MetalShaders, resources: [ .process(Metal) ], plugins: [ // https://github.com/schwa/MetalCompilerPlugin .plugin(name: MetalCompilerPlugin, package: MetalCompilerPlugin) ] ), // Main target .target( name: MegApp, dependencies: [MetalShaders] ), .testTarget( name: MegAppTests, dependencies: [ MegApp, MetalShaders, ] ] So to apply compiler flag I use MetalCompilerPlugin which emits debug.metallib, it also allows to define DEBUG macro for shaders. This code compiles: #ifdef DEBUG logger.log_error(Hello There!); os_log
1
0
409
2d
Reply to XCode26 - Unable to launch Image in storyboard for landscape picture in Portrait orientation
I had updated the github code here for the setting . Please advise the specific setting The configuration that I see in the GitHub repository looks correct now in terms of overall configuration of your Launch Storyboard and the overall keys. However, I will reiterate what I said earlier to make sure that the contents of your launch screen match the Human Interface Guidelines. — Ed Ford,  DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2d