Run macOS in Docker - build iOS apps on Linux!
start macos # Boot VM (2-5 min)
status macos # Check if ready
ssh macos # Connect
stop macos # Shutdown
| Command | Description |
|---|---|
| --------- | ------------- |
start macos | Boot macOS VM |
stop macos | Shutdown VM |
status macos | Check running |
ssh macos | Get SSH command |
vnc macos | Get VNC address |
logs macos | View logs |
alpine# In macOS terminal:
xcode-select --install
git clone <repo>
cd repo
xcodegen generate
xcodebuild -project App.xcodeproj -scheme App -configuration Release -destination 'generic/platform=iOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build
| Error | Fix | |
|---|---|---|
| ------- | ----- | |
| KVM not available | Server needs hardware virtualization | |
| Docker not installed | `curl -sSL get.docker.com | sh` |
共 1 个版本