Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,634 results found

Post

Replies

Boosts

Views

Activity

Fix text in accessory view
Do you guys know how to fix the render of the text in the accessory view ? If I force the color of text to be .black it work but it will break dark mode, but forcing it .black : .white on color scheme changes makes white to still adapt to what is behind it I have noticed that Apple Music doesn’t have that artifact and it seems to break when images are behind the accessory view // MARK: - Next Routine Accessory @available(iOS 26.0, *) struct NetxRoutinesAccessory: View { @ObservedObject private var viewModel = RoutineProgressViewModel.shared @EnvironmentObject var colorSchemeManager: ColorSchemeManager @EnvironmentObject var routineStore: RoutineStore @EnvironmentObject var freemiumKit: FreemiumKit @ObservedObject var petsStore = PetsStore.shared @Environment(.colorScheme) private var colorScheme // Tab accessory placement environment @Environment(.tabViewBottomAccessoryPlacement) private var accessoryPlacement // Navigation callback var onTap: (() -> Void)? @State private var isButtonPressed = false /// Ex
Topic: UI Frameworks SubTopic: SwiftUI
2
0
174
1w
Reply to iOS 26 NavigationStack Title Rendering Issue
@MegaWatt Feel free to reply with focused sample code that runs without any external dependencies, unless absolutely necessary for the issue to be replicated, and I can take a look if something fishy is going on 🎣🔍💭. Please note which iOS and Xcode version is used, thank you.  Travis Trotto - DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
iOS 26 NavigationStack Title Rendering Issue
Is anyone else experiencing NavigationStack title disappearing in iOS 26? Hey everyone, I just updated to iOS 26 and I'm running into a really frustrating issue with my app. Wondering if anyone else is seeing this or if I'm missing something obvious. What's happening: My navigation titles are completely blank when the app first loads, but then magically appear when I scroll down. It's super weird and makes my app look broken at first glance. My setup: I'm using NavigationStack with some pretty standard stuff: Navigation title with .navigationTitle() A toolbar with a settings button ScrollView content with a gradient background Here's basically what I have: NavigationStack { ScrollView { VStack(spacing: 24) { // My app content here - cards, etc. ForEach(myItems) { item in // Content cards } } .padding() } .background( LinearGradient( gradient: Gradient(colors: [ Color.surfacePrimary, Color.surfacePrimary.opacity(0.95), Color.surfaceSecondary.opacity(0.3) ]), startPoint: .top, endPoint: .bottom ) ) .navigationT
4
0
297
1w
Reply to iOS 26 NavigationStack Title Rendering Issue
I see the navigationTitle as expected without being provided the same myItems, .surfacePrimary and .surfaceSecondary that you used (I used an EmptyView and two generic color options). If the issue persists when you remove these dependencies, please file a bug report that mentions what exact version(s) of iOS and Xcode is affected. Share the FB number and updated sample code below and I can investigate accordingly. Thank you,  Travis Trotto - DTS Engineer
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
Xcode Crashes when viewing XCUITest Result
I've been working on UI Tests for a month or two and things have been great. But I believe there was a recent update to Xcode [running Version 26.2 (17C52)] and since then about 80% of the time when I try to view the test results so I can see the screenshots and video, Xcode crashes hard and I have to open it again. I've tried cleaning the Build folder and Derived Data and all sorts of stuff like that. Restarted Xcode, restarted my computer, etc. Any idea of how I can avoid these crashes?
3
0
170
1w
Individual to Organization convert time
My app was rejected for external testing due to needing to be published by an organization account. I used the option to convert my account with my LLC and entered my duns number and information. When I submitted the change it said it would take 1-2 days. It has been a week and I have not heard anything, or had any response to my support request. I have had my app published to Google play for 2 weeks and my iOS users feel left out. How long am I supposed to wait? Should I just create a new account under my organization? Will this cause an interference having my app on two accounts?
1
0
44
1w
Family Controls Entitlement Stuck in "Submitted" Status for Shield Extension - 2+ Weeks
Hello, I'm experiencing a significant delay getting the Family Controls entitlement approved for my Shield Configuration Extension, and I'm hoping someone here can help or has experienced something similar. Background: I'm developing an app that uses the Screen Time API with Family Controls. My main app bundle (lukedev.Bloka) was approved for Family Controls (Distribution) and works perfectly. The Problem My Shield Configuration Extension (lukedev.Bloka.Shield) has been stuck waiting for approval for over 2 weeks: Request ID: 6C8LD22UVM Submitted: November 20, 2025 Status: Still Submitted Current State: Only shows Family Controls (Development) in capabilities What I've Tried ✅ Submitted entitlement request via the proper channels ✅ Contacted Apple Developer Support (case #102762028251) ✅ Verified the main app has full Family Controls approval ✅ Deleted and regenerated all provisioning profiles multiple times ✅ Confirmed the App ID configuration is correct in the Developer Portal The Issue Without Fam
1
0
153
1w
Reply to How does one get the locale-specific character set encoding on a Cocoa App
A character encoding reflects the way the coded character set is mapped to bytes in memory. When using Terminal on macOS, you interact with the system via inputting characters, and the system needs to know how the characters are laid out in memory, which is the character encoding. Terminal by default uses UTF-8, which is described in the LANG environment, as you have noticed. In a Cocoa app, you handle text, which is a series of characters, via the Cocoa framework. Typically, you create a piece of text using String in Swift, or NSString in Objective C, and pass it to the system for text rendering. When creating a string type, you need to specify the encoding of your content – You can see that the init methods of Swift.String and NSString typically have an encoding parameter. If you don't, you are assumed to use the default encoding, which is UTF-8 for Swift.String and UTF-16 for NSString. Other than that, you most likely don't need to care the character encoding. Having said that, I am curious why yo
1w
Reply to HealthKit backgroundDelivery is only triggering in the background while charging
What you described doesn't seem to happen to me when I try with my iPhone + iOS 26.1 (23B85). Would you mind to share the device configuration, relevant code snippets, and detailed steps you used to observe the behavior? To observe the baseline behavior, I'd suggest that you start with an iPhone that has a high battery level (over 80%, for example), because the system may decide to not deliver an update if the battery level is low, even the device isn't in the low battery mode. This is especially true on watchOS. Best, —— Ziqiao Chen  Worldwide Developer Relations.
1w
Switch from Individual to Organization Membership
Hi there, How long does it take to make a switch from Apple individual to organization membership? I initiated the process a 2 weeks ago, and I am get to receive another notification from Apple. Keeps showing We’re processing your membership migration from an individual to an organization. And I am unable to submit an application that requires Organization account.
9
0
7.1k
1w
Is it safe to manually edit Package.swift (iOS Version & Orientation) for SSC 2026?
Hi everyone, I am working on my submission for the Swift Student Challenge 2026 using a Swift App Playground (.swiftpm). The default project was set to iOS 16, but I manually edited the Package.swift file to change the minimum version to iOS 18.0 so I can use the latest APIs. I also modified the supportedInterfaceOrientations to lock the app to Portrait mode only. I know the file contains a warning saying Do not edit it by hand, so I am worried about two things: Disqualification: Will manually changing the iOS version from the default 16.0 to 18.0 cause any issues with the submission validator or the judging environment? Orientation: Is it acceptable to strictly force .portrait mode for the challenge, or are we required to support landscape/responsive layouts for the judges' iPads? I want to make sure these manual changes won't technically invalidate my playground. Thanks for your help!
1
0
111
1w