From 8085cb590cd955eb542a29b0d884b983031535ed Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 16:38:45 -0500 Subject: [PATCH 01/22] build.yml build.yml --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..1505bf097 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Mi Prueba de Humo iOS +on: + workflow_dispatch: # Esto activa el botón de "Play" manual + +jobs: + build_ios: + runs-on: macos-latest + steps: + - name: Checkout del código + uses: actions/checkout@v4 + + - name: Instalar dependencias (CocoaPods) + run: | + cd analytics + pod install + + - name: Compilar para Simulador + run: | + xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ + -scheme AnalyticsExample \ + -configuration Debug \ + -sdk iphonesimulator \ + -derivedDataPath build From c089b38ed5bcc498072b181e4c5b6a68c08508a2 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:09:30 -0500 Subject: [PATCH 02/22] Update iOS workflow configuration in check.yml --- .github/workflows/check.yml | 58 ++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 33 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d6d92e2a8..fada1dd4f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,37 +1,29 @@ -name: check - -permissions: - contents: read - +name: Mi Prueba de Humo iOS on: - pull_request: - push: - branches: main - -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} - cancel-in-progress: true + workflow_dispatch: jobs: - check: - runs-on: macOS-15 - env: - MINT_PATH: ${{ github.workspace }}/mint + build_ios: + runs-on: macos-latest steps: - - uses: actions/checkout@v2 - - - name: Cache Mint packages - uses: actions/cache@v4 - with: - path: ${{ env.MINT_PATH }} - key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} - restore-keys: ${{ runner.os }}-mint- - - - name: Install mint - run: brew install mint - - - name: Bootstrap mint with swiftformat - run: mint bootstrap - - - name: Check - run: scripts/style.sh test-only + - name: Checkout + uses: actions/checkout@v4 + + - name: Instalar pods + run: | + cd analytics + pod install + + - name: Compilar + run: | + xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ + -scheme AnalyticsExample \ + -configuration Debug \ + -sdk iphonesimulator \ + -derivedDataPath build + + - name: Guardar App para Appetize + uses: actions/upload-artifact@v4 + with: + name: app-simulador + path: build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From 42e57d8d04c9f50d8c356c7f95e5538612a43022 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:23:26 -0500 Subject: [PATCH 03/22] file import --- analytics/GoogleService-Info.plist | 46 ++++++++++++------------------ 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/analytics/GoogleService-Info.plist b/analytics/GoogleService-Info.plist index 55258edfe..624ec666a 100644 --- a/analytics/GoogleService-Info.plist +++ b/analytics/GoogleService-Info.plist @@ -2,39 +2,29 @@ - AD_UNIT_ID_FOR_BANNER_TEST - ca-app-pub-3940256099942544/2934735716 - AD_UNIT_ID_FOR_INTERSTITIAL_TEST - ca-app-pub-3940256099942544/4411468910 API_KEY - AIzaSyAzlj4APqi5S58nFtE52Da0fYBOHA2MhaY - BUNDLE_ID - com.google.firebase.quickstart.AnalyticsExample - CLIENT_ID - 123456789000-hjugbg6ud799v4c49dim8ce2usclthar.apps.googleusercontent.com - DATABASE_URL - https://mockproject-1234.firebaseio.com + AIzaSyDW7nSUCURYKM-fqKSrGN4eS0UZkA1GtpE GCM_SENDER_ID - 123456789000 - GOOGLE_APP_ID - 1:123456789000:ios:f1bf012572b04063 + 672558884827 + PLIST_VERSION + 1 + BUNDLE_ID + com.caro.testdemo + PROJECT_ID + testmobileios-df09c + STORAGE_BUCKET + testmobileios-df09c.firebasestorage.app IS_ADS_ENABLED - + IS_ANALYTICS_ENABLED - + IS_APPINVITE_ENABLED - + IS_GCM_ENABLED - + IS_SIGNIN_ENABLED - - PLIST_VERSION - 1 - PROJECT_ID - mockproject-1234 - REVERSED_CLIENT_ID - com.googleusercontent.apps.123456789000-hjugbg6ud799v4c49dim8ce2usclthar - STORAGE_BUCKET - mockproject-1234.appspot.com + + GOOGLE_APP_ID + 1:672558884827:ios:9dabd5502a0477c3f169fe - + \ No newline at end of file From 2d284f775e94b9dd10133fc38788f8ce1e193999 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:33:58 -0500 Subject: [PATCH 04/22] Delete analytics/GoogleService-Info.plist --- analytics/GoogleService-Info.plist | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 analytics/GoogleService-Info.plist diff --git a/analytics/GoogleService-Info.plist b/analytics/GoogleService-Info.plist deleted file mode 100644 index 624ec666a..000000000 --- a/analytics/GoogleService-Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - API_KEY - AIzaSyDW7nSUCURYKM-fqKSrGN4eS0UZkA1GtpE - GCM_SENDER_ID - 672558884827 - PLIST_VERSION - 1 - BUNDLE_ID - com.caro.testdemo - PROJECT_ID - testmobileios-df09c - STORAGE_BUCKET - testmobileios-df09c.firebasestorage.app - IS_ADS_ENABLED - - IS_ANALYTICS_ENABLED - - IS_APPINVITE_ENABLED - - IS_GCM_ENABLED - - IS_SIGNIN_ENABLED - - GOOGLE_APP_ID - 1:672558884827:ios:9dabd5502a0477c3f169fe - - \ No newline at end of file From b999f1291cbe390494fe8945c34a1a8ea65b4c98 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:34:59 -0500 Subject: [PATCH 05/22] file yaml --- analytics/GoogleService-Info.plist | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 analytics/GoogleService-Info.plist diff --git a/analytics/GoogleService-Info.plist b/analytics/GoogleService-Info.plist new file mode 100644 index 000000000..8d3281ac3 --- /dev/null +++ b/analytics/GoogleService-Info.plist @@ -0,0 +1,29 @@ +name: Mi Prueba de Humo iOS +on: + workflow_dispatch: + +jobs: + build_ios: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Instalar dependencias + run: | + cd analytics/AnalyticsExample + pod install + + - name: Compilar para Simulador + run: | + xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ + -scheme AnalyticsExample \ + -configuration Debug \ + -sdk iphonesimulator \ + -derivedDataPath build + + - name: Guardar App para Appetize + uses: actions/upload-artifact@v4 + with: + name: app-simulador + path: build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From a32c1d4e5f4242659640b25521c472f75e843040 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:42:56 -0500 Subject: [PATCH 06/22] Delete analytics/GoogleService-Info.plist --- analytics/GoogleService-Info.plist | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 analytics/GoogleService-Info.plist diff --git a/analytics/GoogleService-Info.plist b/analytics/GoogleService-Info.plist deleted file mode 100644 index 8d3281ac3..000000000 --- a/analytics/GoogleService-Info.plist +++ /dev/null @@ -1,29 +0,0 @@ -name: Mi Prueba de Humo iOS -on: - workflow_dispatch: - -jobs: - build_ios: - runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Instalar dependencias - run: | - cd analytics/AnalyticsExample - pod install - - - name: Compilar para Simulador - run: | - xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ - -scheme AnalyticsExample \ - -configuration Debug \ - -sdk iphonesimulator \ - -derivedDataPath build - - - name: Guardar App para Appetize - uses: actions/upload-artifact@v4 - with: - name: app-simulador - path: build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From f9082415473a8c0e66363b548f19784ea5a81444 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:44:06 -0500 Subject: [PATCH 07/22] Add files via upload --- analytics/GoogleService-Info.plist | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 analytics/GoogleService-Info.plist diff --git a/analytics/GoogleService-Info.plist b/analytics/GoogleService-Info.plist new file mode 100644 index 000000000..624ec666a --- /dev/null +++ b/analytics/GoogleService-Info.plist @@ -0,0 +1,30 @@ + + + + + API_KEY + AIzaSyDW7nSUCURYKM-fqKSrGN4eS0UZkA1GtpE + GCM_SENDER_ID + 672558884827 + PLIST_VERSION + 1 + BUNDLE_ID + com.caro.testdemo + PROJECT_ID + testmobileios-df09c + STORAGE_BUCKET + testmobileios-df09c.firebasestorage.app + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:672558884827:ios:9dabd5502a0477c3f169fe + + \ No newline at end of file From 56662e890f11b08dc5519571185b7b224df99daf Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:01:27 -0500 Subject: [PATCH 08/22] actualice file yaml --- .github/workflows/main.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1505bf097..2fa695fb4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: Mi Prueba de Humo iOS on: - workflow_dispatch: # Esto activa el botón de "Play" manual + workflow_dispatch: jobs: build_ios: @@ -11,13 +11,19 @@ jobs: - name: Instalar dependencias (CocoaPods) run: | - cd analytics + cd analytics/AnalyticsExample pod install - name: Compilar para Simulador run: | - xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ + xcodebuild -workspace analytics/AnalyticsExample/AnalyticsExample.xcworkspace \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ -derivedDataPath build + + - name: Guardar App para Appetize + uses: actions/upload-artifact@v4 + with: + name: app-simulador + path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From 0738cb488f25dbadadd5604dc0ad8ae404db9302 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:10:12 -0500 Subject: [PATCH 09/22] file new From 6e6fb331a2dee2b9e37f448b461aa39e55347d8f Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:26:33 -0500 Subject: [PATCH 10/22] Refactor iOS workflow for clarity and correctness Updated paths and job names in the iOS workflow. --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2fa695fb4..5d1cc0593 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Mi Prueba de Humo iOS +name: Prueba Humo IOS on: workflow_dispatch: @@ -11,12 +11,12 @@ jobs: - name: Instalar dependencias (CocoaPods) run: | - cd analytics/AnalyticsExample + cd analytics pod install - name: Compilar para Simulador run: | - xcodebuild -workspace analytics/AnalyticsExample/AnalyticsExample.xcworkspace \ + xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ @@ -26,4 +26,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: app-simulador - path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app + path: analytics/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From 640ecd3669490caadc7dedd632c81f0fa5f0142b Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:28:21 -0500 Subject: [PATCH 11/22] Modify GitHub Actions workflow for CocoaPods Updated workflow to check for Podfile instead of installing dependencies. --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d1cc0593..b96457443 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,10 +9,9 @@ jobs: - name: Checkout del código uses: actions/checkout@v4 - - name: Instalar dependencias (CocoaPods) + - name: ¿Dónde está el Podfile? run: | - cd analytics - pod install + ls -R analytics - name: Compilar para Simulador run: | From ab21b2639e52c11e0cc6bb2d36616beeeade1445 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:31:52 -0500 Subject: [PATCH 12/22] Fix paths for Xcode build and artifact upload --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b96457443..85f4a9269 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Compilar para Simulador run: | - xcodebuild -workspace analytics/AnalyticsExample.xcworkspace \ + xcodebuild -workspace analytics/AnalyticsExample/AnalyticsExample.xcworkspace \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ @@ -25,4 +25,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: app-simulador - path: analytics/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app + path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From a6be923ca5826ce97c39eac408600e6f8dc51bc2 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:34:59 -0500 Subject: [PATCH 13/22] Rename step and improve output messages Updated step name and echo statements for clarity. --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85f4a9269..62e49871f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,12 @@ jobs: - name: Checkout del código uses: actions/checkout@v4 - - name: ¿Dónde está el Podfile? + - name: ¿Dónde estás, archivo? run: | - ls -R analytics + echo "--- Contenido de analytics ---" + ls -F analytics + echo "--- Contenido de la subcarpeta ---" + ls -F analytics/AnalyticsExample - name: Compilar para Simulador run: | From 029181bdac4b6fdd94196f7336fad76eed1ad9bc Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:38:07 -0500 Subject: [PATCH 14/22] Update GitHub Actions workflow for CocoaPods installation --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62e49871f..3436dfceb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,16 +9,15 @@ jobs: - name: Checkout del código uses: actions/checkout@v4 - - name: ¿Dónde estás, archivo? + - name: Instalar dependencias (CocoaPods) run: | - echo "--- Contenido de analytics ---" - ls -F analytics - echo "--- Contenido de la subcarpeta ---" - ls -F analytics/AnalyticsExample + cd analytics/AnalyticsExample + pod install - name: Compilar para Simulador run: | - xcodebuild -workspace analytics/AnalyticsExample/AnalyticsExample.xcworkspace \ + cd analytics/AnalyticsExample + xcodebuild -workspace AnalyticsExample.xcworkspace \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ From 148eb9e31db9221e2c1c9dcabf816653d1b37c18 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:39:52 -0500 Subject: [PATCH 15/22] Rename workflow and update steps for iOS build --- .github/workflows/main.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3436dfceb..0bfe330a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Humo IOS +name: Prueba Final Caro on: workflow_dispatch: @@ -9,15 +9,20 @@ jobs: - name: Checkout del código uses: actions/checkout@v4 - - name: Instalar dependencias (CocoaPods) + - name: Encontrar y preparar proyecto run: | - cd analytics/AnalyticsExample + # Buscamos dónde está el Podfile realmente + PODFILE_PATH=$(find . -name "Podfile" -exec dirname {} \;) + echo "El Podfile está en: $PODFILE_PATH" + cd "$PODFILE_PATH" pod install - name: Compilar para Simulador run: | - cd analytics/AnalyticsExample - xcodebuild -workspace AnalyticsExample.xcworkspace \ + # Buscamos el workspace y compilamos desde ahí + WORKSPACE_PATH=$(find . -name "*.xcworkspace" -exec dirname {} \;) + cd "$WORKSPACE_PATH" + xcodebuild -workspace *.xcworkspace \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ @@ -27,4 +32,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: app-simulador - path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app + path: "**/build/Build/Products/Debug-iphonesimulator/*.app" From 49e0c87a4b56b1414b4cf3be80470f2fc263d1d1 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:41:43 -0500 Subject: [PATCH 16/22] Rename workflow and adjust job steps Updated workflow name and modified steps to list directories and find Podfiles. --- .github/workflows/main.yml | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0bfe330a7..22e7bb6e2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,35 +1,17 @@ -name: Prueba Final Caro +name: Rayos X Repositorio on: workflow_dispatch: jobs: - build_ios: + listar_todo: runs-on: macos-latest steps: - - name: Checkout del código + - name: Checkout uses: actions/checkout@v4 - - name: Encontrar y preparar proyecto + - name: ¿Qué hay aquí? run: | - # Buscamos dónde está el Podfile realmente - PODFILE_PATH=$(find . -name "Podfile" -exec dirname {} \;) - echo "El Podfile está en: $PODFILE_PATH" - cd "$PODFILE_PATH" - pod install - - - name: Compilar para Simulador - run: | - # Buscamos el workspace y compilamos desde ahí - WORKSPACE_PATH=$(find . -name "*.xcworkspace" -exec dirname {} \;) - cd "$WORKSPACE_PATH" - xcodebuild -workspace *.xcworkspace \ - -scheme AnalyticsExample \ - -configuration Debug \ - -sdk iphonesimulator \ - -derivedDataPath build - - - name: Guardar App para Appetize - uses: actions/upload-artifact@v4 - with: - name: app-simulador - path: "**/build/Build/Products/Debug-iphonesimulator/*.app" + echo "--- LISTA DE CARPETAS RAÍZ ---" + ls -F + echo "--- BUSCANDO TODOS LOS PODFILES EN EL REPO ---" + find . -name "Podfile" From c01de7db38f0b9e20de295ebac4cae529309c281 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:44:13 -0500 Subject: [PATCH 17/22] Update GitHub Actions workflow for iOS build --- .github/workflows/main.yml | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22e7bb6e2..b4a12b018 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,17 +1,32 @@ -name: Rayos X Repositorio +name: Prueba Final Caro - Rescate on: workflow_dispatch: jobs: - listar_todo: + build_ios: runs-on: macos-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: ¿Qué hay aquí? + - name: Descargar Podfile Faltante run: | - echo "--- LISTA DE CARPETAS RAÍZ ---" - ls -F - echo "--- BUSCANDO TODOS LOS PODFILES EN EL REPO ---" - find . -name "Podfile" + cd analytics/AnalyticsExample + # Le robamos el Podfile directamente al repo original de Google + curl -O https://raw.githubusercontent.com/firebase/quickstart-ios/master/analytics/AnalyticsExample/Podfile + pod install + + - name: Compilar para Simulador + run: | + cd analytics/AnalyticsExample + xcodebuild -workspace AnalyticsExample.xcworkspace \ + -scheme AnalyticsExample \ + -configuration Debug \ + -sdk iphonesimulator \ + -derivedDataPath build + + - name: Guardar App para Appetize + uses: actions/upload-artifact@v4 + with: + name: app-simulador + path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app From 482e2f9f8d801b50b80f6ec3c85d4693a586a3a0 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:45:54 -0500 Subject: [PATCH 18/22] Update GitHub Actions workflow for iOS project Updated workflow name and modified steps to create Podfile from scratch instead of downloading it. --- .github/workflows/main.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4a12b018..eeff9cba3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Final Caro - Rescate +name: Prueba Final Caro - El Regreso on: workflow_dispatch: @@ -9,11 +9,21 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Descargar Podfile Faltante + - name: Crear Podfile y Instalar run: | + mkdir -p analytics/AnalyticsExample cd analytics/AnalyticsExample - # Le robamos el Podfile directamente al repo original de Google - curl -O https://raw.githubusercontent.com/firebase/quickstart-ios/master/analytics/AnalyticsExample/Podfile + + # Creamos el archivo Podfile desde cero + cat < Podfile + platform :ios, '15.0' + use_frameworks! + + target 'AnalyticsExample' do + pod 'FirebaseAnalytics' + end + EOF + pod install - name: Compilar para Simulador @@ -23,7 +33,8 @@ jobs: -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ - -derivedDataPath build + -derivedDataPath build \ + -quiet - name: Guardar App para Appetize uses: actions/upload-artifact@v4 From 75044c4afac388aa09e8e64f4674b88b6408bdae Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:47:50 -0500 Subject: [PATCH 19/22] Update workflow name and Podfile creation process --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eeff9cba3..329822fe4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Final Caro - El Regreso +name: Prueba Final Caro - La Vencida on: workflow_dispatch: @@ -11,12 +11,12 @@ jobs: - name: Crear Podfile y Instalar run: | - mkdir -p analytics/AnalyticsExample cd analytics/AnalyticsExample - # Creamos el archivo Podfile desde cero + # Creamos el Podfile con la ruta al proyecto cat < Podfile platform :ios, '15.0' + project 'AnalyticsExample.xcodeproj' use_frameworks! target 'AnalyticsExample' do From f3ee66a1d5f3078258b67456ed33b3c2ea00d147 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:50:07 -0500 Subject: [PATCH 20/22] Rename workflow and update project paths --- .github/workflows/main.yml | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 329822fe4..0cf9947ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Final Caro - La Vencida +name: Prueba Final Caro - El Rastreador on: workflow_dispatch: @@ -9,16 +9,23 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Crear Podfile y Instalar + - name: Rastrear Proyecto e Instalar run: | - cd analytics/AnalyticsExample + # 1. Buscamos dónde está el archivo .xcodeproj realmente + PROYECTO_PATH=$(find . -name "*.xcodeproj" -not -path "*/Pods/*" | head -n 1) + DIRECTORIO=$(dirname "$PROYECTO_PATH") + NOMBRE_PROYECTO=$(basename "$PROYECTO_PATH") - # Creamos el Podfile con la ruta al proyecto + echo "Encontramos el proyecto en: $DIRECTORIO" + echo "Nombre del archivo: $NOMBRE_PROYECTO" + + cd "$DIRECTORIO" + + # 2. Creamos el Podfile dinámico cat < Podfile platform :ios, '15.0' - project 'AnalyticsExample.xcodeproj' + project '$NOMBRE_PROYECTO' use_frameworks! - target 'AnalyticsExample' do pod 'FirebaseAnalytics' end @@ -28,8 +35,14 @@ jobs: - name: Compilar para Simulador run: | - cd analytics/AnalyticsExample - xcodebuild -workspace AnalyticsExample.xcworkspace \ + PROYECTO_PATH=$(find . -name "*.xcodeproj" -not -path "*/Pods/*" | head -n 1) + DIRECTORIO=$(dirname "$PROYECTO_PATH") + cd "$DIRECTORIO" + + # Buscamos el workspace que creó CocoaPods + WORKSPACE=$(ls | grep .xcworkspace) + + xcodebuild -workspace "$WORKSPACE" \ -scheme AnalyticsExample \ -configuration Debug \ -sdk iphonesimulator \ @@ -40,4 +53,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: app-simulador - path: analytics/AnalyticsExample/build/Build/Products/Debug-iphonesimulator/AnalyticsExample.app + path: "**/build/Build/Products/Debug-iphonesimulator/*.app" From 88e4696714aedc5934ec4aebc38d9a98edd5c4a5 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:51:47 -0500 Subject: [PATCH 21/22] Rename project and modify workflow paths Updated project name and adjusted paths for xcodeproj and target. --- .github/workflows/main.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cf9947ab..a285ae175 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Final Caro - El Rastreador +name: Prueba Final Caro - Inteligencia Total on: workflow_dispatch: @@ -11,22 +11,24 @@ jobs: - name: Rastrear Proyecto e Instalar run: | - # 1. Buscamos dónde está el archivo .xcodeproj realmente - PROYECTO_PATH=$(find . -name "*.xcodeproj" -not -path "*/Pods/*" | head -n 1) + # 1. Buscamos el proyecto (restringimos a analytics para que no se distraiga con database) + PROYECTO_PATH=$(find ./analytics -name "*.xcodeproj" | head -n 1) DIRECTORIO=$(dirname "$PROYECTO_PATH") NOMBRE_PROYECTO=$(basename "$PROYECTO_PATH") + NOMBRE_TARGET=$(basename "$PROYECTO_PATH" .xcodeproj) - echo "Encontramos el proyecto en: $DIRECTORIO" - echo "Nombre del archivo: $NOMBRE_PROYECTO" + echo "Directorio: $DIRECTORIO" + echo "Proyecto: $NOMBRE_PROYECTO" + echo "Target: $NOMBRE_TARGET" cd "$DIRECTORIO" - # 2. Creamos el Podfile dinámico + # 2. Creamos el Podfile usando las variables automáticas cat < Podfile platform :ios, '15.0' project '$NOMBRE_PROYECTO' use_frameworks! - target 'AnalyticsExample' do + target '$NOMBRE_TARGET' do pod 'FirebaseAnalytics' end EOF @@ -35,15 +37,15 @@ jobs: - name: Compilar para Simulador run: | - PROYECTO_PATH=$(find . -name "*.xcodeproj" -not -path "*/Pods/*" | head -n 1) + PROYECTO_PATH=$(find ./analytics -name "*.xcodeproj" | head -n 1) DIRECTORIO=$(dirname "$PROYECTO_PATH") + NOMBRE_TARGET=$(basename "$PROYECTO_PATH" .xcodeproj) cd "$DIRECTORIO" - # Buscamos el workspace que creó CocoaPods WORKSPACE=$(ls | grep .xcworkspace) xcodebuild -workspace "$WORKSPACE" \ - -scheme AnalyticsExample \ + -scheme "$NOMBRE_TARGET" \ -configuration Debug \ -sdk iphonesimulator \ -derivedDataPath build \ From f5d6f7dd873340cd626e05586fc4bd2ad229ccf0 Mon Sep 17 00:00:00 2001 From: carolina584 <32776881+carolina584@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:54:06 -0500 Subject: [PATCH 22/22] Update workflow name and installation steps --- .github/workflows/main.yml | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a285ae175..7a3b067ca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Prueba Final Caro - Inteligencia Total +name: Prueba Final Caro - Victoria Total on: workflow_dispatch: @@ -9,42 +9,31 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Rastrear Proyecto e Instalar + - name: Preparar, Instalar y Compilar run: | - # 1. Buscamos el proyecto (restringimos a analytics para que no se distraiga con database) + # 1. Encontrar el proyecto de analytics PROYECTO_PATH=$(find ./analytics -name "*.xcodeproj" | head -n 1) DIRECTORIO=$(dirname "$PROYECTO_PATH") - NOMBRE_PROYECTO=$(basename "$PROYECTO_PATH") NOMBRE_TARGET=$(basename "$PROYECTO_PATH" .xcodeproj) - echo "Directorio: $DIRECTORIO" - echo "Proyecto: $NOMBRE_PROYECTO" - echo "Target: $NOMBRE_TARGET" - + echo "Trabajando en: $DIRECTORIO" cd "$DIRECTORIO" - # 2. Creamos el Podfile usando las variables automáticas + # 2. Crear Podfile cat < Podfile platform :ios, '15.0' - project '$NOMBRE_PROYECTO' + project '$NOMBRE_TARGET.xcodeproj' use_frameworks! target '$NOMBRE_TARGET' do pod 'FirebaseAnalytics' end EOF + # 3. Instalar pod install - - - name: Compilar para Simulador - run: | - PROYECTO_PATH=$(find ./analytics -name "*.xcodeproj" | head -n 1) - DIRECTORIO=$(dirname "$PROYECTO_PATH") - NOMBRE_TARGET=$(basename "$PROYECTO_PATH" .xcodeproj) - cd "$DIRECTORIO" - - WORKSPACE=$(ls | grep .xcworkspace) - xcodebuild -workspace "$WORKSPACE" \ + # 4. Compilar (usando el workspace recién creado) + xcodebuild -workspace "$NOMBRE_TARGET.xcworkspace" \ -scheme "$NOMBRE_TARGET" \ -configuration Debug \ -sdk iphonesimulator \