tildefriends/tools/ios.sh

7 lines
314 B
Bash
Executable File

#!/usr/bin/env bash -e
mkdir -p out/cory.app
cp src/ios/Info.plist out/cory.app
xcrun --sdk iphonesimulator clang src/ios.m -arch x86_64 -o out/cory.app/cory -framework CoreFoundation -framework UIKit -framework WebKit -framework Foundation
xcrun simctl install booted out/cory.app
xcrun simctl launch booted cory