Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,376 results found

Post

Replies

Boosts

Views

Activity

Severe Delays Once again for Security Review
Hello Everyone, For the second time in 3 months, I am seeing my app getting stuck in 'Waiting for review' state for weeks. I wrote to apple support and got an email 11 days ago saying they have initiated expedited review of the version review. But still I see no progress with the review and status is still waiting for review. I sent emails 2-3 times after that but no response. Did anyone else face this and what else can I do now? Thanks
2
0
166
2w
StoreKit 2: currentEntitlements fails for Thai users on iOS 26
On devices configured to use the Buddhist calendar (primarily Thai users) Transaction.currentEntitlements returns an empty async sequence even when the customer holds a legitimate, non-revoked, non-expired entitlement for a non-consumable in-app purchase or subscription. The same transaction is correctly returned by Transaction.all. Switching the device calendar back to Gregorian immediately restores correct behavior: the entitlement is yielded by currentEntitlements again. No reinstall, sign-out, or AppStore.sync() is required. The defect is purely client-side, deterministic, and reproducible at will. Is this a known bug introduced in iOS 26? It is causing me significant problems with in-app purchase validation and restore flows in that market. Is anyone else experiencing this issue?
1
0
294
2w
Infuriating support form error (and broken email verification)
I'm trying to submit a support request to get an issue resolved in my organization's account, but both the phone call-back and email support forms are giving errors whenever I try to submit an issue. The phone form just says There was a problem processing your request., and the email form says This email address isn’t valid. To update your email address, visit account.apple.com.. But the email address is hard-coded to my account email, and it's the main email for my company which I have been successfully using for months!! How am I supposed to get in touch to get this blocking issue fixed when all contact methods require your to go through this broken form? I suspect the original issue I was contact support about also has to do with this, since it's titled Email Verification.
2
0
274
2w
Reply to Environment Variables Blocked by OS Tahoe 26.4.1
You'll have to provide a whole lot more background here. What are you coding in Perl? An app? How is Perl related to it? I'm unaware of any environment variables being blocked. If you're trying to integrate something like Perl into an app, you aren't going to be able to use basic techniques like you would in a bash or zsh shell. There is more than one way to do it, but it depends on detailed answers to those questions above.
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
[quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] should I then extract the sysdiagnose and look in the system_logs.logarchive file? [/quote] Yes. Alternatively, if this happens on a Mac you control, you can generate a log snapshot like so: % sude log collect [quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct? [/quote] If you open the log in Console, it defaults to showing the last 5 minutes. The Showing popup between the two panes lets you control that filter. See the screenshot in this post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
2w
File Handle Exhaustion Issue with com.apple.Virtualization.VirtualMachine in VZ Environment
We are currently utilizing VZ with Lima (details: Lima VM and VZ) for our development environment. However, we're encountering a critical issue with the com.apple.Virtualization.VirtualMachine process leading to open file handle exhaustion. When mounting our programming languages dependency cache folder (Which can have a lot of files) into the VZ VM, we encounter an operating system error related to open file limits: /gomodcache/github.com/go-git/go-git/v5@v5.4.2/plumbing/object/patch.go:14:2: open /gomodcache/github.com/go-git/go-git/v5@v5.4.2/plumbing/format/diff/unified_encoder.go: too many open files in system Further investigation revealed an abnormally high number of open files associated with the com.apple.Virtualization.VirtualMachine process. A significant portion of these files are not actively used but remain open. Example Case: A file (/Users/rcurrah/test.txt) created on the Mac host and listed (ls) in the VM remains open even 20 minutes later, as evidenced by the following command output
14
0
2.3k
2w
Reply to Battery passthrough for virtual machines on Apple Silicon?
So I’m asking by a perspective as a consumer level of using VM apps built by other developers. Thanks for that clarification. The Apple Developer Forums are primarily focused on helping developer with code-level questions, so you’re not really in the right place. Having said that, I can provide some insight. macOS has two virtualisation APIs: Virtualization is a high-level API that makes it very easy to run a VM. Hypervisor is a low-level API for developers who need a lot of control. Neither has support for battery pass through. It’s feasible for a developer using Hypervisor to support battery pass through to guests that aren’t running macOS. Doing that for macOS guests would almost certainly require a bunch of unsupported reverse engineering. If you were a developer using these APIs then I’d recommend that you file an enhancement request for this feature. However, as a user of VM apps then that’s probably not the best path forward. It’s fine for users to file ERs for user-level stuff, but i
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to App rejected 13+ times for UIRequiredDeviceCapabilities after adding DeviceActivity extensions — what am I missing?
SOLVED but this needs to be addressed by engineers - both the actual issue and the incorrect auto-generated App Review response that led us on a wild chase. I reproduced the install failure on a physical iOS device through TestFlight, and the real blocking error is not UIRequiredDeviceCapabilities. The device installation log shows MIInstallerErrorDomain Code 152 with AppexBundleContainsClassOrStoryboard, because the [APPNAME]DeviceActivityReport.appex for com.apple.deviceactivityui.report-extension contains NSExtensionMainStoryboard or NSExtensionPrincipalClass, which iOS says is not allowed for that extension point. This seems to be a known issue reproducible on iOS 18 and 26. This creates a validation conflict: removing NSExtensionPrincipalClass makes App Store Connect reject the upload with “Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found,” but including it causes the install to fail on device. In other words, there is no plist configuration t
Topic: App & System Services SubTopic: General Tags:
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Hi Kevin, Hi Quinn Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. Much appreciated. Thanks in advance. I will add all the requested detailed info into the feedback app, asap. Hopefully as early as Monday when i'm in the office. In the meantime I can give you some reply already, should you guys chose to already be working/looking at it over the weekend (who knows). To correct a statement of mine: With Wi-Fi off I meant via the control center. Naive me forgot completely that it doesn't really turn off the wifi interface. Obviously, turning it off completely via the Settings app will result in noop for the framework and that makes obviously sense. So please ignore that statement, i made a mess there. Some answers I can give you already though (Based on Kevins list): Our apps mainly work on iPads. And it affects ALL iPad devices on/since iOS 26 as far as we can tell. Theoretically theres not much more detail needed other than attempt
2w
Reply to CloudKit Query (and Dashboard) returns only a few records
Hi new_bee, Thanks for the response...point by point: I use the default 100 value for resultsLimit I am pretty sure that initWithCursor is hit repeatedly - see #1 qualityOfService=userInitiated PublicDatabase is used. But only my team members and people with a server-to-server key have access to the PublicDatabase unless they are accessing it through the app's code. So what's the security issue? Besides, there is almost no private information in the database queryCompletionBlock is not deprecated in Objective C and queryResultsBlock is only available in Swift - don't get me started in what a nasty thing Apple has done by converting to Swift. But none of this matters - note that the response for one Record Type differs from the response for other Record Types. This is not a programming error, it is a database maintenance issue (aka indexing).
Topic: App & System Services SubTopic: iCloud Tags:
2w
CloudKit Query (and Dashboard) returns only a few records
When I query, an existing database with over 10,000 records from an Objective C app (i.e. CKQueryOperation) I get only N x 100 records returned where N varies each time between 0 and about 10 (i.e. never more than 1000 records and always an even multiple of 100). When I do a “Query Records” on the CloudKit Dashboard I get a similar number of pages of records downloaded (i.e. 0-10). If I tap “Query Records” multiple times I will get more pages of records until the full 10,000 are downloaded. This had been working fine until recently, both from the app and the Dashboard. There are multiple Record Types in the database. Only one Record Type is erroring. The other Record Types continue to work both from the app and the Dashboard. In particular, the Users Record Type has many many records and they all download to many pages with a single tap of “Query Records”. I have posted this to the Feedback Assistant under FB22358865. Here is my code: NSPredicate *predicate =[NSPredicate predicateWithFormat:@modifica
3
0
396
2w
Reply to File Handle Exhaustion Issue with com.apple.Virtualization.VirtualMachine in VZ Environment
@DTS Engineer It's still not fixed but Docker has commented on this issue via https://github.com/docker/desktop-feedback/issues/168#issuecomment-4410608279. ctalledo 16 hours ago · edited by ctalledo Hey, wanted to share some context on what's likely happening here. When VirtioFS serves the guest, Apple's Virtualization framework acts as the host-side virtiofsd — it's the one opening and holding host file descriptors on behalf of the VM. When a container stops, the guest kernel sends FUSE_RELEASE messages to signal those fds can be closed, but Apple's framework doesn't appear to be honoring them reliably. The fds accumulate until the host hits its limit, and only a Docker restart clears them because that tears down the entire VM. The gRPC FUSE workaround works precisely because it bypasses Apple's framework entirely — Docker's own Go server handles the fd management, and it closes fds correctly on FUSE_RELEASE. That the workaround is effective here suggests the issue is in Apple's Virtualization framework rat
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Core Data Multiple NSEntityDescriptions claim the NSManagedObject subclass
Hi everyone! Is there an update on this issue or the posted feedback? I still run into the same in with the Xcode 25.5 RC and iOS 26.5 RC. What I do is: Rename the first model from Model to ModelV1 Copy the ModelV1 to ModelV2 Add new properties in ModelV2 Create NSStagedMigrationManager All entities are with manual/none generation. As I've already introduced usage of into: context when creating new objects, they are fine. Now the @FetchRequests fail (the one the views) with: Thread 1: executeFetchRequest:error: A fetch request must have an entity.. These are 'solvable' by creating a FetchRequest with an entity: https://developer.apple.com/documentation/swiftui/fetchrequest/init(entity:sortdescriptors:predicate:animation:). However this requires passing around the context and adding inits in a lot of places. These are two WWDC meetings with more info: https://developer.apple.com/videos/play/wwdc2023/10186 https://developer.apple.com/videos/play/wwdc2022/10120 However they don't contain clues what migh
Topic: App & System Services SubTopic: iCloud Tags:
2w
Charts performance issue
Hi, I want to recreate a chart from Apple Health and I have code like this. When I scroll - especially the week and month charts, there are performance issues. If I remove .chartScrollPosition(x: $scrollChartPosition), it runs smoothly, but I need to know which part of the chart is currently displayed. Can you help me? import Charts import SwiftUI struct MacroChartView: View { var selectedRange: ChartRange var binnedPoints: [MacroBinPoint] @State private var scrollChartPosition: Date = .now var body: some View { VStack { Text((selectedRange.rangeLabel(for: scrollChartPosition))) Chart(binnedPoints) { point in BarMark( x: .value(Date, point.date, unit: selectedRange.binComponent), y: .value(Calories, point.calories) ) } .frame(height: 324) .chartXVisibleDomain(length: selectedRange.visibleDomainLength()) .chartScrollableAxes(.horizontal) .chartScrollPosition(x: $scrollChartPosition) .chartScrollTargetBehavior(.valueAligned(matching: selectedRange.scrollAlignmentComponents)) .chartXAxis { switch select
2
0
560
2w
Reply to Charts performance issue
The solution is describe here: https://developer.apple.com/forums/thread/763757. The x axis marks are causing the issue. I was able to implement a solution by following the suggested code. Now I don't have a performance issue when scrolling in charts.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
2w
Severe Delays Once again for Security Review
Hello Everyone, For the second time in 3 months, I am seeing my app getting stuck in 'Waiting for review' state for weeks. I wrote to apple support and got an email 11 days ago saying they have initiated expedited review of the version review. But still I see no progress with the review and status is still waiting for review. I sent emails 2-3 times after that but no response. Did anyone else face this and what else can I do now? Thanks
Replies
2
Boosts
0
Views
166
Activity
2w
StoreKit 2: currentEntitlements fails for Thai users on iOS 26
On devices configured to use the Buddhist calendar (primarily Thai users) Transaction.currentEntitlements returns an empty async sequence even when the customer holds a legitimate, non-revoked, non-expired entitlement for a non-consumable in-app purchase or subscription. The same transaction is correctly returned by Transaction.all. Switching the device calendar back to Gregorian immediately restores correct behavior: the entitlement is yielded by currentEntitlements again. No reinstall, sign-out, or AppStore.sync() is required. The defect is purely client-side, deterministic, and reproducible at will. Is this a known bug introduced in iOS 26? It is causing me significant problems with in-app purchase validation and restore flows in that market. Is anyone else experiencing this issue?
Replies
1
Boosts
0
Views
294
Activity
2w
Infuriating support form error (and broken email verification)
I'm trying to submit a support request to get an issue resolved in my organization's account, but both the phone call-back and email support forms are giving errors whenever I try to submit an issue. The phone form just says There was a problem processing your request., and the email form says This email address isn’t valid. To update your email address, visit account.apple.com.. But the email address is hard-coded to my account email, and it's the main email for my company which I have been successfully using for months!! How am I supposed to get in touch to get this blocking issue fixed when all contact methods require your to go through this broken form? I suspect the original issue I was contact support about also has to do with this, since it's titled Email Verification.
Replies
2
Boosts
0
Views
274
Activity
2w
Reply to Environment Variables Blocked by OS Tahoe 26.4.1
You'll have to provide a whole lot more background here. What are you coding in Perl? An app? How is Perl related to it? I'm unaware of any environment variables being blocked. If you're trying to integrate something like Perl into an app, you aren't going to be able to use basic techniques like you would in a bash or zsh shell. There is more than one way to do it, but it depends on detailed answers to those questions above.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to Sometimes my apps crash on launch at _libsecinit_appsandbox.cold.6
[quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] should I then extract the sysdiagnose and look in the system_logs.logarchive file? [/quote] Yes. Alternatively, if this happens on a Mac you control, you can generate a log snapshot like so: % sude log collect [quote='887338022, Nickkk, /thread/825481?answerId=887338022#887338022, /profile/Nickkk'] In the sysdiagnose I uploaded to Feedback Assistant I can only see the last 5 minutes, is that correct? [/quote] If you open the log in Console, it defaults to showing the last 5 minutes. The Showing popup between the two panes lets you control that filter. See the screenshot in this post. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
File Handle Exhaustion Issue with com.apple.Virtualization.VirtualMachine in VZ Environment
We are currently utilizing VZ with Lima (details: Lima VM and VZ) for our development environment. However, we're encountering a critical issue with the com.apple.Virtualization.VirtualMachine process leading to open file handle exhaustion. When mounting our programming languages dependency cache folder (Which can have a lot of files) into the VZ VM, we encounter an operating system error related to open file limits: /gomodcache/github.com/go-git/go-git/v5@v5.4.2/plumbing/object/patch.go:14:2: open /gomodcache/github.com/go-git/go-git/v5@v5.4.2/plumbing/format/diff/unified_encoder.go: too many open files in system Further investigation revealed an abnormally high number of open files associated with the com.apple.Virtualization.VirtualMachine process. A significant portion of these files are not actively used but remain open. Example Case: A file (/Users/rcurrah/test.txt) created on the Mac host and listed (ls) in the VM remains open even 20 minutes later, as evidenced by the following command output
Replies
14
Boosts
0
Views
2.3k
Activity
2w
Reply to Battery passthrough for virtual machines on Apple Silicon?
So I’m asking by a perspective as a consumer level of using VM apps built by other developers. Thanks for that clarification. The Apple Developer Forums are primarily focused on helping developer with code-level questions, so you’re not really in the right place. Having said that, I can provide some insight. macOS has two virtualisation APIs: Virtualization is a high-level API that makes it very easy to run a VM. Hypervisor is a low-level API for developers who need a lot of control. Neither has support for battery pass through. It’s feasible for a developer using Hypervisor to support battery pass through to guests that aren’t running macOS. Doing that for macOS guests would almost certainly require a bunch of unsupported reverse engineering. If you were a developer using these APIs then I’d recommend that you file an enhancement request for this feature. However, as a user of VM apps then that’s probably not the best path forward. It’s fine for users to file ERs for user-level stuff, but i
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to App rejected 13+ times for UIRequiredDeviceCapabilities after adding DeviceActivity extensions — what am I missing?
SOLVED but this needs to be addressed by engineers - both the actual issue and the incorrect auto-generated App Review response that led us on a wild chase. I reproduced the install failure on a physical iOS device through TestFlight, and the real blocking error is not UIRequiredDeviceCapabilities. The device installation log shows MIInstallerErrorDomain Code 152 with AppexBundleContainsClassOrStoryboard, because the [APPNAME]DeviceActivityReport.appex for com.apple.deviceactivityui.report-extension contains NSExtensionMainStoryboard or NSExtensionPrincipalClass, which iOS says is not allowed for that extension point. This seems to be a known issue reproducible on iOS 18 and 26. This creates a validation conflict: removing NSExtensionPrincipalClass makes App Store Connect reject the upload with “Missing Info.plist values. No values for NSExtensionMainStoryboard or NSExtensionPrincipalClass found,” but including it causes the install to fail on device. In other words, there is no plist configuration t
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Multipeer Connectivity connection is flaky on iOS 26
Hi Kevin, Hi Quinn Thank you very much for the very quick replies. Almost an honor to hear from two literal dev forum legends so quickly. Much appreciated. Thanks in advance. I will add all the requested detailed info into the feedback app, asap. Hopefully as early as Monday when i'm in the office. In the meantime I can give you some reply already, should you guys chose to already be working/looking at it over the weekend (who knows). To correct a statement of mine: With Wi-Fi off I meant via the control center. Naive me forgot completely that it doesn't really turn off the wifi interface. Obviously, turning it off completely via the Settings app will result in noop for the framework and that makes obviously sense. So please ignore that statement, i made a mess there. Some answers I can give you already though (Based on Kevins list): Our apps mainly work on iPads. And it affects ALL iPad devices on/since iOS 26 as far as we can tell. Theoretically theres not much more detail needed other than attempt
Replies
Boosts
Views
Activity
2w
Reply to CloudKit Query (and Dashboard) returns only a few records
Hi new_bee, Thanks for the response...point by point: I use the default 100 value for resultsLimit I am pretty sure that initWithCursor is hit repeatedly - see #1 qualityOfService=userInitiated PublicDatabase is used. But only my team members and people with a server-to-server key have access to the PublicDatabase unless they are accessing it through the app's code. So what's the security issue? Besides, there is almost no private information in the database queryCompletionBlock is not deprecated in Objective C and queryResultsBlock is only available in Swift - don't get me started in what a nasty thing Apple has done by converting to Swift. But none of this matters - note that the response for one Record Type differs from the response for other Record Types. This is not a programming error, it is a database maintenance issue (aka indexing).
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
2w
CloudKit Query (and Dashboard) returns only a few records
When I query, an existing database with over 10,000 records from an Objective C app (i.e. CKQueryOperation) I get only N x 100 records returned where N varies each time between 0 and about 10 (i.e. never more than 1000 records and always an even multiple of 100). When I do a “Query Records” on the CloudKit Dashboard I get a similar number of pages of records downloaded (i.e. 0-10). If I tap “Query Records” multiple times I will get more pages of records until the full 10,000 are downloaded. This had been working fine until recently, both from the app and the Dashboard. There are multiple Record Types in the database. Only one Record Type is erroring. The other Record Types continue to work both from the app and the Dashboard. In particular, the Users Record Type has many many records and they all download to many pages with a single tap of “Query Records”. I have posted this to the Feedback Assistant under FB22358865. Here is my code: NSPredicate *predicate =[NSPredicate predicateWithFormat:@modifica
Replies
3
Boosts
0
Views
396
Activity
2w
Reply to File Handle Exhaustion Issue with com.apple.Virtualization.VirtualMachine in VZ Environment
@DTS Engineer It's still not fixed but Docker has commented on this issue via https://github.com/docker/desktop-feedback/issues/168#issuecomment-4410608279. ctalledo 16 hours ago · edited by ctalledo Hey, wanted to share some context on what's likely happening here. When VirtioFS serves the guest, Apple's Virtualization framework acts as the host-side virtiofsd — it's the one opening and holding host file descriptors on behalf of the VM. When a container stops, the guest kernel sends FUSE_RELEASE messages to signal those fds can be closed, but Apple's framework doesn't appear to be honoring them reliably. The fds accumulate until the host hits its limit, and only a Docker restart clears them because that tears down the entire VM. The gRPC FUSE workaround works precisely because it bypasses Apple's framework entirely — Docker's own Go server handles the fd management, and it closes fds correctly on FUSE_RELEASE. That the workaround is effective here suggests the issue is in Apple's Virtualization framework rat
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to Core Data Multiple NSEntityDescriptions claim the NSManagedObject subclass
Hi everyone! Is there an update on this issue or the posted feedback? I still run into the same in with the Xcode 25.5 RC and iOS 26.5 RC. What I do is: Rename the first model from Model to ModelV1 Copy the ModelV1 to ModelV2 Add new properties in ModelV2 Create NSStagedMigrationManager All entities are with manual/none generation. As I've already introduced usage of into: context when creating new objects, they are fine. Now the @FetchRequests fail (the one the views) with: Thread 1: executeFetchRequest:error: A fetch request must have an entity.. These are 'solvable' by creating a FetchRequest with an entity: https://developer.apple.com/documentation/swiftui/fetchrequest/init(entity:sortdescriptors:predicate:animation:). However this requires passing around the context and adding inits in a lot of places. These are two WWDC meetings with more info: https://developer.apple.com/videos/play/wwdc2023/10186 https://developer.apple.com/videos/play/wwdc2022/10120 However they don't contain clues what migh
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
2w
Charts performance issue
Hi, I want to recreate a chart from Apple Health and I have code like this. When I scroll - especially the week and month charts, there are performance issues. If I remove .chartScrollPosition(x: $scrollChartPosition), it runs smoothly, but I need to know which part of the chart is currently displayed. Can you help me? import Charts import SwiftUI struct MacroChartView: View { var selectedRange: ChartRange var binnedPoints: [MacroBinPoint] @State private var scrollChartPosition: Date = .now var body: some View { VStack { Text((selectedRange.rangeLabel(for: scrollChartPosition))) Chart(binnedPoints) { point in BarMark( x: .value(Date, point.date, unit: selectedRange.binComponent), y: .value(Calories, point.calories) ) } .frame(height: 324) .chartXVisibleDomain(length: selectedRange.visibleDomainLength()) .chartScrollableAxes(.horizontal) .chartScrollPosition(x: $scrollChartPosition) .chartScrollTargetBehavior(.valueAligned(matching: selectedRange.scrollAlignmentComponents)) .chartXAxis { switch select
Replies
2
Boosts
0
Views
560
Activity
2w
Reply to Charts performance issue
The solution is describe here: https://developer.apple.com/forums/thread/763757. The x axis marks are causing the issue. I was able to implement a solution by following the suggested code. Now I don't have a performance issue when scrolling in charts.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
2w