From 34e9bc78767b248ee16a73bec6e65fe68cb4b631 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Thu, 5 Sep 2019 15:22:44 +0200 Subject: [PATCH] Make release-ios build iOS app from command line Signed-off-by: Pedro Pombeiro --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index da394829d1..4be91c9197 100644 --- a/Makefile +++ b/Makefile @@ -127,12 +127,10 @@ release-android: ##@build build release for Android release-ios: export TARGET_OS ?= ios release-ios: export BUILD_ENV ?= prod release-ios: watchman-clean ##@build build release for iOS release - # Open XCode inside the Nix context @git clean -dxf -f target/ios && \ $(MAKE) jsbundle-ios && \ - echo "Build in XCode, see https://status.im/build_status/ for instructions" && \ scripts/copy-translations.sh && \ - open ios/StatusIm.xcworkspace + xcodebuild -workspace ios/StatusIm.xcworkspace -scheme StatusIm -configuration Release -destination 'generic/platform=iOS' -UseModernBuildSystem=N clean archive release-desktop: export TARGET_OS ?= $(HOST_OS) release-desktop: ##@build build release for desktop release based on TARGET_OS