Browse files

Oops, switch configuration back to Release

  • Loading branch information...
1 parent b4008b2 commit a31bd6258d30c08eaa0aea1db90767a9bb3fafa2 @jonreid committed Mar 28, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 Source/
@@ -1,18 +1,18 @@
# First build the OS X framework to get its folder structure.
-xcodebuild -configuration Debug -target OCMockito -sdk macosx
+xcodebuild -configuration Release -target OCMockito -sdk macosx
# We'll copy the OS X framework to a new location, then modify it in place.
# Trigger builds of the static library for both the simulator and the device.
-xcodebuild -configuration Debug -target libocmockito -sdk iphoneos
+xcodebuild -configuration Release -target libocmockito -sdk iphoneos
if [ "${OUT}" -ne "0" ]; then
echo Device build failed
exit ${OUT}
-xcodebuild -configuration Debug -target libocmockito -sdk iphonesimulator
+xcodebuild -configuration Release -target libocmockito -sdk iphonesimulator
if [ "${OUT}" -ne "0" ]; then
echo Simulator build failed
@@ -34,8 +34,8 @@ find "${IOS_FRAMEWORK}" -name '*.h' -print0 | xargs -0 perl -pi -e "${IMPORT_EXP
rm "${IOS_FRAMEWORK}/OCMockito" "${IOS_FRAMEWORK}/Versions/Current/OCMockito"
# Create a new library that is a fat library containing both static libraries.
lipo -create "${DEVICE_LIB}" -arch i386 "${SIMULATOR_LIB}" -o "${OUTPUT_LIB}"

0 comments on commit a31bd62

Please sign in to comment.