Skip to content

Commit

Permalink
bring back UseModernBuildSystem flag
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Mar 14, 2023
1 parent fee13e4 commit c7845b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ end
# if false - read list of devices from AppStoreConnect, and upgrade the provisioning profiles from it
# `pr_build`:
# if true - uses StatusImPR scheme and postfixed app id with `.pr` to build an app, which can be used in parallel with release
# if false - uses StatusIm scheme to build the release app
# if false - uses StatusIm scheme to build the release app

def build_ios_adhoc(readonly: false, pr_build: false)
# PR builds should appear as a separate App on iOS
Expand Down Expand Up @@ -124,6 +124,7 @@ def build_ios_adhoc(readonly: false, pr_build: false)
output_name: 'StatusIm',
output_directory: 'status-ios',
buildlog_path: 'ios/logs',
xcargs: "-UseModernBuildSystem=N",
export_options: {
signingStyle: 'manual',
provisioningProfiles: {
Expand Down Expand Up @@ -159,7 +160,7 @@ def build_ios_e2e
destination: 'generic/platform=iOS Simulator',
# 2. fixing compilations issues as stated in https://stackoverflow.com/a/20505258
# it looks like i386 isn't supported by React Native
xcargs: 'ARCHS="x86_64" ONLY_ACTIVE_ARCH=NO',
xcargs: 'ARCHS="x86_64" ONLY_ACTIVE_ARCH=NO -UseModernBuildSystem=N',
# 3. directory where to up StatusIm.app
derived_data_path: 'status-ios',
output_name: 'StatusIm.app',
Expand Down Expand Up @@ -242,8 +243,10 @@ platform :ios do
export_method: 'app-store',
output_directory: 'status-ios',
buildlog_path: 'ios/logs',
xcargs: "-UseModernBuildSystem=N",
include_symbols: false,
export_options: {
"UseModernBuildSystem": "N",
"combileBitcode": true,
"uploadBitcode": false,
"ITSAppUsesNonExemptEncryption": false
Expand Down

0 comments on commit c7845b8

Please sign in to comment.