ios_build.sh 315 B

1234567
  1. #!/bin/sh
  2. set -e
  3. macospath="$(xcrun --sdk macosx --show-sdk-path)"
  4. xcrun -sdk iphoneos clang -fmodules -Os -g -target arm64-apple-ios14 -o ios_hv \
  5. -DUSE_EXTERNAL_HV_TRAP -Ifixed_hv_headers -framework IOKit \
  6. hv.m hv_demo.m userclient_hv_trap.m
  7. codesign --sign - --force --entitlements ios_hv.entitlements ios_hv