• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

insidegui/VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

insidegui/VirtualBuddy

开源软件地址(OpenSource Url):

https://github.com/insidegui/VirtualBuddy

开源编程语言(OpenSource Language):

Swift 97.8%

开源软件介绍(OpenSource Introduction):

VirtualBuddy

VirtualBuddy can virtualize macOS 12 and later on Apple Silicon, with the goal of offering features that are useful to developers who need to test their apps on multiple versions of macOS, especially betas.

Requires macOS 12.3 and an Apple Silicon Mac

⚠️ WARNING: This project is experimental. Things might break or not work as expected.

Download from GitHub Releases

Feature Checklist

  • Ability to boot any version of macOS 12 or macOS 13, including betas
  • Built-in installation wizard
    • Select from a collection of restore images available on Apple's servers
    • Install the latest stable version of macOS
    • Local restore image IPSW file
    • Custom restore image URL
  • Boot into recovery mode (in order to disable SIP, for example)
  • Networking and file sharing support
  • Clipboard sharing (without the need to be running macOS Ventura) (experimental ¹)
  • Customize virtual machine hardware configuration
  • Edit NVRAM variables

¹ To enable clipboard sharing, build the VirtualBuddyGuest scheme, then copy the VirtualBuddyGuest app to the virtual machine (through file sharing, for example) and run it. This will keep the clipboard in sync between the guest and host machines. The feature is experimental, so it might be buggy and it's definitely not secure.

Tips and Tricks

Taking Advantage of APFS

Sometimes when trying things out in the OS installed in one of the virtual machines, things might break, requiring a full install of the guest operating system again, which is a pain.

Thanks to APFS cloning though, you can just duplicate a virtual machine within your library folder (using Command + D in Finder), and the copy will take almost no additional disk space. This way you can have a "clean" copy of your VM, do whatever you want with a duplicate of it, and then throw the copy away and re-duplicate the clean version if things break.

Screen Resolution

VirtualBuddy sets up its virtual machines to have the same screen resolution as the host's main screen. This is great if you want to use the VM in full screen and take advantage of the entire resolution of your Mac's display.

The default mode the VM OS selects for the display uses the native resolution that's available to it though, which can make things look really small. In order to address this, go into System Preferences > Displays within the guest operating system and choose a scaled resolution.

Building

Xcode 14 is required.

  • Open the VirtualBuddy/Config/Signing.xcconfig file
  • Set the VB_BUNDLE_ID_PREFIX variable to something unique like com.yourname.
  • Select the VirtualBuddy project in the Xcode sidebar
  • Under "Targets", select "VirtualBuddy"
  • Go to the Signing & Capabilities tab and select your development team under Signing > Team
  • Repeat the same process for the "VirtualBuddyGuest" target
  • Build the VirtualBuddy scheme (the one that doesn't have (Managed) in its name)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap