diff --git a/src/ios/Info.plist b/src/ios/Info.plist new file mode 100644 index 00000000..297e0cf3 --- /dev/null +++ b/src/ios/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleName + cory + CFBundleSupportedPlatforms + + iPhoneOS + + CFBundleExecutable + cory + CFBundleIdentifier + cory + CFBundleResourceSpecification + ResourceRules.plist + LSRequiresIPhoneOS + + CFBundleDisplayName + cory + CFBundleVersion + 1.0 + CFBundleShortVersionString + 1.0 + + diff --git a/tools/ios.sh b/tools/ios.sh new file mode 100755 index 00000000..406faf50 --- /dev/null +++ b/tools/ios.sh @@ -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