Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,372 results found

Post

Replies

Boosts

Views

Activity

Reply to Programatically adding to a TextField and moving the TextSelection point in SwiftUI
Thanks for the focused reproducer and the video — they made this easy to investigate. There are two separate problems in what you're seeing, and the right answer is to switch to a different SwiftUI API for this kind of programmatic text editing. The bug in your code: String.Index invalidation after replaceSubrange RangeReplaceableCollection.replaceSubrange(_:with:) invalidates all indices into the collection (per the documentation), not just indices at or after the modified range. In your code: self.text.replaceSubrange(from..
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Reply to SwiftUI retain cycle with .searchable
@hydrudcatt3 Thanks for the post. The thread is 4 years old, I think will be a great idea if you could post a new thread with all the details of the issue and the code you have posted. Is what you experiencing like SwiftUI's implementation of .searchable sometimes holds onto the Binding longer than the view's lifecycle? Is that what you are seeing? Looking forward to see your new post with all the details. Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Reply to MusicKit playback completely broken after Apple Music “What’s New?” update screen until native app is opened
You've narrowed this down well, and the corroborating reply confirms it isn't device-specific. What you're describing isn't expected behavior — third-party MusicKit clients shouldn't lose access to playback because the native Apple Music app has a pending post-update onboarding modal. Shared service initialization (account readiness, subscription state, and so on) should happen independently of the native app's UI state, and the fact that a single Apple Music launch + modal dismiss restores everything to working order points to some shared component lazy-initializing only when Apple Music itself runs. A few things: On a force service initialization API: there isn't one in public MusicKit, and adding one wouldn't be the right fix — the underlying services shouldn't get into a broken state in the first place. That's the bug. Please file a Feedback Report. Even if other developers have already filed, duplicates matter — independent reports count as a signal of impact, so each FB from an affected app raises visib
Topic: Media Technologies SubTopic: Audio Tags:
2w
Filtering Applications in Device Activity Report can lead to 0 data bug for Parents/Guardian or Organizer roles only
I have been building an app where I have the user select what apps they would like to track and then I display a device activity report of only those apps. The device activity report shows data perfectly for the selected apps if the users apple account is Adult. If the users apple account is Parent/Guardian or Organizer randomly the device activity report will show 0 minutes (no screen time data). Among randomly happening I have found a trigger for the bug to be opening any FamilyActivityPicker (even not the one used for filtering the device activity report extension) then going back to the device activity report extension on the profile page anywhere from 3-50 times. Once the bug happens repeating that process 1-2 times fixes it or removing screen time restrictions permission then adding it back.
0
0
136
2w
Reply to StoreKit testing not working on iOS26.5 simulator
We are also running into the same issues. Test broke in iOS 26.3 [SKTestSession] Error saving configuration file: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error clearing overrides: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error deleting all transactions: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error setting value to 1 for identifier 2 for com.keepsafe.development.KeepSafe: Error Domain=SKInternalErrorDomain Code=3 (null)
2w
Reply to App to App Redirection with universal link
Thank you for the post. Please check your SSL certificate as seems to have intermediate SSL errors. curl -v https://rob-auth.bankalbilad.com/.well-known/apple-app-site-association After you fix the SSL certificate you should read the Tech Note TN3155: Debugging universal links | Apple Developer Documentation#Use-universal-links-on-your-site {applinks:{details:[{appIDs:[2TK5X82C47.com.bankalbilad.NewRMB],components:[{/:/*,comment:}]}]}} As your AASA format is not correct neither. Look for an example of the AASA file. If you go over the troubleshooting and still have issues, I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by Albert Pascual at Apple and make sure to include a link to this thread. Thanks Albert
  Worldwide Developer Relations.
2w
Reply to WeatherKit JWT token generation fails with WDSJWTAuthenticator Code=2 despite correct entitlement
I am seeing the same issue with a native iOS app using WeatherKit.framework. Runtime error: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 I verified: WeatherKit is enabled for the App ID A new iOS App Development provisioning profile was created after enabling WeatherKit The app is manually signed with the new profile The app was deleted and freshly reinstalled on a physical iPhone The built app contains com.apple.developer.weatherkit = true The embedded provisioning profile also contains com.apple.developer.weatherkit Bundle ID and Team ID match the App ID The issue persists after waiting and rebooting the iPhone Bundle ID: de.praxishartlep.weathermat Application identifier: .de.praxishartlep.weathermat This looks like the same server-side JWT minting/authentication issue described above.
Topic: App & System Services SubTopic: General Tags:
2w
Sign in with Apple returns invalid OAuth response — Team ID issue?
Hi everyone, I'm experiencing a persistent issue with Sign in with Apple on my iOS app that I cannot resolve from my side. I've already opened a support case (ID: 20000115382721) and received a reply directing me back to the Developer Forum, so I'm posting here in hopes someone has encountered the same issue or can offer guidance. Error message: FirebaseAuthException: [firebase_auth/invalid-credential] Invalid OAuth response from apple.com Critical observation: The Apple authentication screen never appears. When the user taps Continue with Apple, the error is returned immediately. This suggests the request is being rejected before reaching Apple's authentication servers — pointing to a backend configuration issue on Apple's side for my Team ID. My setup: Team ID: DHKU23JL7H Bundle ID: com.expensespy.app Framework: Flutter with sign_in_with_apple package v7.0.1 Backend: Firebase Authentication Other auth methods (Google Sign-In, Email/Password): working correctly Verified configuration (all done correctly): Ap
3
0
679
2w
Waiting for Review for more than a month
Hi, I am new here. Wanted to publish my first app in App store in January. In January the review process was pretty fast, I got answers every 2-3 days. In February it got to 30 days or more. I've been waiting for more than 30 days and got a reject due to app quality. Since that I fixed all the bugs and UI is now smooth. I applied for another review and still waiting for about 45 days now. I contacted support, but didn't receive any response. Please help!
1
0
68
2w
Reply to Unusually long “Waiting for Review” times this week (App Store + TestFlight delays?)
I got my app released with 48 hours of waiting but for the first update we have been waiting for 2 months. We didn't get any rejections before at all, and I tried all of the ways to contact them (Support Ticket, email, forum, expedited review). Do you now any ways to solve this? We cannot publish the game because the first version had lots of changes and the game looks completely different in iOS and Android (which got approved so fast).
2w
Reply to Can DEVELOPER_DIR or xcode-select support Command Line Tools at custom paths?
Followup: filed FB21570087 per Quinn's suggestion. Digging into the behavior for the write-up turned up something my original report missed. The check in xcrun / clang is on the basename of the developer path, not the full path: basename CommandLineTools -> accepted as a CLT install path matches *.app/Contents/Developer -> tried as Xcode (also needs Info.plist + xcodebuild) anything else -> rejected with the unable to find Xcode installation error The parent directory isn't checked. My attempt with /Library/Developer/CommandLineTools-26.2.0 failed because of the basename, not the location. Since DEVELOPER_DIR is a per-process env var, not the global xcode-select selection, parallel multi-version CLT actually works: DEVELOPER_DIR=/opt/clt/17/CommandLineTools clang --version # 17.x DEVELOPER_DIR=/opt/clt/16/CommandLineTools clang --version # 16.x Two shells can run these concurrently and each sees its own CLT. /Library/Developer/CommandLineTools can still point at one of them as the default fo
2w
App Update Stuck 'In Review' for 60+ Days - Submission ID: 50057266
Hello Apple Review Team, Our app update has been stuck in In Review status for almost 2 months, and we are unable to get any updates or response through the standard channels. App Details: App Name: Pomodoro Timer: CoffeePomodoro App ID: 6756186616 Version: 1.3.0 (Build 2) Submission ID: 50057266-51aa-4b7a-ad93-c3310c200f21 Date Submitted: March 15, 2026 Current Status: In Review (for ~60 days) We have already submitted multiple Contact Us requests through App Store Connect, but have not received any response or explanation for the extended review time. This prolonged delay is significantly impacting our release schedule and our ability to deliver bug fixes and improvements to our users. The update contains important fixes that our users are waiting for. Could someone from the App Review team please: Look into why this submission has been pending for this long? Provide an estimated timeline or any feedback if there's an issue with the build? Let us know if any additional information is requi
1
0
97
2w
EndpointSecurity AUTH_SIGNAL Handler Causes Dock UI Desync and Activity Monitor Force Quit Failure
ES_EVENT_TYPE_AUTH_SIGNAL DENY causes Dock icon to disappear and LaunchServices to lose track of the process Platform: macOS 11.0 (Big Sur) – macOS 15 (Sequoia) Xcode: 16.4 (16F6) Language: Swift, EndpointSecurity framework Testing OS: macOS 15.5 (primary), reproduced on macOS 11.0+ [1]Description I'm developing a System Extension using the EndpointSecurity framework for a security product. My extension subscribes to ES_EVENT_TYPE_AUTH_SIGNAL to block unauthorized signals sent to protected GUI applications (self-protection feature). When I respond with ES_AUTH_RESULT_DENY to an AUTH_SIGNAL event targeting a GUI application, the system enters an inconsistent state: The Dock icon disappears — loginwindow removes the app's UI via its applicationQuit event, even though the process is still running LaunchServices loses track of the application's PID — it can no longer determine the PID from the LSASN Activity Monitor's subsequent Force Quit attempts fail silently — no kill() syscall is issued because LaunchService
3
0
137
2w
Reply to Programatically adding to a TextField and moving the TextSelection point in SwiftUI
Thanks for the focused reproducer and the video — they made this easy to investigate. There are two separate problems in what you're seeing, and the right answer is to switch to a different SwiftUI API for this kind of programmatic text editing. The bug in your code: String.Index invalidation after replaceSubrange RangeReplaceableCollection.replaceSubrange(_:with:) invalidates all indices into the collection (per the documentation), not just indices at or after the modified range. In your code: self.text.replaceSubrange(from..
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
2w
StoreKit 2 returns empty products array on device (iPhone) even though IAP is Ready to Submit
Hi, I'm experiencing an issue with StoreKit 2 in my iOS app where Product.products(for:) always returns an empty array on a real iPhone device. 📱 Environment iOS: 26 Device: iPhone 16 pro max Xcode: 26.5 StoreKit: StoreKit 2
Replies
1
Boosts
0
Views
102
Activity
2w
Reply to SwiftUI retain cycle with .searchable
@hydrudcatt3 Thanks for the post. The thread is 4 years old, I think will be a great idea if you could post a new thread with all the details of the issue and the code you have posted. Is what you experiencing like SwiftUI's implementation of .searchable sometimes holds onto the Binding longer than the view's lifecycle? Is that what you are seeing? Looking forward to see your new post with all the details. Albert
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
2w
Reply to MusicKit playback completely broken after Apple Music “What’s New?” update screen until native app is opened
You've narrowed this down well, and the corroborating reply confirms it isn't device-specific. What you're describing isn't expected behavior — third-party MusicKit clients shouldn't lose access to playback because the native Apple Music app has a pending post-update onboarding modal. Shared service initialization (account readiness, subscription state, and so on) should happen independently of the native app's UI state, and the fact that a single Apple Music launch + modal dismiss restores everything to working order points to some shared component lazy-initializing only when Apple Music itself runs. A few things: On a force service initialization API: there isn't one in public MusicKit, and adding one wouldn't be the right fix — the underlying services shouldn't get into a broken state in the first place. That's the bug. Please file a Feedback Report. Even if other developers have already filed, duplicates matter — independent reports count as a signal of impact, so each FB from an affected app raises visib
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
2w
Filtering Applications in Device Activity Report can lead to 0 data bug for Parents/Guardian or Organizer roles only
I have been building an app where I have the user select what apps they would like to track and then I display a device activity report of only those apps. The device activity report shows data perfectly for the selected apps if the users apple account is Adult. If the users apple account is Parent/Guardian or Organizer randomly the device activity report will show 0 minutes (no screen time data). Among randomly happening I have found a trigger for the bug to be opening any FamilyActivityPicker (even not the one used for filtering the device activity report extension) then going back to the device activity report extension on the profile page anywhere from 3-50 times. Once the bug happens repeating that process 1-2 times fixes it or removing screen time restrictions permission then adding it back.
Replies
0
Boosts
0
Views
136
Activity
2w
Reply to StoreKit testing not working on iOS26.5 simulator
We are also running into the same issues. Test broke in iOS 26.3 [SKTestSession] Error saving configuration file: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error clearing overrides: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error deleting all transactions: Error Domain=SKInternalErrorDomain Code=3 (null) [SKTestSession] Error setting value to 1 for identifier 2 for com.keepsafe.development.KeepSafe: Error Domain=SKInternalErrorDomain Code=3 (null)
Replies
Boosts
Views
Activity
2w
Reply to App to App Redirection with universal link
Thank you for the post. Please check your SSL certificate as seems to have intermediate SSL errors. curl -v https://rob-auth.bankalbilad.com/.well-known/apple-app-site-association After you fix the SSL certificate you should read the Tech Note TN3155: Debugging universal links | Apple Developer Documentation#Use-universal-links-on-your-site {applinks:{details:[{appIDs:[2TK5X82C47.com.bankalbilad.NewRMB],components:[{/:/*,comment:}]}]}} As your AASA format is not correct neither. Look for an example of the AASA file. If you go over the troubleshooting and still have issues, I'd like you to submit a code-level support request so we can discuss this further privately. When you create the request, indicate that you were referred by Albert Pascual at Apple and make sure to include a link to this thread. Thanks Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
2w
Reply to WeatherKit JWT token generation fails with WDSJWTAuthenticator Code=2 despite correct entitlement
I am seeing the same issue with a native iOS app using WeatherKit.framework. Runtime error: WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 I verified: WeatherKit is enabled for the App ID A new iOS App Development provisioning profile was created after enabling WeatherKit The app is manually signed with the new profile The app was deleted and freshly reinstalled on a physical iPhone The built app contains com.apple.developer.weatherkit = true The embedded provisioning profile also contains com.apple.developer.weatherkit Bundle ID and Team ID match the App ID The issue persists after waiting and rebooting the iPhone Bundle ID: de.praxishartlep.weathermat Application identifier: .de.praxishartlep.weathermat This looks like the same server-side JWT minting/authentication issue described above.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Enrollment to finalize for more that 6 days
Good day, I have submitted my order after I got enrolled 6 days ago and my enrollment has not been finalized yet? Please assist. my enrollment id is 78TSDMJKYB. I have sent a email for support but did not get any feedback. After the order was submitted I received a email that it will be finalized within 2 business days. Thank you
Replies
1
Boosts
0
Views
124
Activity
2w
Sign in with Apple returns invalid OAuth response — Team ID issue?
Hi everyone, I'm experiencing a persistent issue with Sign in with Apple on my iOS app that I cannot resolve from my side. I've already opened a support case (ID: 20000115382721) and received a reply directing me back to the Developer Forum, so I'm posting here in hopes someone has encountered the same issue or can offer guidance. Error message: FirebaseAuthException: [firebase_auth/invalid-credential] Invalid OAuth response from apple.com Critical observation: The Apple authentication screen never appears. When the user taps Continue with Apple, the error is returned immediately. This suggests the request is being rejected before reaching Apple's authentication servers — pointing to a backend configuration issue on Apple's side for my Team ID. My setup: Team ID: DHKU23JL7H Bundle ID: com.expensespy.app Framework: Flutter with sign_in_with_apple package v7.0.1 Backend: Firebase Authentication Other auth methods (Google Sign-In, Email/Password): working correctly Verified configuration (all done correctly): Ap
Replies
3
Boosts
0
Views
679
Activity
2w
Waiting for Review for more than a month
Hi, I am new here. Wanted to publish my first app in App store in January. In January the review process was pretty fast, I got answers every 2-3 days. In February it got to 30 days or more. I've been waiting for more than 30 days and got a reject due to app quality. Since that I fixed all the bugs and UI is now smooth. I applied for another review and still waiting for about 45 days now. I contacted support, but didn't receive any response. Please help!
Replies
1
Boosts
0
Views
68
Activity
2w
Reply to Unusually long “Waiting for Review” times this week (App Store + TestFlight delays?)
I got my app released with 48 hours of waiting but for the first update we have been waiting for 2 months. We didn't get any rejections before at all, and I tried all of the ways to contact them (Support Ticket, email, forum, expedited review). Do you now any ways to solve this? We cannot publish the game because the first version had lots of changes and the game looks completely different in iOS and Android (which got approved so fast).
Replies
Boosts
Views
Activity
2w
Reply to Can DEVELOPER_DIR or xcode-select support Command Line Tools at custom paths?
Followup: filed FB21570087 per Quinn's suggestion. Digging into the behavior for the write-up turned up something my original report missed. The check in xcrun / clang is on the basename of the developer path, not the full path: basename CommandLineTools -> accepted as a CLT install path matches *.app/Contents/Developer -> tried as Xcode (also needs Info.plist + xcodebuild) anything else -> rejected with the unable to find Xcode installation error The parent directory isn't checked. My attempt with /Library/Developer/CommandLineTools-26.2.0 failed because of the basename, not the location. Since DEVELOPER_DIR is a per-process env var, not the global xcode-select selection, parallel multi-version CLT actually works: DEVELOPER_DIR=/opt/clt/17/CommandLineTools clang --version # 17.x DEVELOPER_DIR=/opt/clt/16/CommandLineTools clang --version # 16.x Two shells can run these concurrently and each sees its own CLT. /Library/Developer/CommandLineTools can still point at one of them as the default fo
Replies
Boosts
Views
Activity
2w
App Update Stuck 'In Review' for 60+ Days - Submission ID: 50057266
Hello Apple Review Team, Our app update has been stuck in In Review status for almost 2 months, and we are unable to get any updates or response through the standard channels. App Details: App Name: Pomodoro Timer: CoffeePomodoro App ID: 6756186616 Version: 1.3.0 (Build 2) Submission ID: 50057266-51aa-4b7a-ad93-c3310c200f21 Date Submitted: March 15, 2026 Current Status: In Review (for ~60 days) We have already submitted multiple Contact Us requests through App Store Connect, but have not received any response or explanation for the extended review time. This prolonged delay is significantly impacting our release schedule and our ability to deliver bug fixes and improvements to our users. The update contains important fixes that our users are waiting for. Could someone from the App Review team please: Look into why this submission has been pending for this long? Provide an estimated timeline or any feedback if there's an issue with the build? Let us know if any additional information is requi
Replies
1
Boosts
0
Views
97
Activity
2w
EndpointSecurity AUTH_SIGNAL Handler Causes Dock UI Desync and Activity Monitor Force Quit Failure
ES_EVENT_TYPE_AUTH_SIGNAL DENY causes Dock icon to disappear and LaunchServices to lose track of the process Platform: macOS 11.0 (Big Sur) – macOS 15 (Sequoia) Xcode: 16.4 (16F6) Language: Swift, EndpointSecurity framework Testing OS: macOS 15.5 (primary), reproduced on macOS 11.0+ [1]Description I'm developing a System Extension using the EndpointSecurity framework for a security product. My extension subscribes to ES_EVENT_TYPE_AUTH_SIGNAL to block unauthorized signals sent to protected GUI applications (self-protection feature). When I respond with ES_AUTH_RESULT_DENY to an AUTH_SIGNAL event targeting a GUI application, the system enters an inconsistent state: The Dock icon disappears — loginwindow removes the app's UI via its applicationQuit event, even though the process is still running LaunchServices loses track of the application's PID — it can no longer determine the PID from the LSASN Activity Monitor's subsequent Force Quit attempts fail silently — no kill() syscall is issued because LaunchService
Replies
3
Boosts
0
Views
137
Activity
2w