:O This builds an app which brings up the web site in the simulator.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4513 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-13 01:09:15 +00:00
parent a39f820ff1
commit e8aa957209
2 changed files with 32 additions and 0 deletions

6
tools/ios.sh Executable file
View File

@ -0,0 +1,6 @@
#!/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