File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 required : true
1313 type : string
1414 arch :
15- description : ' Architecture (arm64, x64, or both) '
15+ description : ' Architecture'
1616 required : false
1717 type : choice
1818 options :
1919 - arm64
20- - x64
21- - both
2220 default : arm64
2321
2422jobs :
@@ -123,7 +121,11 @@ jobs:
123121 flutter pub get
124122 dart run build_runner build --delete-conflicting-outputs
125123
126- # Two-step xcodebuild — flutter build macos fails with module dependency errors
124+ # Try flutter build first — it generates ephemeral files needed by xcodebuild.
125+ # It may fail with module dependency errors, which is OK.
126+ flutter build macos --release || true
127+
128+ # Two-step xcodebuild — handles module dependency errors that flutter build can't
127129 cd macos
128130 rm -rf Pods Podfile.lock
129131 pod install
You can’t perform that action at this time.
0 commit comments