Skip to content

Commit 041d4ba

Browse files
NandanPrabhuclaude
andcommitted
Enable Swift Package Manager before Flutter pub get on ci
flutter config --enable-swift-package-manager must run after Flutter is installed and before flutter pub get so that SPM-based dependencies (Auth0.swift resolved via Package.swift) are properly set up when building and running native iOS/macOS unit tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1bb8bef commit 041d4ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/setup-darwin/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ runs:
5050
channel: stable
5151
cache: true
5252

53+
- name: Enable Swift Package Manager
54+
run: flutter config --enable-swift-package-manager
55+
shell: bash
56+
5357
- name: Install Flutter dependencies
5458
working-directory: auth0_flutter/example
5559
run: flutter pub get

0 commit comments

Comments
 (0)