Skip to content

Fix crash on launch for empty playable folders #789

Fix crash on launch for empty playable folders

Fix crash on launch for empty playable folders #789

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ develop ]
jobs:
build:
# https://github.com/actions/runner-images/tree/main/images/macos
runs-on: macos-14
steps:
- uses: actions/checkout@v4
# We only use Xcode 15.4
- name: Remove unused applications
run: |
df -hI /dev/disk3s1s1
sudo rm -rf /Applications/Xcode_14.3.1.app
sudo rm -rf /Applications/Xcode_15.0.1.app
sudo rm -rf /Applications/Xcode_15.1.app
sudo rm -rf /Applications/Xcode_15.2.app
sudo rm -rf /Applications/Xcode_15.3.app
df -hI /dev/disk3s1s1
- name: Create Debug.xcconfig
run: cp ./BuildConfiguration/Debug.template.xcconfig ./BuildConfiguration/Debug.xcconfig
- name: Set Xcode version
run: sudo xcode-select -s "/Applications/Xcode_15.4.app/Contents/Developer"
- name: Resolve dependencies
run: xcodebuild -resolvePackageDependencies
- name: Build and Run tests
run: xcodebuild -scheme BookPlayer test -testPlan Unit\ Tests -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.5'