File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,7 +226,11 @@ jobs:
226226 run : yarn example build:ios
227227
228228 - name : Install Pods
229- run : yarn pods
229+ run : |
230+ cd example/ios
231+ rm -rf Pods Podfile.lock
232+ cd ../..
233+ yarn pods
230234
231235 - name : Install Maestro CLI
232236 run : |
@@ -238,7 +242,19 @@ jobs:
238242 echo "Available iOS simulators:"
239243 xcrun simctl list devices
240244
241- - name : Build iOS App
245+ - name : Clean build caches and regenerate
246+ run : |
247+ cd example/ios
248+ rm -rf ~/Library/Developer/Xcode/DerivedData/* || true
249+ rm -rf ~/Library/Caches/com.apple.dt.Xcode/* || true
250+ rm -rf build/ || true
251+ rm -rf .generated/ || true
252+ cd ../..
253+ yarn example build:ios
254+ cd example/ios
255+ xcodebuild clean -workspace example.xcworkspace -scheme example || true
256+
257+ - name : Build iOS App (Debug Mode)
242258 run : |
243259 yarn run-example-ios:release
244260
You can’t perform that action at this time.
0 commit comments