From 8909520f21c310dcba01217d9e67750e6e0ff95b Mon Sep 17 00:00:00 2001 From: Alfonso Curbelo Date: Thu, 22 Sep 2022 06:10:43 -0400 Subject: [PATCH] Update Xcode in CI --- .circleci/config.yml | 37 +------------------------------------ package.json | 6 +++--- 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index eaa20ac7..e4492363 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,40 +33,7 @@ jobs: e2e_release_ios: executor: name: rn/macos - xcode_version: '13.1.0' - steps: - - checkout - - run: - name: install applesimutils - command: | - HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null - HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null - - rn/ios_simulator_start: - device: 'iPhone 11' - # - rn/yarn_install - - run: - command: yarn install --frozen-lockfile - name: yarn install - - run: - command: yarn bundle:ios - name: bundle js - - rn/pod_install: - pod_install_directory: 'example/ios' - - run: - command: yarn detox:ios:build:release - name: build app for e2e tests - - run: - command: yarn detox:ios:test:release - name: run e2e tests - - store_artifacts: - path: ./artifacts - - e2e_release_ios_fabric: - executor: - name: rn/macos - xcode_version: '13.1.0' - environment: - RCT_NEW_ARCH_ENABLED: 1 + xcode_version: '14.0.0' steps: - checkout - run: @@ -155,13 +122,11 @@ workflows: jobs: - analyse_js - e2e_release_ios - - e2e_release_ios_fabric - e2e_release_android - publish: requires: - e2e_release_android - e2e_release_ios - - e2e_release_ios_fabric filters: branches: only: master diff --git a/package.json b/package.json index aacb6303..7a16312d 100644 --- a/package.json +++ b/package.json @@ -105,10 +105,10 @@ "configurations": { "ios.sim.debug": { "binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ReactTestApp.app", - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 11' -scheme date-time-picker-example -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES", + "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 13' -scheme date-time-picker-example -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES", "type": "ios.simulator", "device": { - "type": "iPhone 11" + "type": "iPhone 13" } }, "ios.sim.release": { @@ -116,7 +116,7 @@ "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -sdk iphonesimulator -scheme date-time-picker-example -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES", "type": "ios.simulator", "device": { - "type": "iPhone 11" + "type": "iPhone 13" } }, "android.emu.debug": {