You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed an issue with a vendored xcframework in TestFlight builds of an application that caused the application to crash when an Expo module I wrote called a function that interacted with that framework. This issue did not occur when running prebuild and ios commands locally.
Upon further inspection, I realized that the application only crashes when built with distribution set to store. It does not crash for internal builds.
Expected Behavior
I would expect EAS to properly handle vendored frameworks for store builds as it does for internal builds.
✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check npm/ yarn versions
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK
Error output
There are no build-time errors when building with EAS. The error presents at runtime and causes the application to crash.
Reproducible demo or steps to reproduce from a blank project
Create a new Expo project with EAS.
Create an Expo module that references a vendored xcframework in its podspec and calls a function from that framework.
Use that module in your sample application.
Initiate a build with distribution set to store in EAS and observe no build errors.
Test the application functionality that leverages the vendored framework and observe a runtime crash.
The text was updated successfully, but these errors were encountered:
rbright
changed the title
EAS not handling vendored framework correctly when ios is present in gitignore
EAS not handling vendored framework correctly for store builds
Jan 30, 2024
Following up, this issue doesn't seem to appear as of EAS v7.1.2. There have been two major version updates since I originally configured EAS in late December, but setting the following in my EAS configuration is leading to TestFlight builds properly handling vendored frameworks:
Summary
Observations
I observed an issue with a vendored
xcframework
in TestFlight builds of an application that caused the application to crash when an Expo module I wrote called a function that interacted with that framework. This issue did not occur when runningprebuild
andios
commands locally.Upon further inspection, I realized that the application only crashes when built with
distribution
set tostore
. It does not crash forinternal
builds.Expected Behavior
I would expect EAS to properly handle vendored frameworks for
store
builds as it does forinternal
builds.Managed or bare?
Bare
Environment
Error output
There are no build-time errors when building with EAS. The error presents at runtime and causes the application to crash.
Reproducible demo or steps to reproduce from a blank project
xcframework
in itspodspec
and calls a function from that framework.distribution
set tostore
in EAS and observe no build errors.The text was updated successfully, but these errors were encountered: