diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ab97c8..a6ab3df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,15 +26,21 @@ jobs: - name: Fix PNG assets run: | - find assets -name "*.png" | while read f; do + find assets -name "*.png" 2>/dev/null | while read f; do sips -s format png "$f" --out "$f" - done + done || true - name: Expo prebuild run: npx expo prebuild --platform ios --clean env: EXPO_NO_DOTENV: 1 + - name: Install CocoaPods dependencies + run: | + cd ios + pod install --repo-update + cd .. + - name: Build unsigned app run: | WORKSPACE=$(find ios -name "*.xcworkspace" -type d | head -1) @@ -51,15 +57,6 @@ jobs: CODE_SIGNING_ALLOWED=NO \ ENABLE_BITCODE=NO - - name: Locate app - run: | - echo "=== Xcode default DerivedData ===" - find ~/Library/Developer/Xcode/DerivedData -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" || echo "nothing" - echo "=== RUNNER_TEMP ===" - find "$RUNNER_TEMP" -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" || echo "nothing" - echo "=== runner home ===" - find /Users/runner -maxdepth 8 -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" | grep -v "Xcode.app" | grep -v "CoreSimulator" | grep -v "node_modules" | grep -v "Cellar" || echo "nothing" - - name: Package IPA run: | APP_PATH=$(find "$RUNNER_TEMP/DerivedData/Build/Products" -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" | head -1)