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