Skip to content

Commit

Permalink
Framework build
Browse files Browse the repository at this point in the history
  • Loading branch information
mojodna committed Jan 14, 2011
1 parent 9006084 commit bb2326f
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 1 deletion.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
default: release

# Create a Universal binary (iOS + Simulator)
release:
xcodebuild -target SimpleGeoAR -configuration Release -sdk iphoneos4.2 build
xcodebuild -target SimpleGeoAR -configuration Release -sdk iphonesimulator4.2 build
-lipo -create build/Release-iphoneos/SimpleGeoAR.framework/SimpleGeoAR build/Release-iphonesimulator/SimpleGeoAR.framework/SimpleGeoAR -output build/Release-iphoneos/SimpleGeoAR.framework/SimpleGeoAR

dist: release
cd build/Release-iphoneos/ && tar zcf ../../SimpleGeoAR.tgz SimpleGeoAR.framework/

clean:
-rm -rf build
Loading

0 comments on commit bb2326f

Please sign in to comment.