Post

Replies

Boosts

Views

Activity

Reply to How to Create ASIF Disk Image Programmatically in Swift?
Can you try the diskutil thing again in just-released macOS 26.0b2 (25A5295e)? If I’m reading FB18276191 correctly, things should work there. Thanks for the update. I tried it and now the diskutil is able to create asif disk image in sandboxed environment. now comes my other questions how can i increse the max size of asif image or compact the disk image programmtically.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
[quote='844157022, rbmanian75, /thread/788482?answerId=844157022#844157022, /profile/rbmanian75'] Thanks for the info. Does this work in Sandboxed environment? [/quote] I have tested and it does not work in sandboxed environment. process.waitUntilExit just hangs. disabling sandbox makes it work. It seems to be that with this limitation we cant take advantage of ASIF format in Apps distributed in mac AppStore. that is very disappointing
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
[quote='844104022, Engineer, /thread/788482?answerId=844104022#844104022'] This updated code sample uses the ASIF disk format: [/quote] Thanks for the info. Does this work in Sandboxed environment? and i have few more questions. How can i resize(changing max size) the sparse image programmatically in sandboxed environment? How can i compact the sparse image programmatically in sandboxed environment?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’25
Reply to Spotlight Importer Extension Not Triggered for Custom UTI on macOS
Sorry i have overlooked when i ran the mdimport command i get the message saying updated attributes with the list of attributes i am setting in ImportExtension. But when i try to search with mdfind nothing is found. and in mdls the attributes are not listed. not sure whats happening. Why doesn't spotlight see the updated attributes. I am not sure how to debug this? Any help would be appreciated. thanks
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Reply to Trackpad Right-Click (Two-Finger Tap) Support in Linux Guests – macOS Virtualization Framework
With Virtualization framework, the Mac uses the system gestures and pass the semantic to the guest Linux. For example, if configured as such, the two-fingers tap on the Mac would become a right-mouse click in Linux. Thank you for the reply. This does not work. I have the two finger tap enabled in the host but in linux guest it is not working. even ctrl + click is also not working for right click. I have tested this in debian and ubuntu. Not sure how to get right click work on linux guests
May ’25
Reply to Clarification on UIDesignRequiresCompatibility Key and Liquid Glass Adoption
I have the same questions.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
Again, please post your bug number, just for the record. Here goes the bug number FB18435582
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
… and the same code works if you temporary disable sandbox in your app, right? Yes thats right. If i disable the sandbox it works.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
how can i increse the max size of asif image or compact the disk image programmtically. i can resize the asif image from terminal using the command diskutil image resize. but programmatically trying this command inside sandboxed environment is failing. I think there is no way to compact the asif image at present
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
Can you try the diskutil thing again in just-released macOS 26.0b2 (25A5295e)? If I’m reading FB18276191 correctly, things should work there. Thanks for the update. I tried it and now the diskutil is able to create asif disk image in sandboxed environment. now comes my other questions how can i increse the max size of asif image or compact the disk image programmtically.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
Here are feedback numbers FB18276191 FB18276226
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
[quote='844157022, rbmanian75, /thread/788482?answerId=844157022#844157022, /profile/rbmanian75'] Thanks for the info. Does this work in Sandboxed environment? [/quote] I have tested and it does not work in sandboxed environment. process.waitUntilExit just hangs. disabling sandbox makes it work. It seems to be that with this limitation we cant take advantage of ASIF format in Apps distributed in mac AppStore. that is very disappointing
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
[quote='844104022, Engineer, /thread/788482?answerId=844104022#844104022'] This updated code sample uses the ASIF disk format: [/quote] Thanks for the info. Does this work in Sandboxed environment? and i have few more questions. How can i resize(changing max size) the sparse image programmatically in sandboxed environment? How can i compact the sparse image programmatically in sandboxed environment?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Spotlight Importer Extension Not Triggered for Custom UTI on macOS
i just tried adding debug log messages inside ImportExtension and it is getting logged when i call the mdimport manually but when i reindex the volume it is not being called and nothing is logged.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Spotlight Importer Extension Not Triggered for Custom UTI on macOS
Sorry i have overlooked when i ran the mdimport command i get the message saying updated attributes with the list of attributes i am setting in ImportExtension. But when i try to search with mdfind nothing is found. and in mdls the attributes are not listed. not sure whats happening. Why doesn't spotlight see the updated attributes. I am not sure how to debug this? Any help would be appreciated. thanks
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Spotlight Importer Extension Not Triggered for Custom UTI on macOS
Found a solution it seems to be that -d -t is not applicabale for modern importer. when i ran it with mdimport -m -y com.makeprog.vpvm -u file:///Users/you/Path/To/YourVM.vpvm it returning the attributes set by ImportExtension.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Windows 11 Support in macOS Virtualization Framework
here is the bug number FB17582343
Replies
Boosts
Views
Activity
May ’25
Reply to Trackpad Right-Click (Two-Finger Tap) Support in Linux Guests – macOS Virtualization Framework
With Virtualization framework, the Mac uses the system gestures and pass the semantic to the guest Linux. For example, if configured as such, the two-fingers tap on the Mac would become a right-mouse click in Linux. Thank you for the reply. This does not work. I have the two finger tap enabled in the host but in linux guest it is not working. even ctrl + click is also not working for right click. I have tested this in debian and ubuntu. Not sure how to get right click work on linux guests
Replies
Boosts
Views
Activity
May ’25
Reply to Windows 11 Support in macOS Virtualization Framework
thnaks. I have a filed a new feature request.
Replies
Boosts
Views
Activity
May ’25
Reply to Entitlements for VMWare et al access to access USB devices
The way to capture USB devices is on macOS is with IOUSBHostDevice passing the IOUSBHostObjectInitOptionsDeviceCapture option. Note that this requires the "com.apple.vm.device-access" restricted entitlement. How can we use this with macOS Virutlaization framework to get usb passtrhough done in macOS.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
May ’25