Post

Replies

Boosts

Views

Activity

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 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 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 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 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 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 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 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 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 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 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
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 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 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 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