Skip to content
Browse files

Build using iOS 6.0 sdk and 6.0 simulator

- Modify README.md to show how to build the Project
  • Loading branch information...
1 parent 4f9b2c5 commit 6a50a48448c59fc03498d3ae9b67092d5dbd888c Rodney Degracia committed
Showing with 15 additions and 3 deletions.
  1. +13 −1 README.md
  2. +2 −2 Tools/makerelease.rb
View
14 README.md
@@ -6,4 +6,16 @@ OCMock is an Objective-C implementation of mock objects. Github is used to store
If you are unfamiliar with the concept of mock objects, please visit [mockobjects.com][2]. It has more detail about this approach to testing software.
[1]: http://ocmock.org/
- [2]: http://www.mockobjects.com/
+ [2]: http://www.mockobjects.com/
+
+
+
+Build Instructions:
+
+git clone git://github.com/erikdoe/ocmock.git
+
+cd ocmock
+
+ruby ./Tools/makerelease.rb
+
+
View
4 Tools/makerelease.rb
@@ -32,8 +32,8 @@ def buildModules
osxproductdir = "#{@env.productdir}/OSX"
@worker.run("mkdir -p #{osxproductdir}")
@worker.run("cp -R build/Release/OCMock.framework #{osxproductdir}")
- @worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphoneos5.0")
- @worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphonesimulator5.0")
+ @worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphoneos6.0")
+ @worker.run("xcodebuild -project OCMock.xcodeproj -target OCMockLib -sdk iphonesimulator6.0")
@worker.run("lipo -create -output build/Release/libOCMock.a build/Release-*/libOCMock.a")
iosproductdir = "#{@env.productdir}/iOS"
@worker.run("mkdir -p #{iosproductdir}")

1 comment on commit 6a50a48

@e28eta

You could just use "iphoneos" and "iphonesimulator" and xcodebuild will use the latest version it knows.

Please sign in to comment.
Something went wrong with that request. Please try again.