Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,376 results found

Post

Replies

Boosts

Views

Activity

Reply to iOS 26 regression: `DeviceActivityEvent`: `eventDidReachThreshold` called immediately (instead of waiting till threshold is reached)
[quote='886314022, ohadh123, /thread/808470?answerId=886314022#886314022, /profile/ohadh123'] Can confirm as well that for the past two weeks, it seems to be behaving well. Would you happen to know when the newest iOS shipping to users? [/quote] That’s great to hear! Historically, after a Release Candidate of a beta has been released, it only takes one or two weeks till the final release. So could be something like Monday the 11th or 18th…
3w
Reply to Transaction.currentEntitlements returns empty for offer code subscriptions redeemed via Safari
Hi, Please check unfinished transactions as well. https://developer.apple.com/documentation/storekit/supporting-offer-codes-in-your-app#Support-offer-codes-redeemed-outside-of-your-app If this is still an issue please capture a sysdiagnose and share an example code to test via a ticket. Thank you How to File Feedback assistant ticket? https://feedbackassistant.apple.com/ Login with your developer account, Choose iOS & iPadOS” Choose AppStore “Incorrect & Unexpected behavior Input the issue description and title. Upload attachements Click “Submit” Copy the Ticket ID “FBxxxxxxx” and let us know. To capture a system diagnose log. https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/
3w
Reply to Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution
Unfortunately using your code as of: func application( _ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler: @escaping () -> Void) { let runCompletionHandler = { @MainActor in completionHandler() } Task.init{ await GeoreferenceQueue.shared.addCompletionHandler(runCompletionHandler) } } produces: Sending 'completionHandler' risks causing data races And @MainActor in your code is blue as it were recognized, in my code it remain black. And moreover in the actor at: func addCompletionHandler(_ h: @escaping (() async -> Void)) { backgroundCompletionHandler=h } I have: /Users/fbartolom/Documents/cocoa applications/iPuja/Classes/GeoreferenceQueue.swift:78:36 Invalid conversion from 'async' function of type '() async -> Void' to synchronous function type '() -> Void' On the assignment of h to the variable In practice previously I had an error message, now two...
Topic: Programming Languages SubTopic: Swift Tags:
3w
“Your enrollment could not be completed.” Please review my case
I am very disappointed and frustrated. I applied a developer account two months ago and is getting stuck in somewhere. After two months and many rounds of email and call communications, apple support cannot provide the reason/solution/alternatives how to proceed my application. Background: I applied an apple developer account through developer web in Mar, and received order acknowledging email from apple team. It said that it will take 2 working days for processing. However, two weeks later, it is still no news. Then I created the support ticket by email and wait for two weeks, apple support team recommended me to apply the account through “developer app” instead, then I follow the guideline to apply and encounter the ID image submission error. After few days, when I revisited the developer web and checked the status, it showed “Your enrollment could not be completed.” I tried to send several rounds of email, but got no reply for almost one month, finally, I call d
2
0
195
3w
Update stuck in 'In Review' for 80 days — Developer Support says they can't reach App Review
Hello, I'm posting again — and unfortunately, I already know how this thread is going to go. My app (ID: 6756186616) has now been stuck in In Review for 80 days. To save everyone time, here is the reply I expect to receive within a day or two, copy-pasted from the response on my last thread: Thank you for your post. We're investigating and The App Review team will contact you in App Store Connect to provide further assistance. If you continue to experience issues during review, please contact us. Nothing actually happened after that reply last time. No follow-up in App Store Connect. No further communication. Just silence. When I escalated to Developer Support (case #20000111565861), I was told explicitly that Developer Support has no way to reach the App Review team and no authority to intervene on submissions stuck in review. So Developer Support points back to App Review, and the standard forum reply points back to contact us — which loops back to Developer Support. This is a closed loop that does
5
0
597
3w
Your enrollment could not be completed. Please help to review my case.
I am very disappointed and got no help/solution from Apple development team after many rounds of email communication and calls. Two months ago, I went through the process in apple developer website and purchased a developer account and received order acknowledging email from apple team, it said it will take 2 working days for process, however, there is no news after half a month, so I send email for enquires, and about two weeks later, I received the support reply that I should try to apply the account through developer app and I follow his guide to continue the workflow, however, I cannot submit my ID through the APP and prompted error. Few days later, the developer web prompts Your enrollment could not be completed Then I sent several emails to developer support and got no response, finally, I call the developer support several times that they cannot explain the reason why my application is getting stuck somewhere and cannot provide the solution/alternatives. I hope someone here o
1
0
92
3w
Switch to organization membership - HELP?
I have an individual membership which I want to switch to organization membership. Ive completed all the forms and stuff, now multiple times, without getting any response. So 2 months ago I contacted support, and then again last month, and now earlier this week - No answer. So what do I do now? Ive tried submitting the form, nothing happens. Multiple times now. Ive tried contacting support, nothing happens. Multiple times. Whats my solution here? This is stopping me from publishing.
2
0
76
3w
notarytool submissions stuck "In Progress" indefinitely — account-specific issue?
Hello, I've been trying to notarize my macOS app using xcrun notarytool, but all submissions get stuck in In Progress status indefinitely (30+ minutes, never resolve). Environment: Tool: xcrun notarytool (Xcode 16) Bundle ID: io.pix-cull.app Team ID: C473MUK7G2 App type: PyInstaller-built .app, wrapped in a signed .dmg Stuck submission IDs: 00e953da (first attempt) f7ab027e 3e35fc3f 293541bc-ba61-4ccb-a273-a8f34cda2422 (most recent) Steps I've already taken: Disabled UPX compression in PyInstaller spec Signed all binaries inside-out (deepest first, .app last) Used --timestamp flag during codesign Verified Apple system status — all services show green Waited 24+ hours on the oldest submission — still In Progress What I observe: Running xcrun notarytool info returns status: In Progress every time, no matter how long I wait. The submission never transitions to Accepted or Invalid. Other developers report notarization completing in 2–15 minutes. I also submitted a ticket to Apple Developer Support (DTS)
1
0
501
3w
[iOS 26.x] WKWebView crashes with NSInternalInconsistencyException — KVO inconsistency on configuration.enforcesChildRestrictions from STScreenTimeConfigurationObserver
Summary We are seeing a recurring fatal NSInternalInconsistencyException on iOS 26.x devices. The crash originates entirely from system frameworks (Foundation / WebKit / Screen Time / NSXPCConnection) — there are no app frames in the stack. The exception is raised from an XPC reply on a worker thread, so the host app cannot wrap it in @try/@catch. The crash appears to be a KVO consistency check failing inside the platform's internal Screen Time observer (STScreenTimeConfigurationObserver) when it observes WKWebView's configuration.enforcesChildRestrictions key path. The exception message states the value of the intermediate key configuration changed without an appropriate KVO notification. Environment iOS versions: 26.2.1 (also seen on 26.0.x – 26.2.x) Devices: iPhone 13 (iPhone14,5), iPhone 16 Plus, others App orientation: portrait Process state at crash: BACKGROUND (most occurrences) App uses WKWebView in several screens (link preview, in-app web, 3rd-party SDK web views) Crash is recurring across multiple
1
0
799
3w
Crash in PDFView / PDFPageAnalyzerV2
Hello. Some users of my app experience crashes that mention PDFKit. I managed to find out what specific PDF file caused the crash and created a sample that demonstrates the issue and created a bug report in Feedback Assistant (FB22409977). Unfortunately I didn't get any answer for over a month, hence I'm writing it here so others can see that this is a known issue. The crash repro sample is very simple, it's just a PDFView that opens a bundled PDF file upon application lanunch. To cause the crash it is only needed to zoom-in and move around the page that has a table. The crash happens when the system tries to do some sort of OCR. The original crash report came from iPhone 11 user running iOS 26.3.1. Recently another user with iPhone 16 Pro Max running 26.5 experienced the same crash. Thread 12 Queue : PDFKWit.PDFDocument.formFillingQueue (serial) #0 0x000000018d320bd8 in PageLayout::GetBoundsForRangeWithinLine () #1 0x000000018d320c88 in PageLayout::GetBoundsForTextRange () #2 0x000000018d393028 in C
2
0
290
3w
Keychain Group
Dear Apple Developer Support Team, I would like to inquire whether there is a stable and official method to obtain the correct Team ID. When my app attempts to store data in the Keychain on a physical device, the retrieved Team ID is an unknown one and does not match the Team ID of my developer certificate. This issue consistently results in Keychain access failure with error code -34018. Could you please advise the root cause and provide a reliable solution to fix this Team ID mismatch and resolve the -34018 Keychain error? NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: kSecClassGenericPassword, kSecClass, @bundleSeedID, kSecAttrAccount, @, kSecAttrService, (id)kCFBooleanTrue, kSecReturnAttributes, nil]; CFDictionaryRef result = nil; OSStatus status = SecItemCopyMatching((CFDictionaryRef)query, (CFTypeRef *)&result); if (status == errSecItemNotFound) status = SecItemAdd((CFDictionaryRef)query, (CFTypeRef *)&result); if (status != errSecSuccess) return nil; NSString *access
5
0
729
3w
Reply to MacCatalyst, UIScene and the green zoom/fullscreen button
Perhaps ending with that question was a mistake; obviously, I should use a new control. But I have used the zoom/no zoom feature since the birth of MacCat in 2019, ... There are two UISceneWindowDelegate methods didUpdateCoordinateSpace and didUpdateEffectiveGeometry, and by inspection it's possible to infer which of the two states the App should configure itself. The problem is that these methods are both “did” variants, there are no “will” methods. My App should never be in fullscreen. (Note Xcode 26.4.1 is aware of willUpdateEffectiveGeometry, but it was never called - maybe in the future.) The new zoom button control worked fine, by setting the scene’s size restriction minimumSize and maximumSize attributes appropriately. Positioning the new zoom control precisely over the green button didn’t work, the green guy intercepted events. Hovering over the green button posts a dialog showing all 15 possible action variations, none useful to me. But, of course, I had long ago missed windowScene.
Topic: UI Frameworks SubTopic: UIKit Tags:
3w
Reply to XPC Communication between Editor app and user-compiled code
[quote='886880022, JohannesD, /thread/825142?answerId=886880022#886880022, /profile/JohannesD'] This would be exactly what I need, right? [/quote] Not really. Note the user-selected component. The entitlement let’s you write non-quarantined executables to a path that the user selects using the save dialog. You could probably make that work for your use case, but it’s hardly ideal. Keep in mind that this entitlement is unrestricted [1], meaning that you can play with it without any special approval from Apple. So, if you’d like to explore this option you can do so via a quick prototype. [quote='886880022, JohannesD, /thread/825142?answerId=886880022#886880022, /profile/JohannesD'] What is a way to find out? [/quote] Not really. I don’t work for App Review, so I can’t give you definitive answers about their policy. My general advice: Consult their published guidelines. If that’s not sufficient, reach out to them directly. There have multiple paths for this, and I’m a big fan of the Appointment option. However,
3w
Reply to iOS 26 regression: `DeviceActivityEvent`: `eventDidReachThreshold` called immediately (instead of waiting till threshold is reached)
[quote='886314022, ohadh123, /thread/808470?answerId=886314022#886314022, /profile/ohadh123'] Can confirm as well that for the past two weeks, it seems to be behaving well. Would you happen to know when the newest iOS shipping to users? [/quote] That’s great to hear! Historically, after a Release Candidate of a beta has been released, it only takes one or two weeks till the final release. So could be something like Monday the 11th or 18th…
Replies
Boosts
Views
Activity
3w
Reply to Transaction.currentEntitlements returns empty for offer code subscriptions redeemed via Safari
Hi, Please check unfinished transactions as well. https://developer.apple.com/documentation/storekit/supporting-offer-codes-in-your-app#Support-offer-codes-redeemed-outside-of-your-app If this is still an issue please capture a sysdiagnose and share an example code to test via a ticket. Thank you How to File Feedback assistant ticket? https://feedbackassistant.apple.com/ Login with your developer account, Choose iOS & iPadOS” Choose AppStore “Incorrect & Unexpected behavior Input the issue description and title. Upload attachements Click “Submit” Copy the Ticket ID “FBxxxxxxx” and let us know. To capture a system diagnose log. https://developer.apple.com/services-account/download?path=/iOS/iOS_Logs/
Replies
Boosts
Views
Activity
3w
Reply to Passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution
Unfortunately using your code as of: func application( _ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler: @escaping () -> Void) { let runCompletionHandler = { @MainActor in completionHandler() } Task.init{ await GeoreferenceQueue.shared.addCompletionHandler(runCompletionHandler) } } produces: Sending 'completionHandler' risks causing data races And @MainActor in your code is blue as it were recognized, in my code it remain black. And moreover in the actor at: func addCompletionHandler(_ h: @escaping (() async -> Void)) { backgroundCompletionHandler=h } I have: /Users/fbartolom/Documents/cocoa applications/iPuja/Classes/GeoreferenceQueue.swift:78:36 Invalid conversion from 'async' function of type '() async -> Void' to synchronous function type '() -> Void' On the assignment of h to the variable In practice previously I had an error message, now two...
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
3w
“Your enrollment could not be completed.” Please review my case
I am very disappointed and frustrated. I applied a developer account two months ago and is getting stuck in somewhere. After two months and many rounds of email and call communications, apple support cannot provide the reason/solution/alternatives how to proceed my application. Background: I applied an apple developer account through developer web in Mar, and received order acknowledging email from apple team. It said that it will take 2 working days for processing. However, two weeks later, it is still no news. Then I created the support ticket by email and wait for two weeks, apple support team recommended me to apply the account through “developer app” instead, then I follow the guideline to apply and encounter the ID image submission error. After few days, when I revisited the developer web and checked the status, it showed “Your enrollment could not be completed.” I tried to send several rounds of email, but got no reply for almost one month, finally, I call d
Replies
2
Boosts
0
Views
195
Activity
3w
Update stuck in 'In Review' for 80 days — Developer Support says they can't reach App Review
Hello, I'm posting again — and unfortunately, I already know how this thread is going to go. My app (ID: 6756186616) has now been stuck in In Review for 80 days. To save everyone time, here is the reply I expect to receive within a day or two, copy-pasted from the response on my last thread: Thank you for your post. We're investigating and The App Review team will contact you in App Store Connect to provide further assistance. If you continue to experience issues during review, please contact us. Nothing actually happened after that reply last time. No follow-up in App Store Connect. No further communication. Just silence. When I escalated to Developer Support (case #20000111565861), I was told explicitly that Developer Support has no way to reach the App Review team and no authority to intervene on submissions stuck in review. So Developer Support points back to App Review, and the standard forum reply points back to contact us — which loops back to Developer Support. This is a closed loop that does
Replies
5
Boosts
0
Views
597
Activity
3w
Your enrollment could not be completed. Please help to review my case.
I am very disappointed and got no help/solution from Apple development team after many rounds of email communication and calls. Two months ago, I went through the process in apple developer website and purchased a developer account and received order acknowledging email from apple team, it said it will take 2 working days for process, however, there is no news after half a month, so I send email for enquires, and about two weeks later, I received the support reply that I should try to apply the account through developer app and I follow his guide to continue the workflow, however, I cannot submit my ID through the APP and prompted error. Few days later, the developer web prompts Your enrollment could not be completed Then I sent several emails to developer support and got no response, finally, I call the developer support several times that they cannot explain the reason why my application is getting stuck somewhere and cannot provide the solution/alternatives. I hope someone here o
Replies
1
Boosts
0
Views
92
Activity
3w
Switch to organization membership - HELP?
I have an individual membership which I want to switch to organization membership. Ive completed all the forms and stuff, now multiple times, without getting any response. So 2 months ago I contacted support, and then again last month, and now earlier this week - No answer. So what do I do now? Ive tried submitting the form, nothing happens. Multiple times now. Ive tried contacting support, nothing happens. Multiple times. Whats my solution here? This is stopping me from publishing.
Replies
2
Boosts
0
Views
76
Activity
3w
notarytool submissions stuck "In Progress" indefinitely — account-specific issue?
Hello, I've been trying to notarize my macOS app using xcrun notarytool, but all submissions get stuck in In Progress status indefinitely (30+ minutes, never resolve). Environment: Tool: xcrun notarytool (Xcode 16) Bundle ID: io.pix-cull.app Team ID: C473MUK7G2 App type: PyInstaller-built .app, wrapped in a signed .dmg Stuck submission IDs: 00e953da (first attempt) f7ab027e 3e35fc3f 293541bc-ba61-4ccb-a273-a8f34cda2422 (most recent) Steps I've already taken: Disabled UPX compression in PyInstaller spec Signed all binaries inside-out (deepest first, .app last) Used --timestamp flag during codesign Verified Apple system status — all services show green Waited 24+ hours on the oldest submission — still In Progress What I observe: Running xcrun notarytool info returns status: In Progress every time, no matter how long I wait. The submission never transitions to Accepted or Invalid. Other developers report notarization completing in 2–15 minutes. I also submitted a ticket to Apple Developer Support (DTS)
Replies
1
Boosts
0
Views
501
Activity
3w
SKU not found [Subscription & In-app purchases] , Test Env
I have Subscription and In-app purchases product ids [Waiting in Review status] created on app store , when i send the product ids from the app to store for purchase , its returning sku-not-found code in Sandbox/Testflight envirionment , I tried multiple times the result is same. Please guide me on this
Replies
3
Boosts
0
Views
133
Activity
3w
kCLErrorDomain Code=1 location failure even with full location permission granted
I'm facing a persistent location error on real iOS device: Error Domain=kCLErrorDomain Code=1 The operation couldn’t be completed. (kCLErrorDomain error 1.)
Replies
0
Boosts
0
Views
276
Activity
3w
[iOS 26.x] WKWebView crashes with NSInternalInconsistencyException — KVO inconsistency on configuration.enforcesChildRestrictions from STScreenTimeConfigurationObserver
Summary We are seeing a recurring fatal NSInternalInconsistencyException on iOS 26.x devices. The crash originates entirely from system frameworks (Foundation / WebKit / Screen Time / NSXPCConnection) — there are no app frames in the stack. The exception is raised from an XPC reply on a worker thread, so the host app cannot wrap it in @try/@catch. The crash appears to be a KVO consistency check failing inside the platform's internal Screen Time observer (STScreenTimeConfigurationObserver) when it observes WKWebView's configuration.enforcesChildRestrictions key path. The exception message states the value of the intermediate key configuration changed without an appropriate KVO notification. Environment iOS versions: 26.2.1 (also seen on 26.0.x – 26.2.x) Devices: iPhone 13 (iPhone14,5), iPhone 16 Plus, others App orientation: portrait Process state at crash: BACKGROUND (most occurrences) App uses WKWebView in several screens (link preview, in-app web, 3rd-party SDK web views) Crash is recurring across multiple
Replies
1
Boosts
0
Views
799
Activity
3w
Crash in PDFView / PDFPageAnalyzerV2
Hello. Some users of my app experience crashes that mention PDFKit. I managed to find out what specific PDF file caused the crash and created a sample that demonstrates the issue and created a bug report in Feedback Assistant (FB22409977). Unfortunately I didn't get any answer for over a month, hence I'm writing it here so others can see that this is a known issue. The crash repro sample is very simple, it's just a PDFView that opens a bundled PDF file upon application lanunch. To cause the crash it is only needed to zoom-in and move around the page that has a table. The crash happens when the system tries to do some sort of OCR. The original crash report came from iPhone 11 user running iOS 26.3.1. Recently another user with iPhone 16 Pro Max running 26.5 experienced the same crash. Thread 12 Queue : PDFKWit.PDFDocument.formFillingQueue (serial) #0 0x000000018d320bd8 in PageLayout::GetBoundsForRangeWithinLine () #1 0x000000018d320c88 in PageLayout::GetBoundsForTextRange () #2 0x000000018d393028 in C
Replies
2
Boosts
0
Views
290
Activity
3w
Keychain Group
Dear Apple Developer Support Team, I would like to inquire whether there is a stable and official method to obtain the correct Team ID. When my app attempts to store data in the Keychain on a physical device, the retrieved Team ID is an unknown one and does not match the Team ID of my developer certificate. This issue consistently results in Keychain access failure with error code -34018. Could you please advise the root cause and provide a reliable solution to fix this Team ID mismatch and resolve the -34018 Keychain error? NSDictionary *query = [NSDictionary dictionaryWithObjectsAndKeys: kSecClassGenericPassword, kSecClass, @bundleSeedID, kSecAttrAccount, @, kSecAttrService, (id)kCFBooleanTrue, kSecReturnAttributes, nil]; CFDictionaryRef result = nil; OSStatus status = SecItemCopyMatching((CFDictionaryRef)query, (CFTypeRef *)&result); if (status == errSecItemNotFound) status = SecItemAdd((CFDictionaryRef)query, (CFTypeRef *)&result); if (status != errSecSuccess) return nil; NSString *access
Replies
5
Boosts
0
Views
729
Activity
3w
Reply to MacCatalyst, UIScene and the green zoom/fullscreen button
Perhaps ending with that question was a mistake; obviously, I should use a new control. But I have used the zoom/no zoom feature since the birth of MacCat in 2019, ... There are two UISceneWindowDelegate methods didUpdateCoordinateSpace and didUpdateEffectiveGeometry, and by inspection it's possible to infer which of the two states the App should configure itself. The problem is that these methods are both “did” variants, there are no “will” methods. My App should never be in fullscreen. (Note Xcode 26.4.1 is aware of willUpdateEffectiveGeometry, but it was never called - maybe in the future.) The new zoom button control worked fine, by setting the scene’s size restriction minimumSize and maximumSize attributes appropriately. Positioning the new zoom control precisely over the green button didn’t work, the green guy intercepted events. Hovering over the green button posts a dialog showing all 15 possible action variations, none useful to me. But, of course, I had long ago missed windowScene.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
3w
Reply to XPC Communication between Editor app and user-compiled code
[quote='886880022, JohannesD, /thread/825142?answerId=886880022#886880022, /profile/JohannesD'] This would be exactly what I need, right? [/quote] Not really. Note the user-selected component. The entitlement let’s you write non-quarantined executables to a path that the user selects using the save dialog. You could probably make that work for your use case, but it’s hardly ideal. Keep in mind that this entitlement is unrestricted [1], meaning that you can play with it without any special approval from Apple. So, if you’d like to explore this option you can do so via a quick prototype. [quote='886880022, JohannesD, /thread/825142?answerId=886880022#886880022, /profile/JohannesD'] What is a way to find out? [/quote] Not really. I don’t work for App Review, so I can’t give you definitive answers about their policy. My general advice: Consult their published guidelines. If that’s not sufficient, reach out to them directly. There have multiple paths for this, and I’m a big fan of the Appointment option. However,
Replies
Boosts
Views
Activity
3w