Commit 7837c68
committed
Optimize iOS build pipeline: Increase RAM, Skip Pods, Fix Shell Scripts.
- Increased ByteCodeTranslator heap size to 2048MB in IPhoneBuilder to address potential memory bottlenecks.
- Made `pod install` conditional in IPhoneBuilder; it now skips if not required or if `ios.pods.skipInstall` is set, reducing build overhead.
- Refactored `scripts/build-ios-app.sh` and `scripts/run-ios-ui-tests.sh` to remove `eval` and correctly handle arguments with spaces (like simulator names), preventing syntax errors.
- Updated iOS build scripts to fallback to `.xcodeproj` if `.xcworkspace` is missing (due to skipped pods).
- Updated `.github/workflows/scripts-ios.yml` to remove the hardcoded `IOS_SIM_DESTINATION` variable, allowing `scripts/run-ios-ui-tests.sh` to dynamically select a valid, available simulator, resolving CI failures where specific devices (like iPhone 16) were missing.1 parent a1a3fa5 commit 7837c68
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
0 commit comments