Search results for

“file uri scheme”

81,708 results found

Post

Replies

Boosts

Views

Activity

Reply to macOS 26: Can’t add a new VPN configuration
The problem turns out to be a corrupt /Library/Preferences/com.apple.networkextension.plist file. This needs to be deleted, such that the system can create a new one. Unfortunately that’s not possible because in Apple’s “infinite wisdom“ even the root user has been degraded to a lowly user account with selective admin privileges, instead of being the God account it’s supposed to be. As a consequence, one must boot into recovery mode, open a terminal session, and then delete the file from there.
Topic: Community SubTopic: Apple Developers Tags:
2w
Local Network permission appears to be ignored after reboot, even though it was granted
We have a Java application built for macOS. On the first launch, the application prompts the user to allow local network access. We've correctly added the NSLocalNetworkUsageDescription key to the Info.plist, and the provided description appears in the system prompt. After the user grants permission, the application can successfully connect to a local server using its hostname. However, the issue arises after the system is rebooted. When the application is launched again, macOS does not prompt for local network access a second time—which is expected, as the permission was already granted. Despite this, the application is unable to connect to the local server. It appears the previously granted permission is being ignored after a reboot. A temporary workaround is to manually toggle the Local Network permission off and back on via System Settings > Privacy & Security, which restores connectivity—until the next reboot. This behavior is highly disruptive, both for us and for a significant number of our user
18
0
796
2w
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
[quote='880037022, voidpulse, /thread/792453?answerId=880037022#880037022, /profile/voidpulse'] I see the bug was reported about 8 months ago [/quote] What was your bug number? Tracking down local network privacy issues is hard, and the thing that helps the most is good quality bug reports. For an example of that, see this thread, resulting in FB21858319. The issue described in that thread is a generic one. While the developer who filed the bug did so with very specific steps-to-reproduce, the bug itself is timing dependent and thus can crop up in a wide variety of scenarios. So, it’s possible that this fix will help in your case as well. However, the fix isn’t currently being seeded, so you can’t currently tell whether that’s the case or not )-: I recommend that you monitor that other thread for updates. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Reply to invalid API object reference
[quote='880105022, hasii2021, /thread/818406?answerId=880105022#880105022, /profile/hasii2021'] I will continue to monitor this [/quote] Please update this thread if you learn more. I try to keep track of all the weird code signing errors and what causes them — one day I’ll write a technote based on that — and I’m super curious how you’re hitting this. Oh, actually, come to think of it, you can reproduce this, so it’d be worth filing a bug about it. So, if you have the time and inclination: Create a read/write disk image that’s big enough to hold your app. Copy the app on to it. Reproduce the error. And then immediately trigger a log snapshot: % sudo log collect --last 5m Adjust the --last parameter to a bigger value if code signing takes a really log time (-: And then a sysdiagnose log. Unmount the disk image. File a bug with that disk and the logs from steps 4 and 5. Once you’re done, reply here with the bug number and I’ll see what I can uncover. But I do understand if you’re not able to
2w
Reply to Biometrics prompt + private key access race condition on since iOS 26.1
[quote='880086022, smjkrk, /thread/814261?answerId=880086022#880086022, /profile/smjkrk'] we still get this issue with iOS 26.3 and 26.3.1. [/quote] Bummer. At this point I think I’m gonna double down on my earlier suggestion to file a bug about this. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
2w
Reply to Using StoreKit from an AUv3 plugin that can be loaded in-process
Earlier I wrote: [quote='880097022, DTS Engineer, /thread/818192?answerId=880097022#880097022'] the … question is really about whether your app extension can call StoreKit [/quote] I’ve confirmed that we don’t support StoreKit in app extensions [1]. At this point I don’t see a good solution. You can certainly file an enhancement request explaining your use case and requesting that we support it, but that won’t help in the short term. Note If you do file an ER, please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Apparently there’s an exception for iMessage extensions, but that doesn’t help you.
Topic: Media Technologies SubTopic: Audio Tags:
2w
Notarization Requests In Progress
Hello, I am following up on several notarization requests in order to understand the process better. I submitted my first notary request yesterday and it took several hours to complete (where I submitted two other requests along the way thinking they may be stuck). They were all accepted after ~3 hours had passed since the first request was made. In that time I discovered a bug and had to rebuild/codesign, and submitted to notarize again. I've now had two requests with the new build (.zip file) in progress for ~18 hours. The bug fix I made between builds was innocuous and I'm wondering if my jobs are getting flagged due to recent account lockouts when I was first setting up my organizations' developer account. I've seen several replies here in the forum from DTS Engineers - hi Quinn :), so I'm aware of the possibility of 'rare' in-depth analysis, however I've experienced it in 100% of my requests. What is causing my requests to always require in-depth analysis and is there anything I can do to preven
1
0
134
2w
Reply to Instruments Malfunction
Oh no, I’m sorry that’s happening for you! I have some suspicions about what could be causing this but I have not seen it happen recently. I think the most helpful thing for us would be the trace file you’re analyzing — that would allow us to open it on our end and reproduce the issues. Can you attach that to a feedback report filed using Feedback Assistant? I’d love to take a look. — Jed
2w
Current wisdom on multiple XPC services in a System Extension?
I'm following up on a couple of forum threads from 2020 to get more clarity on the current guidance for supporting multiple XPC services in system extensions. For context, I'm trying to create a system extension that contains both an Endpoint Security client and a Network Extension filter, and I'm seeing indications that the system may not expect this and doesn't handle it smoothly. First: Previous guidance indicated that the system would automatically provide a Mach service named ..xpc to use for communicating with the system extension. However, the SystemExtension man page currently documents an Info.plist key called NSEndpointSecurityMachServiceName and suggests that the default service name is deprecated; and in fact if this key is not set, I find a message in the Console: The extension from () is using the deprecated default mach service name. Please update the extension to set the NSEndpointSecurityMachServiceName key in the Info.plist file. I have accordingly set this key, but I wanted to conf
4
0
228
2w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
Q1: Yes, I used Migration Assistant to move files to this Mac mini (Apple Silicon). I believe I only migrated files, not the full user account. My previous Mac likely had uid 502 assigned to my user account, which may have carried over to the system directories on this new Mac. Q2: There is only one user account on this Mac. Q3: No, this is a personal Mac, not managed by any organization. No endpoint security software installed. Q4: I don’t believe so. This Mac mini is relatively new and I don’t recall ever disabling SIP. Please let me know if there’s any additional diagnostic information I can provide, or if there’s a recommended fix for the uid mismatch.
2w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
@TE2026, ok, thanks for letting me know about not having a developer account. Let me try to get some more info from you here, if you know. What we are able to tell through your report is that there are system directories on your Mac that have a different owning file user than expected, where the directory is owned by uid 502 instead of the expected uid 501, and that's tripping up the device management infrastructure. This is pretty unusual, and it would be helpful to us to figure out how you got into this situation, if possible. Here are some questions to maybe help you think through things, but I'm really looking for anything that you can point out as potentially unusual in how this Mac is set up or used: Have you migrated this macOS user account to different Macs over many OS versions? Is there only one user account on the Mac, or is this Mac used in some sort of a multi-user environment? Is this Mac managed in some way, such as by a company or educational institution, according to institutional IT
2w
Reply to NSProgress - way to publish progress to make the file url unselectable in Finder?
Man, there is so much history here... I tried setting the creation date to: 1946-02-14 08:34:56 +0000 right after creating the folder. But it doesn't have the desired effect. Maybe I didn't convert the date correctly? SO, I had a bit of loose time today, so I threw together this test code: // // main.m // create_time_check // // Created by Kevin Elliott on 3/16/26. // #import int main(int argc, const char * argv[]) { @autoreleasepool { NSURL* url = [NSURL fileURLWithPath: @/Volumes/HomeBase/MassiveTestBed/MassiveTestDirOut/TestDir]; NSDate* date = NULL; NSError* err = NULL; if([url getResourceValue: &date forKey: NSURLCreationDateKey error: &err]) { NSLog(@%@, date.debugDescription); } // Jan 24, 1984, the day the mac was announced... const CFAbsoluteTime kAbsoluteTimeMagicBusyCreationDate = -534528000.0; NSDate* magicDate = (NSDate*) CFBridgingRelease(CFDateCreate(kCFAllocatorDefault, kAbsoluteTimeMagicBusyCreationDate)); NSLog(@File is Busy: %d, [magicDate isEqualToDate: date]); NSURL* tar
Topic: UI Frameworks SubTopic: AppKit Tags:
2w
Reply to Static library links on device but fails on iOS Simulator
It sounds like your static library isn't built as an XCFramework that then contains your static library. In essence, your library needs to be built twice, once for iOS devices and a second time for iOS simulators, with both copies and the header files then packed inside of the XCFramework so Xcode then handles all of the details from there. The documentation covers all of the details you need. — Ed Ford,  DTS Engineer
2w
Reply to NSProgress - way to publish progress to make the file url unselectable in Finder?
That does the thing! Thanks! And, yes, we probably should have documented all of this, so PLEASE file about this and post the bug number back here. I filed FB22260532
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to macOS 26: Can’t add a new VPN configuration
The problem turns out to be a corrupt /Library/Preferences/com.apple.networkextension.plist file. This needs to be deleted, such that the system can create a new one. Unfortunately that’s not possible because in Apple’s “infinite wisdom“ even the root user has been degraded to a lowly user account with selective admin privileges, instead of being the God account it’s supposed to be. As a consequence, one must boot into recovery mode, open a terminal session, and then delete the file from there.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
2w
Local Network permission appears to be ignored after reboot, even though it was granted
We have a Java application built for macOS. On the first launch, the application prompts the user to allow local network access. We've correctly added the NSLocalNetworkUsageDescription key to the Info.plist, and the provided description appears in the system prompt. After the user grants permission, the application can successfully connect to a local server using its hostname. However, the issue arises after the system is rebooted. When the application is launched again, macOS does not prompt for local network access a second time—which is expected, as the permission was already granted. Despite this, the application is unable to connect to the local server. It appears the previously granted permission is being ignored after a reboot. A temporary workaround is to manually toggle the Local Network permission off and back on via System Settings > Privacy & Security, which restores connectivity—until the next reboot. This behavior is highly disruptive, both for us and for a significant number of our user
Replies
18
Boosts
0
Views
796
Activity
2w
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
[quote='880037022, voidpulse, /thread/792453?answerId=880037022#880037022, /profile/voidpulse'] I see the bug was reported about 8 months ago [/quote] What was your bug number? Tracking down local network privacy issues is hard, and the thing that helps the most is good quality bug reports. For an example of that, see this thread, resulting in FB21858319. The issue described in that thread is a generic one. While the developer who filed the bug did so with very specific steps-to-reproduce, the bug itself is timing dependent and thus can crop up in a wide variety of scenarios. So, it’s possible that this fix will help in your case as well. However, the fix isn’t currently being seeded, so you can’t currently tell whether that’s the case or not )-: I recommend that you monitor that other thread for updates. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2w
Reply to invalid API object reference
[quote='880105022, hasii2021, /thread/818406?answerId=880105022#880105022, /profile/hasii2021'] I will continue to monitor this [/quote] Please update this thread if you learn more. I try to keep track of all the weird code signing errors and what causes them — one day I’ll write a technote based on that — and I’m super curious how you’re hitting this. Oh, actually, come to think of it, you can reproduce this, so it’d be worth filing a bug about it. So, if you have the time and inclination: Create a read/write disk image that’s big enough to hold your app. Copy the app on to it. Reproduce the error. And then immediately trigger a log snapshot: % sudo log collect --last 5m Adjust the --last parameter to a bigger value if code signing takes a really log time (-: And then a sysdiagnose log. Unmount the disk image. File a bug with that disk and the logs from steps 4 and 5. Once you’re done, reply here with the bug number and I’ll see what I can uncover. But I do understand if you’re not able to
Replies
Boosts
Views
Activity
2w
Reply to Biometrics prompt + private key access race condition on since iOS 26.1
[quote='880086022, smjkrk, /thread/814261?answerId=880086022#880086022, /profile/smjkrk'] we still get this issue with iOS 26.3 and 26.3.1. [/quote] Bummer. At this point I think I’m gonna double down on my earlier suggestion to file a bug about this. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Using StoreKit from an AUv3 plugin that can be loaded in-process
Earlier I wrote: [quote='880097022, DTS Engineer, /thread/818192?answerId=880097022#880097022'] the … question is really about whether your app extension can call StoreKit [/quote] I’ve confirmed that we don’t support StoreKit in app extensions [1]. At this point I don’t see a good solution. You can certainly file an enhancement request explaining your use case and requesting that we support it, but that won’t help in the short term. Note If you do file an ER, please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Apparently there’s an exception for iMessage extensions, but that doesn’t help you.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
2w
Notarization Requests In Progress
Hello, I am following up on several notarization requests in order to understand the process better. I submitted my first notary request yesterday and it took several hours to complete (where I submitted two other requests along the way thinking they may be stuck). They were all accepted after ~3 hours had passed since the first request was made. In that time I discovered a bug and had to rebuild/codesign, and submitted to notarize again. I've now had two requests with the new build (.zip file) in progress for ~18 hours. The bug fix I made between builds was innocuous and I'm wondering if my jobs are getting flagged due to recent account lockouts when I was first setting up my organizations' developer account. I've seen several replies here in the forum from DTS Engineers - hi Quinn :), so I'm aware of the possibility of 'rare' in-depth analysis, however I've experienced it in 100% of my requests. What is causing my requests to always require in-depth analysis and is there anything I can do to preven
Replies
1
Boosts
0
Views
134
Activity
2w
Reply to AASA file on CDN not updated for two weeks
Correct the line: When I query directly from our server, I can see the latest file here: https://x/.well-known/apple-app-site-association
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Instruments Malfunction
Oh no, I’m sorry that’s happening for you! I have some suspicions about what could be causing this but I have not seen it happen recently. I think the most helpful thing for us would be the trace file you’re analyzing — that would allow us to open it on our end and reproduce the issues. Can you attach that to a feedback report filed using Feedback Assistant? I’d love to take a look. — Jed
Replies
Boosts
Views
Activity
2w
Current wisdom on multiple XPC services in a System Extension?
I'm following up on a couple of forum threads from 2020 to get more clarity on the current guidance for supporting multiple XPC services in system extensions. For context, I'm trying to create a system extension that contains both an Endpoint Security client and a Network Extension filter, and I'm seeing indications that the system may not expect this and doesn't handle it smoothly. First: Previous guidance indicated that the system would automatically provide a Mach service named ..xpc to use for communicating with the system extension. However, the SystemExtension man page currently documents an Info.plist key called NSEndpointSecurityMachServiceName and suggests that the default service name is deprecated; and in fact if this key is not set, I find a message in the Console: The extension from () is using the deprecated default mach service name. Please update the extension to set the NSEndpointSecurityMachServiceName key in the Info.plist file. I have accordingly set this key, but I wanted to conf
Replies
4
Boosts
0
Views
228
Activity
2w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
Q1: Yes, I used Migration Assistant to move files to this Mac mini (Apple Silicon). I believe I only migrated files, not the full user account. My previous Mac likely had uid 502 assigned to my user account, which may have carried over to the system directories on this new Mac. Q2: There is only one user account on this Mac. Q3: No, this is a personal Mac, not managed by any organization. No endpoint security software installed. Q4: I don’t believe so. This Mac mini is relatively new and I don’t recall ever disabling SIP. Please let me know if there’s any additional diagnostic information I can provide, or if there’s a recommended fix for the uid mismatch.
Replies
Boosts
Views
Activity
2w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
@TE2026, ok, thanks for letting me know about not having a developer account. Let me try to get some more info from you here, if you know. What we are able to tell through your report is that there are system directories on your Mac that have a different owning file user than expected, where the directory is owned by uid 502 instead of the expected uid 501, and that's tripping up the device management infrastructure. This is pretty unusual, and it would be helpful to us to figure out how you got into this situation, if possible. Here are some questions to maybe help you think through things, but I'm really looking for anything that you can point out as potentially unusual in how this Mac is set up or used: Have you migrated this macOS user account to different Macs over many OS versions? Is there only one user account on the Mac, or is this Mac used in some sort of a multi-user environment? Is this Mac managed in some way, such as by a company or educational institution, according to institutional IT
Replies
Boosts
Views
Activity
2w
Reply to NSProgress - way to publish progress to make the file url unselectable in Finder?
Man, there is so much history here... I tried setting the creation date to: 1946-02-14 08:34:56 +0000 right after creating the folder. But it doesn't have the desired effect. Maybe I didn't convert the date correctly? SO, I had a bit of loose time today, so I threw together this test code: // // main.m // create_time_check // // Created by Kevin Elliott on 3/16/26. // #import int main(int argc, const char * argv[]) { @autoreleasepool { NSURL* url = [NSURL fileURLWithPath: @/Volumes/HomeBase/MassiveTestBed/MassiveTestDirOut/TestDir]; NSDate* date = NULL; NSError* err = NULL; if([url getResourceValue: &date forKey: NSURLCreationDateKey error: &err]) { NSLog(@%@, date.debugDescription); } // Jan 24, 1984, the day the mac was announced... const CFAbsoluteTime kAbsoluteTimeMagicBusyCreationDate = -534528000.0; NSDate* magicDate = (NSDate*) CFBridgingRelease(CFDateCreate(kCFAllocatorDefault, kAbsoluteTimeMagicBusyCreationDate)); NSLog(@File is Busy: %d, [magicDate isEqualToDate: date]); NSURL* tar
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
2w
Reply to Static library links on device but fails on iOS Simulator
It sounds like your static library isn't built as an XCFramework that then contains your static library. In essence, your library needs to be built twice, once for iOS devices and a second time for iOS simulators, with both copies and the header files then packed inside of the XCFramework so Xcode then handles all of the details from there. The documentation covers all of the details you need. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
2w