Please provide the following:
- SDK Version: 45
- Platforms(Android/iOS/web/all): iOS
- EAS build
I am having problems to build a version to deploy in app store(TestFlight).
when I build a version to test locally in my device the app works correctly.
Then When I change the eas.json to create a build to use in TestFlight, the app crash when start to load the splash screen.
Also when I use EXPO CLI with Expo build:ios command the build work perfectly in TestFlight.
Please if anyone could helo me with this Ill appreciate a lot. having this issue for weeks.
hi there! i recommend referring to this page: Troubleshooting build errors and crashes - Expo Documentation
if you can’t figure it out after following those instructions, the bottom of the page has instructions for how to ask a good question that people can help you with
Thank you for your reply @brents. I was looking into this page but not manage to get a solution.
the app work correctly with expo build and eas build --profile development
but crash in Testflight when I make a build for production.
all the building process are passing without errors:
Any reason you modified the
preview build profile to change the
distribution instead of just using the
production build profile?
I tried to run with production but the build crash so then I use the preview profile and set subscription to store to see if going to work but still the same issue.
Please be very clear about what you mean by “but the build crashed”. Rather solve that problem.
When I create a build for production(eas build --platform ios ) and I upload the version to TestFlight the app breaks or crash soon the splash screen start to load and keeps showing a white screen.
If I run the app in development mode using
eas build --profile development --platform ios
then install the version in my phone
and run it with : expo start --dev-client
The application work correctly
Please see the Production errors section of the debugging documentation. Especially the “Hint”.
If that doesn’t help, try fyi/manual-debugging.md at main · expo/fyi · GitHub
npx expo start —no-dev —minify
Expo Go shows:
Ok, that’s good, because now you can experiment locally to see what is causing the problem.
Try with only
--no-dev and with only
--minify to see if it still causes the error, but maybe gives you better error messages.
Also try the “manual debugging” document.
I remove the library react-native-purchase and Run expo start —no-dev —minify
now I do not having any console errors.
when I run this version in development mode using eas build --profile development --platform ios
the app run ok in my device.
When I create a version for TestFlight using eas build --platform ios
the app crash(just show a white screen) in the moment that its opened.
I am not sure if it is something related to eas configuration.
before I make the build using expo-cli.
There’s not enough information for me to know what the problem is.
Please try the manual debugging document I linked to in a previous message.