: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:
		
							
								
								
									
										26
									
								
								src/ios/Info.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/ios/Info.plist
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 | 
			
		||||
<plist version="1.0">
 | 
			
		||||
<dict>
 | 
			
		||||
	<key>CFBundleName</key>
 | 
			
		||||
	<string>cory</string>
 | 
			
		||||
	<key>CFBundleSupportedPlatforms</key>
 | 
			
		||||
	<array>
 | 
			
		||||
	    <string>iPhoneOS</string>
 | 
			
		||||
	</array>
 | 
			
		||||
	<key>CFBundleExecutable</key>
 | 
			
		||||
	<string>cory</string>
 | 
			
		||||
	<key>CFBundleIdentifier</key>
 | 
			
		||||
	<string>cory</string>
 | 
			
		||||
	<key>CFBundleResourceSpecification</key>
 | 
			
		||||
	<string>ResourceRules.plist</string>
 | 
			
		||||
	<key>LSRequiresIPhoneOS</key>
 | 
			
		||||
	<true/>
 | 
			
		||||
	<key>CFBundleDisplayName</key>
 | 
			
		||||
	<string>cory</string>
 | 
			
		||||
	<key>CFBundleVersion</key>
 | 
			
		||||
	<string>1.0</string>
 | 
			
		||||
	<key>CFBundleShortVersionString</key>
 | 
			
		||||
	<string>1.0</string>
 | 
			
		||||
</dict>
 | 
			
		||||
</plist>
 | 
			
		||||
							
								
								
									
										6
									
								
								tools/ios.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								tools/ios.sh
									
									
									
									
									
										Executable 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user