Search results for

“We are unable to process your request”

73,596 results found

Post

Replies

Boosts

Views

Activity

"Your enrollment could not be completed" — No Explanation Given, Support Unable to Help
I've been unable to enroll in the Apple Developer Program and am posting here after exhausting the standard support channels. The situation: When I attempt to enroll in the Apple Developer Program as an individual, I receive the error: Your enrollment could not be completed. Your enrollment in the Apple Developer Program could not be completed at this time. No additional explanation is provided. I have contacted Apple Developer Program Support multiple times by both phone and email. Each time, I was told there is nothing they can do. I asked for escalation and was told escalation is not possible. At no point was I given a specific reason for the rejection. One possible cause I identified on my own is that the name on my developer profile may not match my legal name. My Apple ID at appleid.apple.com shows my correct legal name, but I'm unsure whether my developer profile reflects the same. I have not been able to confirm whether this is actually the issue, because support has not told me what the prob
1
0
157
1d
Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
We're seeing a sporadic crash (~2-3% of spawns) when launching a large Mach-O binary via posix_spawn(). The crash happens inside libsystem_malloc.dylib during __malloc_init, before any application code runs. The process never reaches main(). Environment: macOS 26.3.1 (25D2128), Apple Silicon (ARM64) Crash signature BUG IN LIBMALLOC: pointer range initial reservation failed, Abort Cause 3 #0 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups.cold.1 #1 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups #2 libsystem_malloc.dylib: xzm_main_malloc_zone_create #3 libsystem_malloc.dylib: __malloc_init #4 libSystem.B.dylib: libSystem_initializer #5 dyld: dyld4::Loader::findAndRunAllInitializers The binary It's a Chromium component-build test binary (browser_tests): ~1.5 GiB on disk, 5.54 GiB total VA footprint (__TEXT 517 MiB, __LINKEDIT 1.04 GiB, __PAGEZERO 4 GiB) Links 527 dylibs via @rpath All images span ~16.4 GiB of VA when loaded A simple loop that spawns this binary 200 times v
2
0
74
1d
Reply to Unable to register or use passkeys via Safari Web Extension
Mozilla will be landing this change in Firefox soon: https://bugzilla.mozilla.org/show_bug.cgi?id=1956484. Chromium already supports this behavior, as I already noted in the original request. It would be great to get parity across the extension platforms and continue to promote passkeys as the preferred authentication mechanism over passwords. Just to clarify the functionality being requested: Safari extensions should be able to create and use passkeys for domains that they are associated with or have host permissions for. So, for example, instead of only being able to use passkeys bound to a ephemeral Safari Extension origin (i. e. safari-web-extension://UUID), to use passkeys bound to the company's domain (i. e. example.com). I've yet to hear back in Feedback Assistant. How can I better escalate this feature request?
Topic: Safari & Web SubTopic: General Tags:
2d
Unable to register or use passkeys via Safari Web Extension
There does not appear to be any way to use or create iCloud passkeys with a Safari Web Extension, either using the navigator.credentials API in an extension origin webpage such as the popover, or using the AuthenticationServices framework in the SafariWebExtensionHandler. I've setup an associated domain for my plugin, and I know it works for the host application. But I get errors trying to do so in the web extension target. createCredentialRegistrationRequests results in the following error: Domain=com.apple.AuthenticationServices.AuthorizationError Code=1004 Application with identifier is not associated with domain The other problem, assuming the entitlement works correctly for the web extension, is that there is no NSWindow to use as the presentation target from the SafariWebExtensionHandler. Trying to use the navigator.credentials.create JS API (which is the preferred method, frankly, in a web extension) results in the following error: NotAllowedError: The request is not allowed by the user agen
2
0
708
2d
Reply to XPC communication between a sandboxed Network Extension and a privileged MachService
[quote='882269022, Pavel, /thread/820631?answerId=882269022#882269022, /profile/Pavel'] is there a guaranteed initialization order between them? [/quote] No, but that doesn’t matter because the launchd on-demand architecture defines away the sorts of ordering problems that plague other systems. If your NE sysex messages your launchd daemon, the system will start the daemon so that it can service the request. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
2d
After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments
After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments,widget kill and liveactivity dismiss ,infomation : 默认 chronod [com.jd.jinrong.JDJRWidget] Creating session... 默认 chronod [DFB1D11C]: activityHandler ended 默认 iconservicesagent [0x5e2812320] activating connection: mach=false listener=false peer=true name=com.apple.iconservices.peer.0x5e2812320 默认 runningboardd : start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments 错误 runningboardd Process start failed with Error Domain=NSPOSIXErrorDomain Code=111 Unknown error: 111 UserInfo={NSLocalizedDescription=Launchd job spawn failed} 默认 runningboardd : remove failed with error 144 Requestor lacks required entitlement 错误 runningboardd Job remove after failed start failed with Error Domain=OSLaunchdErrorDomain Code=144 Requestor lacks required entitlement UserInfo={NSLocalizedFailureReason=Requestor
2
0
35
2d
Reply to After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments
在 iOS26 系统中 出现了不同的日志 感觉是一类问题 [com.jd.jinrong::com.jd.jinrong.JDJRWidget:Attributes type: JRDingPanActivityAttributes:CC68BF7B-0B52-474B-8DB5-EA9939717315] reload: failed during processing. [w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium]: ChronoCore.PlatterContentError(code: Returned timeline could not be accepted, targetIdentifer: [com.jd.jinrong::com.jd.jinrong.JDJRWidget:Attributes type: JRDingPanActivityAttributes:CC68BF7B-0B52-474B-8DB5-EA9939717315], contentIdentifer: [w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium], destinationURL: nil, underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=4 无法将“CC68BF7B-0B52-474B-8DB5-EA9939717315-w/fix-412.00-h/dyn-64.00-160.00-cr/23.5-s/1.0.fam/medium.activity-archive”移到“activities”,因为前者不存在,或包含后者的文件夹不存在。 UserInfo={NSSourceFilePathErrorKey=/var/mobile/tmp/com.apple.chrono/NSIRD_chronod_OmSpXo/CC68BF7B-0B52-474B-8DB5-EA9939717315-w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium.activity-archive, NSUserStringVari<…> 更
2d
Title: 45 Days "Waiting for Review" – 3 Expedites Approved, Zero Movement. Backend Glitch?
Hey everyone, I’m completely stuck and hoping someone here (or an Apple rep) can help, because Developer Support is just sending me the exact same template replies at this point. I submitted a standard version update for my app (Hadiyyati - Luxury Gifts) back on February 7th. It has now been over 45 days, and the status is still permanently frozen on Waiting for Review. Here is the loop I am stuck in: I've had an Expedited Review requested and approved 3 separate times. Support gives me a case number, says they contacted the App Review Board, and tells me to wait. Weeks pass, nothing happens, and when I follow up, I get: At this time, your app review is proceeding normally, and there is no further action you need to take. 45 days for a store update is not proceeding normally. I strongly suspect my submission (ID: aeadea76-8fb4-437c-9c04-60171b909f3e) is bugged, corrupted, or locked in a ghost state on the App Store Connect backend. Has anyone dealt with a completely frozen submission like this? Is th
2
0
95
2d
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
[quote='882249022, vishalsehgal, /thread/815465?answerId=882249022#882249022, /profile/vishalsehgal'] In case error remains nil, can I still receive Data as null? [/quote] Yes. That indicates an EOF. As I mentioned earlier, the doc comments are the best source of truth for this stuff. Quoting the doc comment for nw_connection_receive_completion_t from : The content may be NULL in two cases: The receive context (logical message) is now complete, and the callback is only delivering the completed event The connection encountered an error and there is no data to deliver. Note that the content may be non-NULL even in the case of an error if there was some data received before the error was encountered. The caller should process all content it receives, and not necessarily ignore data in case of errors. I don’t think this can happen with UDP because UDP doesn’t support the concept of EOF. [quote='882249022, vishalsehgal, /thread/815465?answerId=882249022#882249022, /profile/vishalsehgal'] Is there any perf
2d
TKTokenDriverConfiguration becomes permanently unusable after ctkd process restart
Background We're building a macOS application that acts as a CryptoTokenKit software token. The architecture follows the documented pattern: a container app (a long-running agent process) manages token registration and identity updates via TKTokenDriverConfiguration, and a separate appex extension process handles the actual signing operations for client sessions. What we're doing At agent startup, the container app calls [TKTokenDriverConfiguration driverConfigurations] to obtain our token driver, then registers a token instance ID: NSDictionary *driverConfigurations = [TKTokenDriverConfiguration driverConfigurations]; TKTokenDriverConfiguration driver = / first value from driverConfigurations */; [driver addTokenConfigurationForTokenInstanceID:@setoken]; When the agent renews a certificate, it pushes updated TKTokenKeychainItem objects to ctkd by setting keychainItems on the TKTokenConfiguration: TKTokenConfiguration *tokenCfg = driver.tokenConfigurations[@setoken]; tokenCfg.keychainItems =
3
0
222
2d
How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
Hello, I am developing a macOS Launch Daemon (packaged as a bundle) that acts as an XPC server. For debugging purposes, I am trying to run the daemon's executable directly from the terminal via sudo ./mydaemon.app/Contents/MacOS/myexecutable. Initially, I added the com.apple.security.application-groups entitlement to the daemon. However, when starting the process, it failed to create the XPC service with the following errors: Unsatisfied entitlements: com.apple.security.application-groups Soft-restriction provisioning profile validation failure: Error Domain=AppleMobileFileIntegrityError Code=-413 No matching profile found UserInfo={NSURL=, unsatisfiedEntitlements=, NSLocalizedDescription=No matching profile found} listener failed to activate: xpc_error=[1: Operation not permitted] To resolve the profile validation failure, I registered a new App Group in the Apple Developer Portal, generated a new provisioning profile for the daemon that includes this group, and embedded it into the bundle (Contents
1
0
30
2d
Reply to How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
[quote='821027021, Pavel, /thread/821027, /profile/Pavel'] For debugging purposes, I am trying to run the daemon's executable directly from the terminal [/quote] This won’t work. For your launchd daemon to work correctly, it must be started by launchd. I explain why that’s the case in XPC and App-to-App Communication. My general advice for debugging a launchd daemon is: Structure your code so that you can do most of your debugging in unit tests, rather than in your daemon. That’ll make your life much easier. To unit test your XPC code, use the technique in TN3113 Testing and debugging XPC code with an anonymous listener. To debug integration issues: Using LLDB’s --wait-for option to attach to the daemon shortly after it starts. There’s a similar option in Xcode, under Debug > Attach to Process by PID or Name. Or if you absolutely need to debug from the first instruction, add the WaitForDebugger property to your launchd property list. See the launchd.plist man page for details. [quote='821027021, P
2d
Reply to Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
The 3 in that error is KERN_NO_SPACE, which is a pretty clear indication that the system memory allocator asked for address space and the kernel refused to give it. However, given all the constraints you’ve described, it’s not at all clear why that would be. Weirdly, the code that traps this way is not on the main branch of the Darwin open source, but I found a copy in the rel/libmalloc-792 branch [1]. Now, I don’t have time today to study that code in depth, but I figured you’d find it interesting (-: AFAICT it tries to allocate address space by using mach_vm_map to map MEMORY_OBJECT_NULL, specifying a start that’s after 16 GiB, such that it fits within 64 GiB, with a randomly applied offset. That random bit probably explains why this shows up so infrequently. It’s hard to say why this is failing. You might be able to learn more by running vmmap against the dying process. It’d also be interested to know what address was passed to mach_vm_map (with reference to the source, that’s the ptr_addr value),
2d
Reply to Need MetricKit Implementation details for MacOS background Application, mainly for
MetricKit definitely works on macOS. I’m not sure about how it interacts with Network Extension processes. Let’s start with some basics: Is your NE provider packaged as an app extension or a system extension? If it’s an sysex, are you distributing it directly? Or on the Mac App Store. TN3134 Network Extension provider deployment talks more about NE provider packaging and deployment options. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2d
"Your enrollment could not be completed" — No Explanation Given, Support Unable to Help
I've been unable to enroll in the Apple Developer Program and am posting here after exhausting the standard support channels. The situation: When I attempt to enroll in the Apple Developer Program as an individual, I receive the error: Your enrollment could not be completed. Your enrollment in the Apple Developer Program could not be completed at this time. No additional explanation is provided. I have contacted Apple Developer Program Support multiple times by both phone and email. Each time, I was told there is nothing they can do. I asked for escalation and was told escalation is not possible. At no point was I given a specific reason for the rejection. One possible cause I identified on my own is that the name on my developer profile may not match my legal name. My Apple ID at appleid.apple.com shows my correct legal name, but I'm unsure whether my developer profile reflects the same. I have not been able to confirm whether this is actually the issue, because support has not told me what the prob
Replies
1
Boosts
0
Views
157
Activity
1d
Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
We're seeing a sporadic crash (~2-3% of spawns) when launching a large Mach-O binary via posix_spawn(). The crash happens inside libsystem_malloc.dylib during __malloc_init, before any application code runs. The process never reaches main(). Environment: macOS 26.3.1 (25D2128), Apple Silicon (ARM64) Crash signature BUG IN LIBMALLOC: pointer range initial reservation failed, Abort Cause 3 #0 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups.cold.1 #1 libsystem_malloc.dylib: xzm_main_malloc_zone_init_range_groups #2 libsystem_malloc.dylib: xzm_main_malloc_zone_create #3 libsystem_malloc.dylib: __malloc_init #4 libSystem.B.dylib: libSystem_initializer #5 dyld: dyld4::Loader::findAndRunAllInitializers The binary It's a Chromium component-build test binary (browser_tests): ~1.5 GiB on disk, 5.54 GiB total VA footprint (__TEXT 517 MiB, __LINKEDIT 1.04 GiB, __PAGEZERO 4 GiB) Links 527 dylibs via @rpath All images span ~16.4 GiB of VA when loaded A simple loop that spawns this binary 200 times v
Replies
2
Boosts
0
Views
74
Activity
1d
Reply to Unable to register or use passkeys via Safari Web Extension
Mozilla will be landing this change in Firefox soon: https://bugzilla.mozilla.org/show_bug.cgi?id=1956484. Chromium already supports this behavior, as I already noted in the original request. It would be great to get parity across the extension platforms and continue to promote passkeys as the preferred authentication mechanism over passwords. Just to clarify the functionality being requested: Safari extensions should be able to create and use passkeys for domains that they are associated with or have host permissions for. So, for example, instead of only being able to use passkeys bound to a ephemeral Safari Extension origin (i. e. safari-web-extension://UUID), to use passkeys bound to the company's domain (i. e. example.com). I've yet to hear back in Feedback Assistant. How can I better escalate this feature request?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
2d
Unable to register or use passkeys via Safari Web Extension
There does not appear to be any way to use or create iCloud passkeys with a Safari Web Extension, either using the navigator.credentials API in an extension origin webpage such as the popover, or using the AuthenticationServices framework in the SafariWebExtensionHandler. I've setup an associated domain for my plugin, and I know it works for the host application. But I get errors trying to do so in the web extension target. createCredentialRegistrationRequests results in the following error: Domain=com.apple.AuthenticationServices.AuthorizationError Code=1004 Application with identifier is not associated with domain The other problem, assuming the entitlement works correctly for the web extension, is that there is no NSWindow to use as the presentation target from the SafariWebExtensionHandler. Trying to use the navigator.credentials.create JS API (which is the preferred method, frankly, in a web extension) results in the following error: NotAllowedError: The request is not allowed by the user agen
Replies
2
Boosts
0
Views
708
Activity
2d
Reply to XPC communication between a sandboxed Network Extension and a privileged MachService
[quote='882269022, Pavel, /thread/820631?answerId=882269022#882269022, /profile/Pavel'] is there a guaranteed initialization order between them? [/quote] No, but that doesn’t matter because the launchd on-demand architecture defines away the sorts of ordering problems that plague other systems. If your NE sysex messages your launchd daemon, the system will start the daemon so that it can service the request. 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
2d
After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments
After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments,widget kill and liveactivity dismiss ,infomation : 默认 chronod [com.jd.jinrong.JDJRWidget] Creating session... 默认 chronod [DFB1D11C]: activityHandler ended 默认 iconservicesagent [0x5e2812320] activating connection: mach=false listener=false peer=true name=com.apple.iconservices.peer.0x5e2812320 默认 runningboardd : start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments 错误 runningboardd Process start failed with Error Domain=NSPOSIXErrorDomain Code=111 Unknown error: 111 UserInfo={NSLocalizedDescription=Launchd job spawn failed} 默认 runningboardd : remove failed with error 144 Requestor lacks required entitlement 错误 runningboardd Job remove after failed start failed with Error Domain=OSLaunchdErrorDomain Code=144 Requestor lacks required entitlement UserInfo={NSLocalizedFailureReason=Requestor
Replies
2
Boosts
0
Views
35
Activity
2d
Reply to After iOS app overlay installation widget process killed OSLaunchdJob | handle= start succeeded, info=spawn failed, error=111: Invalid or missing Program/ProgramArguments
在 iOS26 系统中 出现了不同的日志 感觉是一类问题 [com.jd.jinrong::com.jd.jinrong.JDJRWidget:Attributes type: JRDingPanActivityAttributes:CC68BF7B-0B52-474B-8DB5-EA9939717315] reload: failed during processing. [w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium]: ChronoCore.PlatterContentError(code: Returned timeline could not be accepted, targetIdentifer: [com.jd.jinrong::com.jd.jinrong.JDJRWidget:Attributes type: JRDingPanActivityAttributes:CC68BF7B-0B52-474B-8DB5-EA9939717315], contentIdentifer: [w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium], destinationURL: nil, underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=4 无法将“CC68BF7B-0B52-474B-8DB5-EA9939717315-w/fix-412.00-h/dyn-64.00-160.00-cr/23.5-s/1.0.fam/medium.activity-archive”移到“activities”,因为前者不存在,或包含后者的文件夹不存在。 UserInfo={NSSourceFilePathErrorKey=/var/mobile/tmp/com.apple.chrono/NSIRD_chronod_OmSpXo/CC68BF7B-0B52-474B-8DB5-EA9939717315-w:fix-412.00-h:dyn-64.00-160.00-cr:23.5-s:1.0.fam:medium.activity-archive, NSUserStringVari<…> 更
Replies
Boosts
Views
Activity
2d
Title: 45 Days "Waiting for Review" – 3 Expedites Approved, Zero Movement. Backend Glitch?
Hey everyone, I’m completely stuck and hoping someone here (or an Apple rep) can help, because Developer Support is just sending me the exact same template replies at this point. I submitted a standard version update for my app (Hadiyyati - Luxury Gifts) back on February 7th. It has now been over 45 days, and the status is still permanently frozen on Waiting for Review. Here is the loop I am stuck in: I've had an Expedited Review requested and approved 3 separate times. Support gives me a case number, says they contacted the App Review Board, and tells me to wait. Weeks pass, nothing happens, and when I follow up, I get: At this time, your app review is proceeding normally, and there is no further action you need to take. 45 days for a store update is not proceeding normally. I strongly suspect my submission (ID: aeadea76-8fb4-437c-9c04-60171b909f3e) is bugged, corrupted, or locked in a ghost state on the App Store Connect backend. Has anyone dealt with a completely frozen submission like this? Is th
Replies
2
Boosts
0
Views
95
Activity
2d
Reply to Can NWConnection.receive(minimumIncompleteLength:maximumLength:) return nil data for UDP while connection remains .ready?
[quote='882249022, vishalsehgal, /thread/815465?answerId=882249022#882249022, /profile/vishalsehgal'] In case error remains nil, can I still receive Data as null? [/quote] Yes. That indicates an EOF. As I mentioned earlier, the doc comments are the best source of truth for this stuff. Quoting the doc comment for nw_connection_receive_completion_t from : The content may be NULL in two cases: The receive context (logical message) is now complete, and the callback is only delivering the completed event The connection encountered an error and there is no data to deliver. Note that the content may be non-NULL even in the case of an error if there was some data received before the error was encountered. The caller should process all content it receives, and not necessarily ignore data in case of errors. I don’t think this can happen with UDP because UDP doesn’t support the concept of EOF. [quote='882249022, vishalsehgal, /thread/815465?answerId=882249022#882249022, /profile/vishalsehgal'] Is there any perf
Replies
Boosts
Views
Activity
2d
TKTokenDriverConfiguration becomes permanently unusable after ctkd process restart
Background We're building a macOS application that acts as a CryptoTokenKit software token. The architecture follows the documented pattern: a container app (a long-running agent process) manages token registration and identity updates via TKTokenDriverConfiguration, and a separate appex extension process handles the actual signing operations for client sessions. What we're doing At agent startup, the container app calls [TKTokenDriverConfiguration driverConfigurations] to obtain our token driver, then registers a token instance ID: NSDictionary *driverConfigurations = [TKTokenDriverConfiguration driverConfigurations]; TKTokenDriverConfiguration driver = / first value from driverConfigurations */; [driver addTokenConfigurationForTokenInstanceID:@setoken]; When the agent renews a certificate, it pushes updated TKTokenKeychainItem objects to ctkd by setting keychainItems on the TKTokenConfiguration: TKTokenConfiguration *tokenCfg = driver.tokenConfigurations[@setoken]; tokenCfg.keychainItems =
Replies
3
Boosts
0
Views
222
Activity
2d
How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
Hello, I am developing a macOS Launch Daemon (packaged as a bundle) that acts as an XPC server. For debugging purposes, I am trying to run the daemon's executable directly from the terminal via sudo ./mydaemon.app/Contents/MacOS/myexecutable. Initially, I added the com.apple.security.application-groups entitlement to the daemon. However, when starting the process, it failed to create the XPC service with the following errors: Unsatisfied entitlements: com.apple.security.application-groups Soft-restriction provisioning profile validation failure: Error Domain=AppleMobileFileIntegrityError Code=-413 No matching profile found UserInfo={NSURL=, unsatisfiedEntitlements=, NSLocalizedDescription=No matching profile found} listener failed to activate: xpc_error=[1: Operation not permitted] To resolve the profile validation failure, I registered a new App Group in the Apple Developer Portal, generated a new provisioning profile for the daemon that includes this group, and embedded it into the bundle (Contents
Replies
1
Boosts
0
Views
30
Activity
2d
Reply to How to debug a Launch Daemon that requires an App Group provisioning profile for XPC communication
[quote='821027021, Pavel, /thread/821027, /profile/Pavel'] For debugging purposes, I am trying to run the daemon's executable directly from the terminal [/quote] This won’t work. For your launchd daemon to work correctly, it must be started by launchd. I explain why that’s the case in XPC and App-to-App Communication. My general advice for debugging a launchd daemon is: Structure your code so that you can do most of your debugging in unit tests, rather than in your daemon. That’ll make your life much easier. To unit test your XPC code, use the technique in TN3113 Testing and debugging XPC code with an anonymous listener. To debug integration issues: Using LLDB’s --wait-for option to attach to the daemon shortly after it starts. There’s a similar option in Xcode, under Debug > Attach to Process by PID or Name. Or if you absolutely need to debug from the first instruction, add the WaitForDebugger property to your launchd property list. See the launchd.plist man page for details. [quote='821027021, P
Replies
Boosts
Views
Activity
2d
Reply to Sporadic crash in xzm_main_malloc_zone_init_range_groups when spawning large binaries (macOS 26.3.1)
The 3 in that error is KERN_NO_SPACE, which is a pretty clear indication that the system memory allocator asked for address space and the kernel refused to give it. However, given all the constraints you’ve described, it’s not at all clear why that would be. Weirdly, the code that traps this way is not on the main branch of the Darwin open source, but I found a copy in the rel/libmalloc-792 branch [1]. Now, I don’t have time today to study that code in depth, but I figured you’d find it interesting (-: AFAICT it tries to allocate address space by using mach_vm_map to map MEMORY_OBJECT_NULL, specifying a start that’s after 16 GiB, such that it fits within 64 GiB, with a randomly applied offset. That random bit probably explains why this shows up so infrequently. It’s hard to say why this is failing. You might be able to learn more by running vmmap against the dying process. It’d also be interested to know what address was passed to mach_vm_map (with reference to the source, that’s the ptr_addr value),
Replies
Boosts
Views
Activity
2d
Reply to Need MetricKit Implementation details for MacOS background Application, mainly for
MetricKit definitely works on macOS. I’m not sure about how it interacts with Network Extension processes. Let’s start with some basics: Is your NE provider packaged as an app extension or a system extension? If it’s an sysex, are you distributing it directly? Or on the Mac App Store. TN3134 Network Extension provider deployment talks more about NE provider packaging and deployment options. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2d
Reply to Apps cannot launch on iOS 9-12 devices after recent build - "The process failed to exec"
The same codebase previously ran fine when uploaded to TestFlight, but after re-uploading it now fails to launch on iOS 12, even though neither the code nor the Xcode version has changed. I suspect a recent change in the App Store Connect backend processing pipeline is the cause.
Replies
Boosts
Views
Activity
2d