Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
8085cb5
build.yml
carolina584 Feb 20, 2026
c089b38
Update iOS workflow configuration in check.yml
carolina584 Feb 20, 2026
42e57d8
file import
carolina584 Feb 20, 2026
2d284f7
Delete analytics/GoogleService-Info.plist
carolina584 Feb 20, 2026
b999f12
file yaml
carolina584 Feb 20, 2026
a32c1d4
Delete analytics/GoogleService-Info.plist
carolina584 Feb 20, 2026
f908241
Add files via upload
carolina584 Feb 20, 2026
56662e8
actualice file yaml
carolina584 Feb 20, 2026
0738cb4
file new
carolina584 Feb 20, 2026
6e6fb33
Refactor iOS workflow for clarity and correctness
carolina584 Feb 20, 2026
640ecd3
Modify GitHub Actions workflow for CocoaPods
carolina584 Feb 20, 2026
ab21b26
Fix paths for Xcode build and artifact upload
carolina584 Feb 20, 2026
a6be923
Rename step and improve output messages
carolina584 Feb 20, 2026
029181b
Update GitHub Actions workflow for CocoaPods installation
carolina584 Feb 20, 2026
148eb9e
Rename workflow and update steps for iOS build
carolina584 Feb 20, 2026
49e0c87
Rename workflow and adjust job steps
carolina584 Feb 20, 2026
c01de7d
Update GitHub Actions workflow for iOS build
carolina584 Feb 20, 2026
482e2f9
Update GitHub Actions workflow for iOS project
carolina584 Feb 20, 2026
75044c4
Update workflow name and Podfile creation process
carolina584 Feb 20, 2026
f3ee66a
Rename workflow and update project paths
carolina584 Feb 20, 2026
88e4696
Rename project and modify workflow paths
carolina584 Feb 20, 2026
f5d6f7d
Update workflow name and installation steps
carolina584 Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 25 additions & 33 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -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
47 changes: 47 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Prueba Final Caro - Victoria Total
on:
workflow_dispatch:

jobs:
build_ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Preparar, Instalar y Compilar
run: |
# 1. Encontrar el proyecto de analytics
PROYECTO_PATH=$(find ./analytics -name "*.xcodeproj" | head -n 1)
DIRECTORIO=$(dirname "$PROYECTO_PATH")
NOMBRE_TARGET=$(basename "$PROYECTO_PATH" .xcodeproj)

echo "Trabajando en: $DIRECTORIO"
cd "$DIRECTORIO"

# 2. Crear Podfile
cat <<EOF > Podfile
platform :ios, '15.0'
project '$NOMBRE_TARGET.xcodeproj'
use_frameworks!
target '$NOMBRE_TARGET' do
pod 'FirebaseAnalytics'
end
EOF

# 3. Instalar
pod install

# 4. Compilar (usando el workspace recién creado)
xcodebuild -workspace "$NOMBRE_TARGET.xcworkspace" \
-scheme "$NOMBRE_TARGET" \
-configuration Debug \
-sdk iphonesimulator \
-derivedDataPath build \
-quiet

- name: Guardar App para Appetize
uses: actions/upload-artifact@v4
with:
name: app-simulador
path: "**/build/Build/Products/Debug-iphonesimulator/*.app"
46 changes: 18 additions & 28 deletions analytics/GoogleService-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,29 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
<string>ca-app-pub-3940256099942544/2934735716</string>
<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
<string>ca-app-pub-3940256099942544/4411468910</string>
<key>API_KEY</key>
<string>AIzaSyAzlj4APqi5S58nFtE52Da0fYBOHA2MhaY</string>
<key>BUNDLE_ID</key>
<string>com.google.firebase.quickstart.AnalyticsExample</string>
<key>CLIENT_ID</key>
<string>123456789000-hjugbg6ud799v4c49dim8ce2usclthar.apps.googleusercontent.com</string>
<key>DATABASE_URL</key>
<string>https://mockproject-1234.firebaseio.com</string>
<string>AIzaSyDW7nSUCURYKM-fqKSrGN4eS0UZkA1GtpE</string>
<key>GCM_SENDER_ID</key>
<string>123456789000</string>
<key>GOOGLE_APP_ID</key>
<string>1:123456789000:ios:f1bf012572b04063</string>
<string>672558884827</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.caro.testdemo</string>
<key>PROJECT_ID</key>
<string>testmobileios-df09c</string>
<key>STORAGE_BUCKET</key>
<string>testmobileios-df09c.firebasestorage.app</string>
<key>IS_ADS_ENABLED</key>
<true/>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<true/>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true/>
<true></true>
<key>IS_GCM_ENABLED</key>
<true/>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true/>
<key>PLIST_VERSION</key>
<string>1</string>
<key>PROJECT_ID</key>
<string>mockproject-1234</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.123456789000-hjugbg6ud799v4c49dim8ce2usclthar</string>
<key>STORAGE_BUCKET</key>
<string>mockproject-1234.appspot.com</string>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:672558884827:ios:9dabd5502a0477c3f169fe</string>
</dict>
</plist>
</plist>