Dépannage
Solutions to Problèmes courants when Construction Natif apps with Capgo Cloud Construction.
Construction Failures
Section titled “Construction Failures””Télécharger Échoué” or “Connection timeout”
Section titled “”Télécharger Échoué” or “Connection timeout””Symptoms:
- Construction fails during project Télécharger
- Timeout errors after 60 seconds
Solutions:
-
Vérifier your internet connection
Terminal window # Test connection to Capgocurl -I https://api.capgo.app -
Reduce project size
- Ensure
node_modules/is not being uploaded (should be auto-excluded) - Vérifier for large files in your project:
Terminal window find . -type f -size +10M - Ensure
-
Vérifier Télécharger URL expiration
- Télécharger URLs expire after 1 hour
- If you get an expired URL Erreur, re-run the Construction Commande
”Construction timeout after 10 minutes”
Section titled “”Construction timeout after 10 minutes””Symptoms:
- Construction exceeds maximum allowed time
- Status shows
timeout
Solutions:
-
Optimize dependencies
- Retirer unused npm packages
- Use
npm prune --productionbefore building
-
Vérifier for network issues in Construction
- Some dependencies may Télécharger large files during Construction
- Consider pre-caching with a lock file
-
Review Natif dependencies
Terminal window # iOS - check Podfile for heavy dependenciescat ios/App/Podfile# Android - check build.gradlecat android/app/build.gradle -
Contact Support
- If your Application legitimately needs more time
- We can adjust limits for specific use cases
Authentication Issues
Section titled “Authentication Issues””Clé API invalid” or “Unauthorized”
Section titled “”Clé API invalid” or “Unauthorized””Symptoms:
- Construction fails immediately with authentication Erreur
- 401 or 403 errors
Solutions:
-
Verify Clé API is correct
Terminal window # Test with a simple commandnpx @capgo/cli@latest app list -
Vérifier Clé API permissions
- Key must have
writeorallpermissions - Vérifier in Capgo Tableau de bord under Clés API
- Key must have
-
Ensure Clé API is being read
Terminal window # Check environment variableecho $CAPGO_TOKEN# Or verify local .capgo filecat .capgo -
Re-authenticate
Terminal window npx @capgo/cli@latest login
”Application not found” or “No permission for this Application”
Section titled “”Application not found” or “No permission for this Application””Symptoms:
- Authentication works but Application-specific Erreur
Solutions:
-
Verify Application is registered
Terminal window npx @capgo/cli@latest app list -
Vérifier Application ID matches
- Verify
capacitor.config.jsonappId - Ensure Commande uses correct Application ID
- Verify
-
Verify Organisation access
- Vérifier you’re in the correct Organisation
- Clé API must have access to the Application’s Organisation
iOS Construction Issues
Section titled “iOS Construction Issues””Code signing Échoué”
Section titled “”Code signing Échoué””Symptoms:
- Construction fails during code signing phase
- Xcode errors À propos certificates or profiles
Solutions:
-
Verify certificate type matches Construction type
- Développement builds need Développement certificates
- Application Store builds need Distribution certificates
-
Vérifier certificate and Profil match
Terminal window # Decode and inspect your certificateecho $BUILD_CERTIFICATE_BASE64 | base64 -d > cert.p12openssl pkcs12 -in cert.p12 -nokeys -passin pass:$P12_PASSWORD | openssl x509 -noout -subject -
Ensure provisioning Profil is valid
- Vérifier expiration date
- Verify it includes your Application ID
- Confirm it includes the certificate
-
Regenerate credentials
- Supprimer old certificate/Profil
- Créer Nouveau ones in Apple Developer portal
- Re-encode and Mise à jour environment variables
”Provisioning Profil doesn’t include signing certificate”
Section titled “”Provisioning Profil doesn’t include signing certificate””Symptoms:
- Xcode can’t find certificate in Profil
Solutions:
-
Télécharger latest Profil from Apple
- Go to Apple Developer → Certificates, IDs & Profiles
- Télécharger provisioning Profil
- Ensure it includes your certificate
-
Verify certificate is in Profil
Terminal window # Extract profileecho $BUILD_PROVISION_PROFILE_BASE64 | base64 -d > profile.mobileprovision# View profile contentssecurity cms -D -i profile.mobileprovision -
Recreate Profil with correct certificate
- In Apple Developer portal, Modifier Profil
- Ensure your distribution certificate is selected
- Télécharger and re-encode
”Application Store Connect authentication Échoué”
Section titled “”Application Store Connect authentication Échoué””Symptoms:
- Télécharger to TestFlight fails
- Clé API errors
Solutions:
-
Verify Clé API credentials
- Vérifier APPLE_KEY_ID (should be 10 characters)
- Vérifier APPLE_ISSUER_ID (should be UUID format)
- Verify APPLE_KEY_CONTENT is correctly base64-encoded
-
Test Clé API locally
Terminal window # Decode keyecho $APPLE_KEY_CONTENT | base64 -d > AuthKey.p8# Test with fastlane (if installed)fastlane pilot list -
Vérifier Clé API permissions
- Key needs “Developer” role or higher
- Verify in Application Store Connect → Utilisateurs and Access → Keys
-
Ensure key is not revoked
- Vérifier in Application Store Connect
- Generate Nouveau key if needed
”Pod Installer Échoué”
Section titled “”Pod Installer Échoué””Symptoms:
- Construction fails during CocoaPods Installation
- Podfile errors
Solutions:
-
Verify Podfile.lock is committed
Terminal window git status ios/App/Podfile.lock -
Test pod Installer locally
Terminal window cd ios/Apppod install -
Vérifier for incompatible pods
- Review Podfile for Version conflicts
- Ensure all pods Support your iOS Déploiement target
-
Clear pod cache
Terminal window cd ios/Apprm -rf Podsrm Podfile.lockpod install# Then commit new Podfile.lock
Android Construction Issues
Section titled “Android Construction Issues””Keystore password incorrect”
Section titled “”Keystore password incorrect””Symptoms:
- Construction fails during signing
- Gradle errors À propos keystore
Solutions:
-
Verify keystore password
Terminal window # Test keystore locallykeytool -list -keystore my-release-key.keystore# Enter password when prompted -
Vérifier environment variables
Terminal window # Ensure no extra spaces or special charactersecho "$KEYSTORE_STORE_PASSWORD" | cat -Aecho "$KEYSTORE_KEY_PASSWORD" | cat -A -
Verify base64 encoding
Terminal window # Decode and testecho $ANDROID_KEYSTORE_FILE | base64 -d > test.keystorekeytool -list -keystore test.keystore
”Key alias not found”
Section titled “”Key alias not found””Symptoms:
- Signing fails with alias Erreur
Solutions:
-
List keystore aliases
Terminal window keytool -list -keystore my-release-key.keystore -
Verify alias matches exactly
- Alias is case-sensitive
- Vérifier for typos in KEYSTORE_KEY_ALIAS
-
Use correct alias from keystore
Terminal window # Update environment variable to matchexport KEYSTORE_KEY_ALIAS="the-exact-alias-name"
”Gradle Construction Échoué”
Section titled “”Gradle Construction Échoué””Symptoms:
- Generic Gradle errors
- Compilation or dependency issues
Solutions:
-
Test Construction locally first
Terminal window cd android./gradlew clean./gradlew assembleRelease -
Vérifier for missing dependencies
- Review Construction.gradle files
- Ensure all plugins are listed in dependencies
-
Verify Gradle Version compatibility
Terminal window # Check gradle versioncat android/gradle/wrapper/gradle-wrapper.properties -
Clear Gradle cache
Terminal window cd android./gradlew cleanrm -rf .gradle build
”Play Store Télécharger Échoué”
Section titled “”Play Store Télécharger Échoué””Symptoms:
- Construction succeeds but Télécharger fails
- Service Compte errors
Solutions:
-
Verify service Compte JSON
Terminal window # Decode and check formatecho $PLAY_CONFIG_JSON | base64 -d | jq . -
Vérifier service Compte permissions
- Go to Play Console → Configuration → API Access
- Ensure service Compte has access to your Application
- Grant “Libération to Test tracks” permission
-
Verify Application is set up in Play Console
- Application must be created in Play Console first
- At least one APK must be uploaded manually initially
-
Vérifier API is enabled
- Google Play Developer API must be enabled
- Vérifier in Google Cloud Console
General Issues
Section titled “General Issues””Job not found” or “Construction status Indisponible”
Section titled “”Job not found” or “Construction status Indisponible””Symptoms:
- Cannot Vérifier Construction status
- Job ID errors
Solutions:
-
Wait a moment and retry
- Construction jobs may take a few seconds to Initialiser
-
Vérifier job ID is correct
- Verify the job ID from the initial Construction response
-
Vérifier Construction hasn’t expired
- Construction data is Disponible for 24 hours
”Project Synchroniser Échoué”
Section titled “”Project Synchroniser Échoué””Symptoms:
- Construction fails before compilation starts
- Missing files errors
Solutions:
-
Run Capacitor Synchroniser locally
Terminal window npx cap sync -
Ensure all Natif files are committed
Terminal window git status ios/ android/ -
Vérifier for gitignored Natif files
- Review .gitignore
- Ensure Important config files aren’t ignored
”Construction succeeded but I don’t see output”
Section titled “”Construction succeeded but I don’t see output””Symptoms:
- Construction shows Succès but no Télécharger link
Solutions:
-
Vérifier Construction Configuration
- Artifact storage may not be configured
- For public Bêta, Contact Support À propos artifact access
-
For iOS TestFlight submission
- Vérifier Application Store Connect
- Processing may take 5-30 minutes after Télécharger
-
For Android Play Store
- Vérifier Play Console → Test → Internal Test
- Processing may take a few minutes
CI/CD Specific Issues
Section titled “CI/CD Specific Issues”GitHub Actions: “Commande not found”
Section titled “GitHub Actions: “Commande not found””Symptoms:
npx @capgo/clifails in CI
Solutions:
-
Ensure Node.js is installed
- uses: actions/setup-node@v6with:node-version: '24' -
Installer CLI explicitly
- run: npm install -g @capgo/cli
GitHub Actions: “Secrets not found”
Section titled “GitHub Actions: “Secrets not found””Symptoms:
- Environment variables empty in Construction
Solutions:
-
Verify secrets are set
- Go to repo Paramètres → Secrets and variables → Actions
- Ajouter all required secrets
-
Use correct syntax
env:CAPGO_TOKEN: ${{ secrets.CAPGO_TOKEN }} -
Vérifier secret names match
- Names are case-sensitive
- No typos in secret references
Getting More Aide
Section titled “Getting More Aide”Activer Verbose Logging
Section titled “Activer Verbose Logging”# Add debug flag (when available)npx @capgo/cli@latest build com.example.app --verboseCollect Construction Information
Section titled “Collect Construction Information”When contacting Support, include:
-
Construction Commande used
Terminal window npx @capgo/cli@latest build com.example.app --platform ios -
Erreur message (full output)
-
Job ID (from Construction output)
-
Construction Journaux (copy full Terminal output)
-
Environment Info
Terminal window node --versionnpm --versionnpx @capgo/cli --version
Contact Support
Section titled “Contact Support”- Discord: Join our Communauté
- Email: Support@capgo.Application
- Documentation: Capgo Docs
Known Limitations
Section titled “Known Limitations”Current limitations during public Bêta:
- Maximum Construction time: 10 minutes
- Maximum Télécharger size: ~500MB
- iOS builds require 24-hour Mac leases, Construction on Mac will enqueue to ensure optimal Utilisation
- Construction artifact Télécharger may not be Disponible
These limitations may be adjusted based on Retour.
Additional Resources
Section titled “Additional Resources”- Commencer - Initial Configuration Guide
- iOS Builds - iOS-specific Configuration
- Android Builds - Android-specific Configuration
- CLI Référence - Terminé Commande Documentation