Skip to content

Commit 7b359a7

Browse files
enedclaude
andcommitted
fix: add iOS environment setup to examples workflow
- Add explicit Xcode developer path setup for example_ios job - Add iOS SDK version verification - Add flutter clean and pub get before build to prevent sandbox issues - Should resolve "rsync.samba sandbox" and "Failed to parse Target Device Version" errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a4e7694 commit 7b359a7

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/examples.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,16 @@ jobs:
3535
channel: "stable"
3636
cache: true
3737

38+
- name: Setup iOS build environment
39+
run: |
40+
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
41+
xcrun --sdk iphoneos --show-sdk-version
42+
3843
- name: build
3944
run: |
4045
dart pub global activate melos
4146
melos bootstrap
42-
cd example && flutter build ios --debug --no-codesign
47+
cd example
48+
flutter clean
49+
flutter pub get
50+
flutter build ios --debug --no-codesign

0 commit comments

Comments
 (0)