expo / expo/eas-cli

Problème de build iOS - Podfile.lock "sandbox not in sync" (EAS Build + Flutter)

Open
#2,993 0 comments 0 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### Build/Submit details page URL

https://expo.dev/accounts/bahamasangare99/projects/iya_store/builds/e497683e-4959-4c26-8ee1-3c3b3acecc3a

### Summary

Bonjour l'équipe Expo,

Je développe une app Flutter (iOS/Android) et je build via EAS CLI depuis un environnement WSL (Windows Subsystem for Linux).

Depuis plusieurs jours, mes builds iOS échouent systématiquement avec l’erreur suivante :

pgsql
Copier
Modifier
The sandbox is not in sync with the Podfile.lock.
Run 'pod install' or update your CocoaPods installation.
Pourtant, j’ai vérifié tout ce qui est recommandé :

✅ Ce que j’ai déjà fait :
Podfile.lock est supprimé et non présent dans Git

J’ai un hook .eas/hooks/build/post-install.sh qui exécute pod install proprement

Mon project.pbxproj ne fait référence à aucun Podfile.lock

J’utilise --clear-cache à chaque build

flutter build ios --release --no-codesign est lancé dans un prebuildCommand

Aucun fichier Pods/ ou symlinks n’est committé

💥 Le build échoue toujours ici :
Lien du build EAS concerné :
🔗 https://expo.dev/accounts/bahamasangare99/projects/iya_store/builds/e497683e-4959-4c26-8ee1-3c3b3acecc3a

❓Questions
Est-ce un bug connu lié à la sandbox CocoaPods d’EAS ?

Est-ce que le système force un Podfile.lock interne en cache ?

Y a-t-il une manière de forcer pod install correctement dans l’environnement Apple de EAS ?

Une cleanroom complète peut-elle être forcée manuellement de votre côté ?

Merci infiniment 🙏
Je suis bloqué malgré des dizaines de tentatives sur ce point.

### Managed or bare?

Bare

### Environment

❯ npx expo-env-info

Expo CLI 6.3.6 environment info:
System:
OS: Linux (WSL)
Binaries:
Node: 18.x.x
Yarn: Not Found
npm: 9.x.x
npmPackages:
expo: not in use (Flutter project)
npmGlobalPackages:
eas-cli: 3.16.3

❯ npx expo-doctor
✔ Your project doesn't use the Expo SDK

### Error output

The sandbox is not in sync with the Podfile.lock.
Run 'pod install' or update your CocoaPods installation.

EAS Build fails on iOS with this error even though:
- Podfile.lock is removed
- .gitignore excludes it
- post-install hook calls pod install
- flutter build ios is clean
- --clear-cache is used

### Reproducible demo or steps to reproduce from a blank project

Étapes à reproduire :

1. Créer un projet Flutter (`flutter create my_app`)
2. Configurer `eas.json` avec `prebuildCommand` pour lancer `flutter build ios`
3. Créer un hook `.eas/hooks/build/post-install.sh` pour exécuter `pod install`
4. Supprimer complètement `Podfile.lock` du projet et le gitignore
5. Lancer `eas build --platform ios --profile production --clear-cache`
6. Le build échoue systématiquement avec :

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.