Skip to content

updated CI to run on iPhone simulator 17.4, Xcode15.3, macOS 14 (#107) #144

updated CI to run on iPhone simulator 17.4, Xcode15.3, macOS 14 (#107)

updated CI to run on iPhone simulator 17.4, Xcode15.3, macOS 14 (#107) #144

Workflow file for this run

name: CocoaPods
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
name: Build Project
runs-on: macos-14
steps:
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_15.3.app
- uses: actions/checkout@v3
with:
lfs: true
- name: Ensure Project does not contain Pods before build
run: |
! grep -q Pods nimbus-ios-sample.xcodeproj/project.pbxproj
- name: Restore Build Cache
uses: actions/cache@v3
with:
path: |
Pods
.build
!.build/Logs/**
!.build/TestResults/**
key: ${{ runner.os }}-cocoapods-${{ hashFiles('**/Podfile*') }}
restore-keys: |
${{ runner.os }}-cocoapods-
- name: Install pods
run: pod install --repo-update
- name: Install xcbeautify
run: brew install xcbeautify
- name: Build Sample App
run: set -o pipefail && xcodebuild -workspace "nimbus-ios-sample.xcworkspace" -scheme "nimbus-ios-sample-pods" -configuration "Debug" -sdk "iphonesimulator17.4" -derivedDataPath .build/DerivedData | xcbeautify