Make release-ios build iOS app from command line

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Pedro Pombeiro 2019-09-05 15:22:44 +02:00
parent 083cf07670
commit 34e9bc7876
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
1 changed files with 1 additions and 3 deletions

View File

@ -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