ci: use legacy build system to avoid xcode 10.1 issues

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Jakub Sokołowski 2019-03-01 02:17:39 +01:00 committed by Igor Mandrigin
parent e02b89660f
commit fd59e76603
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
2 changed files with 9 additions and 3 deletions

View File

@ -39,9 +39,9 @@ pipeline {
stage('iOS') { steps { script { stage('iOS') { steps { script {
ios = cmn.buildBranch('status-react/combined/mobile-ios') ios = cmn.buildBranch('status-react/combined/mobile-ios')
} } } } } }
stage('iOS e2e') { steps { script { //stage('iOS e2e') { steps { script {
iose2e = cmn.buildBranch('status-react/combined/mobile-ios-e2e') // iose2e = cmn.buildBranch('status-react/combined/mobile-ios-e2e')
} } } //} } }
stage('Android') { steps { script { stage('Android') { steps { script {
apk = cmn.buildBranch('status-react/combined/mobile-android') apk = cmn.buildBranch('status-react/combined/mobile-android')
} } } } } }

View File

@ -70,6 +70,8 @@ def build_ios_adhoc(readonly)
configuration: "Release", configuration: "Release",
clean: true, clean: true,
export_method: "ad-hoc", export_method: "ad-hoc",
# Temporary fix for Xcode 10.1
xcargs: "-UseModernBuildSystem=N",
output_directory: "status-adhoc" output_directory: "status-adhoc"
) )
end end
@ -106,6 +108,8 @@ def build_ios_e2e
scheme: "StatusIm", scheme: "StatusIm",
workspace: "ios/StatusIm.xcworkspace", workspace: "ios/StatusIm.xcworkspace",
configuration: "Release", configuration: "Release",
# Temporary fix for Xcode 10.1
xcargs: "-UseModernBuildSystem=N",
# Simulator apps can't be archived... # Simulator apps can't be archived...
skip_archive: true, skip_archive: true,
# ...and we don't need an .ipa file for them, because we use .app directly # ...and we don't need an .ipa file for them, because we use .app directly
@ -178,6 +182,8 @@ platform :ios do
clean: true, clean: true,
export_method: "app-store", export_method: "app-store",
output_directory: "status_appstore", output_directory: "status_appstore",
# Temporary fix for Xcode 10.1
xcargs: "-UseModernBuildSystem=N",
export_options: { export_options: {
"combileBitcode": true, "combileBitcode": true,
"uploadBitcode": false, "uploadBitcode": false,