Search results for

“file uri scheme”

81,747 results found

Post

Replies

Boosts

Views

Activity

Reply to Authorizing a process to access a Private Key pushed via MDM
[quote='818622021, mobiusmoonglade, /thread/818622, /profile/mobiusmoonglade'] Is there a documented, MDM-compatible way to inject a specific binary path into the ACL of a private key? [/quote] No. Our direction in this space is the ManagedApp framework. It’s super cool. For a short intro, watch WWDC 2025 Session 203 Get to know the ManagedApp Framework. However, it won’t work for you because it’s not available on the Mac. Also note that its focus is on apps and app extensions, so it’s not clear how it would work for a launchd daemon. If you’d like to see ManagedApp support your use case, I recommend that you file an enhancement request describing your requirements. And if you do that, please post your bug number, just for the record. Beyond that, the only option that I’m aware for provisioning a daemon is via the super obscure mechanism [1]. However, that’s really meant for configuration settings rather than credentials. You could obviously jam a credential into it, but that has significant drawbac
Topic: Privacy & Security SubTopic: General Tags:
2w
Reply to Swift compiler fails in Release (-O) when using generic ObservableObject with @Published on iOS < 26 in Xcode 26.3
Right. That’s the Swift compiler crashing, which is something it should never do. I recommend that you file a bug about it. And as this is specific to Apple technologies, you’ll have to use Feedback Assistant rather than the Swift open source bug process. 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
2w
URL Filter Behaviour
Hello I have implemented URL Filter using below sample link https://developer.apple.com/documentation/networkextension/filtering-traffic-by-url But currently I am facing weird issue when I try to add new urls in the input_urls.txt file. When I add url in the file and execute BloomFilterTool again, it creates new bloom plist as well as server url file so I replaces those manually restart the server as well as reinstall the app, but when I do so I am not able to get new urls blocked by browser until and unless I am not killing browser and relaunching it again. Does anybody facing same kind of issue ?
1
0
104
3w
Reply to How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
It's not really about what the Numbers guy does but probably what FileDocument lets it do it. I have never used FileDocument with an iOS app. I do have a macOS application with FileDocument. If I open and then close a document and then move it under a different volume or a folder, the application is still able to open it. But it won't if I move a file to the dumpster.
Topic: App & System Services SubTopic: General Tags:
3w
Reply to App group broken on Sequoia
Right -- think I've had a breakthrough: the entitlements file for the appex shows its app ID as follows: [Key] com.apple.application-identifier [Value] [String] $(AppIdentifierPrefix)$(PRODUCT_BUNDLE_IDENTIFIER) while the main app shows a proper value: [Key] com.apple.application-identifier [Value] [String] XXXXXXXXXX.com.mydomain.MyApp For some reason, the Xcode variables weren't being substituted in the FileProvider! The surprise here is simply that the app worked for so long without the entitlements being validated... Anyway. I've confirmed that the app now presents the entitlements validated flag correctly on our older machines; once I hear back from the employee running this on Sequoia that it works now, I'll accept the answer here. Thanks!
Topic: Code Signing SubTopic: Entitlements Tags:
3w
How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
The Numbers.app reopens the last edited document when the app launches. If the document was moved to another folder in the Files.app while the app was not running, Numbers.app correctly tracks the file and reopens it. However, if the document was deleted in the Files.app and moved to Recently Deleted, Numbers.app does not reopen the document when the app launches. Question : How does Numbers.app detect that a document has been moved to Recently Deleted? Can third-party apps implement the same behavior? What I tested : If a file is moved while the app is not running, resolving a bookmark successfully tracks the moved file. Files that are deleted via the Files.app appear in Recently Deleted, but those files are actually moved to the following directories: iCloud Drive /var/mobile/Library/Mobile Documents/.Trash/ On My iPad /var/mobile/Containers/Shared/AppGroup/{UUID}/File Provider Storage/.Trash/ App sandbox Documents directory ([On My iPad]/[Any App]) /var
4
0
138
3w
Reply to NSProgress - way to publish progress to make the file url unselectable in Finder?
Is there a way to mark the file 'unselectable' with the published progress? I'm not sure if/where this was originally documented, but the Finder actually still does this the way macOS Classic did, which is by using type/creator codes. If you're not familiar with them, macOS Classic originally related files to the apps using two 32-bit values- type (meaning what kind of file is this) and creator (meaning, what app should open this). By convention, these were constructed 4 ASCII characters, leading to definitions like these: kFirstMagicBusyFiletype = 'bzy ' kLastMagicBusyFiletype = 'bzy?' How you set them is a bit obscure, but getattrlist/setattrlist (see their man pages for full details) provides access to them through ATTR_CMN_FNDRINFO. The data returned in the concatenation of the FileInfo and ExtendedFileInfo structures[1], with the type being in FileInfo.fileType. Note that the ATTR_CMN_FNDRINFO structures are used to store other data, so the normal behavior is to retrieve the cu
Topic: UI Frameworks SubTopic: AppKit Tags:
3w
Reply to Current wisdom on multiple XPC services in a System Extension?
Quinn, thank you for another quick and informative answer (and for explaining the change in the man page text). If I were in charge, you would never have to pay for a beverage again. ;-) A couple of quick clarifications: I haven't implemented any XPC listeners yet; it's more how I'm thinking about the low-level messages I'm seeing that refer to Mach service names and the like. That said, when I wrote a single XPC listener for both, using the same service name under each key, I meant that I would enter the service name for the single listener under both keys in the Info.plist file. It seems clear to me that multiple listeners need unique service names for each. You've summarized quite well the tradeoffs of single vs. multiple sysexen. In the case where both subsystems feed events to a common module, a single sysex seems like the better choice. Thanks again for your assistance.
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
@TE2026, thanks for filing that report. Would you mind also opening a code-level support request so that I can discuss the situation with your particular Mac directly with you? We found some useful insights in the logs you attached, but they're potentially really specific to you instead of being broadly useful to the community. — Ed Ford,  DTS Engineer
3w
Reply to Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Hello, I apologize for the issues you're hitting with Voice Control, these definitely sound like real bugs. When you get a chance, could you please paste the Feedback Report IDs for the bugs you've filed? We are already aware of some of the bugs you've mentioned, but if you can forward the report IDs here, I can ensure we track those as well, so that you are notified when the bugs are fixed in a future release! Thank you for taking the time to report these issues!
3w
Reply to Increase Contrast reduces List selection contrast in dark appearance in SwiftUI NavigationSplitView
For UIKit, isDarkerSystemColorsEnabled indicates whether Increase Contrast is active. To receive updates when this setting changes, observe darkerSystemColorsStatusDidChangeNotification. For AppKit, the accessibilityDisplayShouldIncreaseContrast property indicates if a high-contrast user interface should be presented. Apps can register accessibilityDisplayOptionsDidChangeNotification to respond to changes in this setting Lastly, SwiftUI has colorSchemeContrast, an environment value that provides information on whether standard or increased contrast applies to a view. SwiftUI automatically updates this value when the contrast changes, redrawing views that depend on it. I encourage you to share your workarounds here, as well as file separate bug reports against each app that displays incorrectly. Once complete, post those FB numbers in this thread and I will make sure they get the correct eyes on them. Thank you.  Travis
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3w
Reply to Authorizing a process to access a Private Key pushed via MDM
[quote='818622021, mobiusmoonglade, /thread/818622, /profile/mobiusmoonglade'] Is there a documented, MDM-compatible way to inject a specific binary path into the ACL of a private key? [/quote] No. Our direction in this space is the ManagedApp framework. It’s super cool. For a short intro, watch WWDC 2025 Session 203 Get to know the ManagedApp Framework. However, it won’t work for you because it’s not available on the Mac. Also note that its focus is on apps and app extensions, so it’s not clear how it would work for a launchd daemon. If you’d like to see ManagedApp support your use case, I recommend that you file an enhancement request describing your requirements. And if you do that, please post your bug number, just for the record. Beyond that, the only option that I’m aware for provisioning a daemon is via the super obscure mechanism [1]. However, that’s really meant for configuration settings rather than credentials. You could obviously jam a credential into it, but that has significant drawbac
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Swift compiler fails in Release (-O) when using generic ObservableObject with @Published on iOS < 26 in Xcode 26.3
Right. That’s the Swift compiler crashing, which is something it should never do. I recommend that you file a bug about it. And as this is specific to Apple technologies, you’ll have to use Feedback Assistant rather than the Swift open source bug process. 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
Replies
Boosts
Views
Activity
2w
Reply to Monitor mode capture broken with Wi-Fi 7 (M5 Pro MacBook Pro) on macOS 26 - worked previously on same OS with older hardware
This is likely fallout from Wi-Fi hardware changes, so the best path forward is for you to file a bug about it. 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
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
URL Filter Behaviour
Hello I have implemented URL Filter using below sample link https://developer.apple.com/documentation/networkextension/filtering-traffic-by-url But currently I am facing weird issue when I try to add new urls in the input_urls.txt file. When I add url in the file and execute BloomFilterTool again, it creates new bloom plist as well as server url file so I replaces those manually restart the server as well as reinstall the app, but when I do so I am not able to get new urls blocked by browser until and unless I am not killing browser and relaunching it again. Does anybody facing same kind of issue ?
Replies
1
Boosts
0
Views
104
Activity
3w
Reply to How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
It's not really about what the Numbers guy does but probably what FileDocument lets it do it. I have never used FileDocument with an iOS app. I do have a macOS application with FileDocument. If I open and then close a document and then move it under a different volume or a folder, the application is still able to open it. But it won't if I move a file to the dumpster.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to App group broken on Sequoia
Right -- think I've had a breakthrough: the entitlements file for the appex shows its app ID as follows: [Key] com.apple.application-identifier [Value] [String] $(AppIdentifierPrefix)$(PRODUCT_BUNDLE_IDENTIFIER) while the main app shows a proper value: [Key] com.apple.application-identifier [Value] [String] XXXXXXXXXX.com.mydomain.MyApp For some reason, the Xcode variables weren't being substituted in the FileProvider! The surprise here is simply that the app worked for so long without the entitlements being validated... Anyway. I've confirmed that the app now presents the entitlements validated flag correctly on our older machines; once I hear back from the employee running this on Sequoia that it works now, I'll accept the answer here. Thanks!
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
3w
How does Numbers.app detect that a document was moved to Recently Deleted, and can third-party apps implement the same behavior?
The Numbers.app reopens the last edited document when the app launches. If the document was moved to another folder in the Files.app while the app was not running, Numbers.app correctly tracks the file and reopens it. However, if the document was deleted in the Files.app and moved to Recently Deleted, Numbers.app does not reopen the document when the app launches. Question : How does Numbers.app detect that a document has been moved to Recently Deleted? Can third-party apps implement the same behavior? What I tested : If a file is moved while the app is not running, resolving a bookmark successfully tracks the moved file. Files that are deleted via the Files.app appear in Recently Deleted, but those files are actually moved to the following directories: iCloud Drive /var/mobile/Library/Mobile Documents/.Trash/ On My iPad /var/mobile/Containers/Shared/AppGroup/{UUID}/File Provider Storage/.Trash/ App sandbox Documents directory ([On My iPad]/[Any App]) /var
Replies
4
Boosts
0
Views
138
Activity
3w
Reply to SwiftData Models and SortDesc. Only Work in One Swift File
Interesting. Is there any issue where I could track that status on the swift language? And is there any other known workaround beside copying the related declarations together in one file?
Replies
Boosts
Views
Activity
3w
Reply to NSProgress - way to publish progress to make the file url unselectable in Finder?
Is there a way to mark the file 'unselectable' with the published progress? I'm not sure if/where this was originally documented, but the Finder actually still does this the way macOS Classic did, which is by using type/creator codes. If you're not familiar with them, macOS Classic originally related files to the apps using two 32-bit values- type (meaning what kind of file is this) and creator (meaning, what app should open this). By convention, these were constructed 4 ASCII characters, leading to definitions like these: kFirstMagicBusyFiletype = 'bzy ' kLastMagicBusyFiletype = 'bzy?' How you set them is a bit obscure, but getattrlist/setattrlist (see their man pages for full details) provides access to them through ATTR_CMN_FNDRINFO. The data returned in the concatenation of the FileInfo and ExtendedFileInfo structures[1], with the type being in FileInfo.fileType. Note that the ATTR_CMN_FNDRINFO structures are used to store other data, so the normal behavior is to retrieve the cu
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
3w
Reply to Current wisdom on multiple XPC services in a System Extension?
Quinn, thank you for another quick and informative answer (and for explaining the change in the man page text). If I were in charge, you would never have to pay for a beverage again. ;-) A couple of quick clarifications: I haven't implemented any XPC listeners yet; it's more how I'm thinking about the low-level messages I'm seeing that refer to Mach service names and the like. That said, when I wrote a single XPC listener for both, using the same service name under each key, I meant that I would enter the service name for the single listener under both keys in the Info.plist file. It seems clear to me that multiple listeners need unique service names for each. You've summarized quite well the tradeoffs of single vs. multiple sysexen. In the case where both subsystems feed events to a common module, a single sysex seems like the better choice. Thanks again for your assistance.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
3w
Reply to iPhone 17 Pro on iOS 26.3 stays unavailable in xcrun devicectl list devices even with Xcode 26.4 beta 2
@TE2026, thanks for filing that report. Would you mind also opening a code-level support request so that I can discuss the situation with your particular Mac directly with you? We found some useful insights in the logs you attached, but they're potentially really specific to you instead of being broadly useful to the community. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
3w
Reply to Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Hello, I apologize for the issues you're hitting with Voice Control, these definitely sound like real bugs. When you get a chance, could you please paste the Feedback Report IDs for the bugs you've filed? We are already aware of some of the bugs you've mentioned, but if you can forward the report IDs here, I can ensure we track those as well, so that you are notified when the bugs are fixed in a future release! Thank you for taking the time to report these issues!
Replies
Boosts
Views
Activity
3w
Reply to Increase Contrast reduces List selection contrast in dark appearance in SwiftUI NavigationSplitView
For UIKit, isDarkerSystemColorsEnabled indicates whether Increase Contrast is active. To receive updates when this setting changes, observe darkerSystemColorsStatusDidChangeNotification. For AppKit, the accessibilityDisplayShouldIncreaseContrast property indicates if a high-contrast user interface should be presented. Apps can register accessibilityDisplayOptionsDidChangeNotification to respond to changes in this setting Lastly, SwiftUI has colorSchemeContrast, an environment value that provides information on whether standard or increased contrast applies to a view. SwiftUI automatically updates this value when the contrast changes, redrawing views that depend on it. I encourage you to share your workarounds here, as well as file separate bug reports against each app that displays incorrectly. Once complete, post those FB numbers in this thread and I will make sure they get the correct eyes on them. Thank you.  Travis
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
3w
Reply to Xcode 26.4 Beta 2 - Missing Capability, Family Controls App & Website Usage
@_lilpit and @Russ_T, Thank you for filing these Feedback reports. We are looking into them.
Replies
Boosts
Views
Activity
3w
Reply to Family Controls Entitlement for Extension Identifier
@e5johnson Please file a code-level support request including your Team ID for assistance.
Replies
Boosts
Views
Activity
3w