Skip to content

Commit

Permalink
Merge pull request #2 from StanfordBDHG/1-install-apple-root-certific…
Browse files Browse the repository at this point in the history
…ates

Install Apple Root Certificates
  • Loading branch information
PSchmiedmayer authored Sep 29, 2023
2 parents 351d0f3 + a65b706 commit 4d18e30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ firebase emulators:exec --project test "echo 'Firebase emulator installed and st
# 6. Install Xcode
# We install Xcode right at the beginning to avoid any interactive requests in the middle of the script like asking for a 2FA authentication code.
# Download Xcode Releases
xcodes install --update --experimental-unxip --empty-trash 14.3.1
sudo xcode-select -s /Applications/Xcode-14.3.1.app
xcodebuild -downloadAllPlatforms
xcodes install --update --experimental-unxip --empty-trash 15.0 Beta 5
sudo xcode-select -s /Applications/Xcode-15.0.0-Beta.5.app
xcodes install --update --experimental-unxip --empty-trash 15.0
sudo xcode-select -s /Applications/Xcode-15.0.app
xcodebuild -downloadAllPlatforms
xcodes signout

curl -o AppleWWDRCAG3.cer https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain AppleWWDRCAG3.cer
rm -f AppleWWDRCAG3.cer

# 7. Install SwiftLint
brew install swiftlint
Expand Down

0 comments on commit 4d18e30

Please sign in to comment.