Skip to content

Commit

Permalink
upgrade targets for Xcode, macOS, and iOS
Browse files Browse the repository at this point in the history
* target Xcode 15.2
* target macOS 14.2
* target iOS 17.2
  • Loading branch information
drewvolz committed Feb 20, 2024
1 parent 64bc641 commit d0d3c5b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

ios:
name: Build for iOS
runs-on: macos-12
runs-on: macos-14.2
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
Expand All @@ -86,7 +86,7 @@ jobs:
with:
ruby-version: '3.0'
bundler-cache: true
- run: sudo xcode-select -s /Applications/Xcode_14.2.app
- run: sudo xcode-select -s /Applications/Xcode_15.2.app
- run: git fetch --prune --unshallow
- run: npm ci
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

env:
ruby_version: '3.0'
xcode_version: 'Xcode_14.2'
xcode_version: 'Xcode_15.2'
java_version: '11'
java_distribution: temurin

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

cache-npm-macos:
name: Cache npm for macOS
runs-on: macos-12
runs-on: macos-14.2
outputs:
cache-key: ${{ steps.node-cache.outputs.cache-primary-key }}
steps:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

cache-bundler-macos:
name: Cache bundler for macOS
runs-on: macos-12
runs-on: macos-14.2
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

Expand All @@ -94,7 +94,7 @@ jobs:
cache-cocoapods:
name: iOS Cocoapods
needs: [cache-npm-macos, cache-bundler-macos]
runs-on: macos-12
runs-on: macos-14.2
outputs:
cache-key: ${{ steps.cocoapods-cache.outputs.cache-primary-key }}
steps:
Expand Down Expand Up @@ -271,7 +271,7 @@ jobs:
ios-bundle:
name: iOS Bundle
needs: [cache-npm-macos]
runs-on: macos-12
runs-on: macos-14.2
outputs:
cache-key: ${{ steps.jsbundle-cache.outputs.cache-primary-key }}
steps:
Expand Down Expand Up @@ -430,7 +430,7 @@ jobs:
ios-build:
name: Build for iOS
needs: [jest, eslint, cache-cocoapods, cache-npm-macos, cache-bundler-macos]
runs-on: macos-12
runs-on: macos-14.2
outputs:
cache-key: ${{ steps.app-cache.outputs.cache-primary-key }}
steps:
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:
ios-detox:
name: Detox E2E for iOS
needs: [cache-npm-macos, ios-build, ios-bundle]
runs-on: macos-12
runs-on: macos-14.2
steps:
- run: sudo xcode-select -s /Applications/${{ env.xcode_version }}.app

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
ios-podfile-update:
# Adapted from https://gist.github.com/A-Tokyo/0d811e818513fc4d3272335d2847d748
name: iOS Update Cocoapods
runs-on: macos-12
runs-on: macos-14.2
timeout-minutes: 15
if: github.actor == 'renovate[bot]'
steps:
Expand All @@ -33,7 +33,7 @@ jobs:
ruby-version: '3.0'
bundler-cache: true

- run: sudo xcode-select -s /Applications/Xcode_14.2.app
- run: sudo xcode-select -s /Applications/Xcode_15.2.app

- run: npm ci

Expand Down
4 changes: 2 additions & 2 deletions ios/AllAboutOlaf.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "$(inherited)";
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
Expand Down Expand Up @@ -1477,7 +1477,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "$(inherited)";
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MTL_ENABLE_DEBUG_INFO = NO;
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
Expand Down

0 comments on commit d0d3c5b

Please sign in to comment.