Post

Replies

Boosts

Views

Activity

Reply to IOServiceGetMatchingServices returning empty iterator
i have contacted apple developer support and here is the reply i received from them Thank you for contacting Apple Developer Technical Support (DTS). We have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations. If you would like for Apple to consider adding support for such features, please submit your suggestion request via Feedback Assistant (https://feedbackassistant.apple.com). For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting/.
Topic: App & System Services SubTopic: Drivers Tags:
May ’21
Reply to Resize disk image with hdiutil in sandbox environment
Is your app sandboxed because you plan to ship in the Mac App Store? Or just because it’s the right thing to do? I have the only option to distibute it to appstore because i cant manage the payment details outside of the appstore because it is very small business. How does this disk image fit into your virtualisation product? Specifically, what overall format is it? And what file system do you have on it? And how are you attaching it to your VM? And is your VM focused on macOS? Or Linux? Or both? The disk image format is img i attach it as a virtio blcok device as metnioned. i just followed this article Creating mac os virtual machine for creating and attaching to the virtual machine. The vm is focused on both linux and macOS. the files system in mac os apfs and in linux it is ext4. What are the other options i have got. By the way this is the app VirtualProg i have got in the appstore. Resizing the hard disk image within the app will add value to the product. that is i am here. thanks
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
Reply to Resize disk image with hdiutil in sandbox environment
Hmmm, and that works? Yes it works. there are some blocks like relocating the recovery partition to end( that can be done) and after that using disk utility we can resize main partition. but the hdiutil snadbox limitation makes not possible to do with appstore app. may be ,i need to release a separate tool for this without app sandbox to get it done.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
Reply to Show main window of SwiftUI app on macOS Sequoia after auto start
I am also having the problem. as a workaround if i trigger this func func triggerNewWindowMenuItem() { guard let mainMenu = NSApp.mainMenu else { return } // Locate the "File" menu if let fileMenuItem = mainMenu.items.first(where: { $0.title == "File" }), let fileSubmenu = fileMenuItem.submenu { // Locate the "New Window" item by title if let newWindowMenuItem = fileSubmenu.items.first(where: { $0.title == "New Window" }), let action = newWindowMenuItem.action { // Trigger its action NSApp.sendAction(action, to: newWindowMenuItem.target, from: nil) } } } func applicationDidFinishLaunching(_ notification: Notification) { if NSApp.windows.isEmpty { self.triggerNewWindowMenuItem() } It just a workaround. hope apple comes up with a proper fix for this.
Topic: UI Frameworks SubTopic: SwiftUI
Apr ’25
Reply to Host-Only Networking and Port Forwarding Support in macOS Virtualization Framework
Thanks for the heads up. i will create a feature request. This is not just to get a channel between host and guest. This is for creating isolated host only network with guest and also a port forward from host to guest. i am trying to add these features to my virtual machine manager application. I dont have expertise in creating user space networking.
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
May ’25
Reply to IOServiceGetMatchingServices returning empty iterator
i have contacted apple developer support and here is the reply i received from them Thank you for contacting Apple Developer Technical Support (DTS). We have reviewed your request and have concluded that there is no supported way to achieve the desired functionality given the currently shipping system configurations. If you would like for Apple to consider adding support for such features, please submit your suggestion request via Feedback Assistant (https://feedbackassistant.apple.com). For more information on Feedback Assistant, please visit https://developer.apple.com/bug-reporting/.
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
May ’21
Reply to Can't enable com.apple.vm.networking entitlement
@DaisySun how did you request teh com.apple.vm.networking entitilement with apple. Coyld you please let us know what is the procedure for making a request and where to request. thanks
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to What Linux distros are supported by mac OS virutalization framework
Yes you may be right kernel may not support virtio gpu. i tested the commnad line distros with virtio console device they work fine though via serial output.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Resize disk image with hdiutil in sandbox environment
Is your app sandboxed because you plan to ship in the Mac App Store? Or just because it’s the right thing to do? I have the only option to distibute it to appstore because i cant manage the payment details outside of the appstore because it is very small business. How does this disk image fit into your virtualisation product? Specifically, what overall format is it? And what file system do you have on it? And how are you attaching it to your VM? And is your VM focused on macOS? Or Linux? Or both? The disk image format is img i attach it as a virtio blcok device as metnioned. i just followed this article Creating mac os virtual machine for creating and attaching to the virtual machine. The vm is focused on both linux and macOS. the files system in mac os apfs and in linux it is ext4. What are the other options i have got. By the way this is the app VirtualProg i have got in the appstore. Resizing the hard disk image within the app will add value to the product. that is i am here. thanks
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Should i set window.isReleasedWhenClosed to true or leave it to default?
i moved setting window.isReleasedWhenClosed true to OnDisappear and the problems is solved and NSApplication.shared.windows does not retain any windows that are closed. thanks
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Resize disk image with hdiutil in sandbox environment
Hmmm, and that works? Yes it works. there are some blocks like relocating the recovery partition to end( that can be done) and after that using disk utility we can resize main partition. but the hdiutil snadbox limitation makes not possible to do with appstore app. may be ,i need to release a separate tool for this without app sandbox to get it done.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Resize disk image with hdiutil in sandbox environment
Here is the bug report number FB17262771
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Show main window of SwiftUI app on macOS Sequoia after auto start
I am also having the problem. as a workaround if i trigger this func func triggerNewWindowMenuItem() { guard let mainMenu = NSApp.mainMenu else { return } // Locate the "File" menu if let fileMenuItem = mainMenu.items.first(where: { $0.title == "File" }), let fileSubmenu = fileMenuItem.submenu { // Locate the "New Window" item by title if let newWindowMenuItem = fileSubmenu.items.first(where: { $0.title == "New Window" }), let action = newWindowMenuItem.action { // Trigger its action NSApp.sendAction(action, to: newWindowMenuItem.target, from: nil) } } } func applicationDidFinishLaunching(_ notification: Notification) { if NSApp.windows.isEmpty { self.triggerNewWindowMenuItem() } It just a workaround. hope apple comes up with a proper fix for this.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Apr ’25
Reply to Host-Only Networking and Port Forwarding Support in macOS Virtualization Framework
Thank you for the reply. it seems to be that this is a bit complex task for a novice. can you please guid me on where to look for some samples on how to achive this using VZFileHandleNetworkDeviceAttachment
Replies
Boosts
Views
Activity
May ’25
Reply to Host-Only Networking and Port Forwarding Support in macOS Virtualization Framework
Thanks for the heads up. i will create a feature request. This is not just to get a channel between host and guest. This is for creating isolated host only network with guest and also a port forward from host to guest. i am trying to add these features to my virtual machine manager application. I dont have expertise in creating user space networking.
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
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 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
here is the bug number FB17582343
Replies
Boosts
Views
Activity
May ’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