mirror of
https://github.com/utmapp/Hypervisor.git
synced 2026-12-01 22:13:17 -10:00
8 lines
315 B
Bash
Executable File
8 lines
315 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
macospath="$(xcrun --sdk macosx --show-sdk-path)"
|
|
xcrun -sdk iphoneos clang -fmodules -Os -g -target arm64-apple-ios14 -o ios_hv \
|
|
-DUSE_EXTERNAL_HV_TRAP -Ifixed_hv_headers -framework IOKit \
|
|
hv.m hv_demo.m userclient_hv_trap.m
|
|
codesign --sign - --force --entitlements ios_hv.entitlements ios_hv
|