Skip to content

Added trusting fingerprints of packages #59

Added trusting fingerprints of packages

Added trusting fingerprints of packages #59

Workflow file for this run

name: iOS Build and Test
on:
pull_request:
branches:
- main
jobs:
buildAndTest:
name: Build and Test the app
runs-on: macos-13
steps:
- name: Trust fingerprint for packages
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select correct xcode
run: sudo xcode-select -s '/Applications/Xcode_14.3.1.app'
- name: Create dummy Secrets.json file
run: echo '{ }' >> /Users/runner/work/app/app/SwiftIslandApp/Resources/Secrets.json
- name: Build and test
run: |
xcodebuild \
clean \
test \
-project SwiftIslandApp.xcodeproj \
-scheme SwiftIsland \
-configuration "Debug" \
-showBuildTimingSummary \
-destination 'platform=iOS Simulator,name=iPhone 14' \
-clonedSourcePackagesDirPath ~/clonedSourcePackagesDirPath \
"COMPILER_INDEX_STORE_ENABLE=NO"