Post

Replies

Boosts

Views

Activity

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 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 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?
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 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
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 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 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?
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?
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?
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?
… 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?
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 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 Spotlight Importer Extension Not Triggered for Custom UTI on macOS
I haven’t received any response from the DTS engineers regarding this question so far. Could Apple please confirm whether this issue is being reviewed, or if any additional information is required from my side? Thank you.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to Spotlight Importer Extension Not Triggered for Custom UTI on macOS
[quote='863004022, DTS Engineer, /thread/786976?answerId=863004022#863004022'] Have you see this thread? [/quote] Thanks for the reference. It is disappointing that it is a known bug still with tahoe.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to onContinueUserActivity(CSSearchableItemActionType, perform) does not work on a SwiftUI macOS app
I am also getting the same problem. i have a mac os app ie app content indexing and the perform block is never triggered. dont know what is causing the issue. Any help would be appreciated from DTS engineers.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to How to Create ASIF Disk Image Programmatically in Swift?
with 26.3 i cant create asif disk image in sandboxed environment. It was working fine until 26.2. now i get this problem I have tested and it does not work in sandboxed environment. process.waitUntilExit just hangs. disabling sandbox makes it work.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to process.waitUntilExit never exits in tahoe 26.3
indeed it is very annoying. I have a live app on the mac appstore and customers are returning the product for refund because of this problme. what a disappointment.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26