Skip to content

Commit

Permalink
Restore using install_swift_dependencies and SwiftPM cache
Browse files Browse the repository at this point in the history
We disabled this because of an issue with package resolution, see
#1990

Since then, a fix has been implemented in the command, see
Automattic/a8c-ci-toolkit-buildkite-plugin#105
so we can re-enable it.
  • Loading branch information
mokagio committed Nov 21, 2024
1 parent def1a4c commit 19929b2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .buildkite/commands/shared_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,4 @@ echo "--- :cocoapods: Setting up Pods"
install_cocoapods

echo "--- :swift: Installing Swift Package Manager Dependencies"
# Temporarily disable `install_swiftpm_dependencies` and calling `xcodebuild -resolvePackageDependencies`
# command directly instead until we move the `.xcodeproj` to a folder other than the project root to workaround
# an issue with `xcodebuild` not using the right `Package.resolved` file (`*.xcworkspace/*` vs `*.xcodeproj/*`)
#
# install_swiftpm_dependencies
xcodebuild -resolvePackageDependencies \
-workspace podcasts.xcworkspace \
-scheme pocketcasts
install_swiftpm_dependencies

0 comments on commit 19929b2

Please sign in to comment.