Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Again, please post your bug number, just for the record.
Here goes the bug number FB18435582
Topic:
App & System Services
SubTopic:
Core OS
Tags:
… 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:
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:
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:
Here are feedback numbers
FB18276191
FB18276226
Topic:
App & System Services
SubTopic:
Core OS
Tags:
[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:
[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:
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:
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:
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:
here is the bug number FB17582343
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
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
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
thnaks. I have a filed a new feature request.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
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:
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
… 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
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
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
Here are feedback numbers
FB18276191
FB18276226
Topic:
App & System Services
SubTopic:
Core OS
Tags:
- Replies
- Boosts
- Views
- Activity
[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
[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
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
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
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
here is the bug number FB17582343
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
- Replies
- Boosts
- Views
- Activity
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
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
- Replies
- Boosts
- Views
- Activity
thnaks. I have a filed a new feature request.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
- Replies
- Boosts
- Views
- Activity
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