Search results for

“file uri scheme”

81,710 results found

Post

Replies

Boosts

Views

Activity

Reply to Upgrading Python that ships with Xcode from 3.9.6
You have the right information: You cannot update the version of Python included with Xcode yourself. If you have a concern to report with the version Xcode is including for its needs, you can file an Xcode bug report through Feedback Assistant. For recent macOS versions, Python is not included with macOS, so any installation you may find in locations like /usr and /opt were installed through other means. — Ed Ford,  DTS Engineer
6d
Reply to How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
If there is a better way than checking whether the URL contains “.Trash” to determine whether a file was deleted while the app was not running—like the method used by Numbers.app—we would like to adopt it in our app as well. Yes, this is basically what Numbers is doing. If the approach used by Numbers.app relies on Apple private APIs, we understand that it would not be available to third-party developers, and in that case, we will proceed with the “.Trash” URL check approach. There definitely isn't any special private API that numbers is calling that just handles this case. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
6d
Reply to NSPathControl Causing Disk I/O Reading NSURL Resource Values On the Main Thread
I briefly thought about this though I wasn't sure how path control grabs the icons (through the URL or something else like NSWorkspace) and I wanted to have that in the bg too. Strictly speaking, it uses NSWorkspace.icon(forFile:) but that doesn't really matter at least as far as display works. The rules for EXACTLY which icon will be shown for every possible edge case are sufficiently complex that the only way to ensure consistent behavior is to have a bottleneck through a single API. So NSWorkspace.icon(forFile:) and NSURLEffectiveIconKey are both calling into the same place (currently a private SPI in LaunchServices). I hadn't actually noticed that we'd deprecated kCFURLEffectiveIconKey; however, that doesn't actually change anything about using CFURL. The point of toll-free bridged objects is that the two types should act as full replacements for each other, so you can pass NSURLEffectiveIconKey[1] directly into CFURL. Under normal conditions this isn't a big deal but dealing with a URL on a slow network
Topic: UI Frameworks SubTopic: AppKit Tags:
6d
Reply to Kernel panic when using fclonefileat from ES
Hi, I am developing an instant snapshot backup solution for macOS using Endpoint Security. We have stumbled upon a Kernel Panic when using the fclonefileat API. Yes, this is a known bug (r.161340058). More specifically, the ..namedfork/rsrc construct is a longstanding part of the system, but it's not widely used and it allows the expression of operations that aren't entirely coherent (like cloning an object that isn't a file). Have you tested this on macOS 26.4? I believe the issue should now be fixed. Having said that: I expect that no userspace syscall should be able to cause a kernel panic. It looks like a bug in the APFS implementation and requires a fix on the XNU/kext side. ...this is a good example of one of my long-standing warnings, namely that us fixing kernel bugs doesn't mean your code will work. The panic above is actually fixed in the VFS layer by having fclonefileat fail, just like clonefile does when presented with the same scenario. As a more general comment, I'd suggest adding a che
Topic: App & System Services SubTopic: Core OS Tags:
6d
Reply to Multiple Apple Pay relationships with differing apple-developer-merchantid-domain-association files
Well I figured it out - for anyone still encountering this issue: My company has one domain to service multiple locations/storefronts. Each location has it's own separate Payment Processing account, requiring a unique Apple Pay Payment Processing Certificate/MerchantID. The docs and responses here made me think subdomains would be required, which is a headache in itself - especially since the Apple Pay Session must be started from that subdomain (not the parent domain). SOLUTION: If you register multiple MerchantIds within a single Apple Developer Identifier - all Domain Association Files tied to a certain domain are the same. So if you verify for one MerchantID, then add that same domain to another - it will count it as already verified. No need for subdomains. No need for swapping out Domain Association files. Really wish that Apple had made that clear.
6d
Reply to Clipboard issues with simulators
Thank you for your posts. While the script was definitely a long shot, considering that I have not used that script for some time, I believe this thread warrants a bug filing as looks like is happening to all of you. I would appreciate it if one of you could file a bug report and provide the FB number here. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Lets get it resolved as fast as possible. Albert Pascual
  Worldwide Developer Relations.
6d
Reply to 26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
During the beta cycle, developers can get the required MobileDevice by installing the latest Xcode seed. That's problematic on macOS 15.x because Xcode 26.4 now requires macOS 26.2. However, would it be possible to open the Xcode.app/Contents/Resources/Packages/MobileDevice.pkg manually on a macOS 15.x machine to get the required mobile device files? Once the OS is released, either: That doesn't seem to match my experience. macOS 26.4 is now out, and I've updated to macOS 15.7.5 (24G624), but when I try using the restore image of the release version of macOS 26.4 to make a VM, I'm still prompted to install the mobile device files and it still says that they aren't available from the software update server.
Topic: App & System Services SubTopic: Core OS Tags:
1w
Reply to Xcode 26.4 and 26.3: Swift compiler crashes during archive with iOS 17 deployment target
Thank you for filing FB22331090 with the info required to easily reproduce, that's very helpful! — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
6d
Reply to Upgrading Python that ships with Xcode from 3.9.6
You have the right information: You cannot update the version of Python included with Xcode yourself. If you have a concern to report with the version Xcode is including for its needs, you can file an Xcode bug report through Feedback Assistant. For recent macOS versions, Python is not included with macOS, so any installation you may find in locations like /usr and /opt were installed through other means. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
6d
Reply to How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
If there is a better way than checking whether the URL contains “.Trash” to determine whether a file was deleted while the app was not running—like the method used by Numbers.app—we would like to adopt it in our app as well. Yes, this is basically what Numbers is doing. If the approach used by Numbers.app relies on Apple private APIs, we understand that it would not be available to third-party developers, and in that case, we will proceed with the “.Trash” URL check approach. There definitely isn't any special private API that numbers is calling that just handles this case. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
6d
Reply to Read out of system_profiler adds an extra line and Invalid JSON Output
In zsh a highlighted % means there's no newline at the end of the output. It's not literally a % in the output and shouldn't affect anything if you're using the output programmatically. e.g. if you direct its output to a file you won't see a %
Replies
Boosts
Views
Activity
6d
Reply to App Store Connect crashes when configuring App Clip default experience (appClipDefaultExperience undefined)
@azdzadazsqsx Thank you for providing me with the FB, looks like it was filed today. Let's give the team sometime and I can check on the status of the issue. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
6d
Reply to NSPathControl Causing Disk I/O Reading NSURL Resource Values On the Main Thread
I briefly thought about this though I wasn't sure how path control grabs the icons (through the URL or something else like NSWorkspace) and I wanted to have that in the bg too. Strictly speaking, it uses NSWorkspace.icon(forFile:) but that doesn't really matter at least as far as display works. The rules for EXACTLY which icon will be shown for every possible edge case are sufficiently complex that the only way to ensure consistent behavior is to have a bottleneck through a single API. So NSWorkspace.icon(forFile:) and NSURLEffectiveIconKey are both calling into the same place (currently a private SPI in LaunchServices). I hadn't actually noticed that we'd deprecated kCFURLEffectiveIconKey; however, that doesn't actually change anything about using CFURL. The point of toll-free bridged objects is that the two types should act as full replacements for each other, so you can pass NSURLEffectiveIconKey[1] directly into CFURL. Under normal conditions this isn't a big deal but dealing with a URL on a slow network
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
6d
Reply to Kernel panic when using fclonefileat from ES
Hi, I am developing an instant snapshot backup solution for macOS using Endpoint Security. We have stumbled upon a Kernel Panic when using the fclonefileat API. Yes, this is a known bug (r.161340058). More specifically, the ..namedfork/rsrc construct is a longstanding part of the system, but it's not widely used and it allows the expression of operations that aren't entirely coherent (like cloning an object that isn't a file). Have you tested this on macOS 26.4? I believe the issue should now be fixed. Having said that: I expect that no userspace syscall should be able to cause a kernel panic. It looks like a bug in the APFS implementation and requires a fix on the XNU/kext side. ...this is a good example of one of my long-standing warnings, namely that us fixing kernel bugs doesn't mean your code will work. The panic above is actually fixed in the VFS layer by having fclonefileat fail, just like clonefile does when presented with the same scenario. As a more general comment, I'd suggest adding a che
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
6d
Reply to App Store Connect crashes when configuring App Clip default experience (appClipDefaultExperience undefined)
Same issue. We haven’t been able to submit an app update for almost a week. We’ve filed a bug ticket and reached out to support—no response so far.
Replies
Boosts
Views
Activity
6d
Reply to Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
I do hope someone at Apple is still paying attention to this. I haven't seen any updates on the bug reports I filed, and no one has reached out to me directly. I will just add that none of the issues I've reported have been fixed in the build of 26.4 (25E246) that released to the public this week.
Replies
Boosts
Views
Activity
6d
Reply to Multiple Apple Pay relationships with differing apple-developer-merchantid-domain-association files
Well I figured it out - for anyone still encountering this issue: My company has one domain to service multiple locations/storefronts. Each location has it's own separate Payment Processing account, requiring a unique Apple Pay Payment Processing Certificate/MerchantID. The docs and responses here made me think subdomains would be required, which is a headache in itself - especially since the Apple Pay Session must be started from that subdomain (not the parent domain). SOLUTION: If you register multiple MerchantIds within a single Apple Developer Identifier - all Domain Association Files tied to a certain domain are the same. So if you verify for one MerchantID, then add that same domain to another - it will count it as already verified. No need for subdomains. No need for swapping out Domain Association files. Really wish that Apple had made that clear.
Replies
Boosts
Views
Activity
6d
Reply to Clipboard issues with simulators
@eddyvinck Yes definitely a horrible experience working with simulators. Lets get the ball rolling fast and file a bug so that issue can be resolved quickly. Thanks Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
6d
Reply to Scheduled events reach threshold almost immediately on iOS 26.2
[quote='875340022, DTS Engineer, /thread/814559?answerId=875340022#875340022'] I encourage you to file a Feedback report of your own using Feedback Assistant, then post the Feedback ID here. [/quote] Here is my feedback report: FB18061981
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
6d
Reply to Clipboard issues with simulators
Thank you for your posts. While the script was definitely a long shot, considering that I have not used that script for some time, I believe this thread warrants a bug filing as looks like is happening to all of you. I would appreciate it if one of you could file a bug report and provide the FB number here. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Lets get it resolved as fast as possible. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
6d
Reply to 26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
During the beta cycle, developers can get the required MobileDevice by installing the latest Xcode seed. That's problematic on macOS 15.x because Xcode 26.4 now requires macOS 26.2. However, would it be possible to open the Xcode.app/Contents/Resources/Packages/MobileDevice.pkg manually on a macOS 15.x machine to get the required mobile device files? Once the OS is released, either: That doesn't seem to match my experience. macOS 26.4 is now out, and I've updated to macOS 15.7.5 (24G624), but when I try using the restore image of the release version of macOS 26.4 to make a VM, I'm still prompted to install the mobile device files and it still says that they aren't available from the software update server.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Test File attachments
Test File attachment README.txt
Replies
0
Boosts
0
Views
27
Activity
1w