Fix build-ios.sh to work if build.sh hasn't been previously run
@@ -26,8 +26,9 @@ fi
mkdir -p out
cd out
-cmake -DBUILD_IOS=YES -DBUILD_SIMULATOR=NO -DBUILD_UNIT_TESTS=NO -DBUILD_FUNC_TESTS=NO -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
+CMAKE_PACKAGE_TYPE=tgz
+
+cmake -DBUILD_IOS=YES -DBUILD_SIMULATOR=YES -DBUILD_UNIT_TESTS=NO -DBUILD_FUNC_TESTS=NO -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_PACKAGE_TYPE=$CMAKE_PACKAGE_TYPE ..
make
-CMAKE_PACKAGE_TYPE=tgz
make package
