You could try running macos in a virtual machine.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: