-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhaseScriptExecution FAILED on iOS Build #33
Comments
I don't know @frederiko-famobi , was it working for you before with previous library versions? Do you know at what version it broke? I guess, if you run the build & run without archiving, you should be able to see more info regarding the failed build step. Then, if it is an issue with EAS Build per se, we have #19 open, and on hold, because I don't officially support Expo yet; and if it is an issue with CMake detection, then we have #29 open, and on hold, because from all inputs I got on it so far, and what I see on my machine, I don't understand why ppl having such problem, and somebody should help explaining me it. And if it is a new issue, then let's discuss it further here. |
Must be an expo thing. |
Thanks for the reply @birdofpreyru and @exotexot, I will try to build locally and will let you know if the problem persists. |
A quick update: the reason why this error occurs was because of the cmake installation on EAS Build. I had to change some config and this is how it should be done: First I created a eas build pre install script, and add it on my package.json scripts:
And added the script file #!/usr/bin/env bash
# This script will follow the script eas-build-pre-install located in package.json and will be executed before EAS Build runs npm install on the EAS Build platform.
echo "running pre install..."
if [[ "$EAS_BUILD_PLATFORM" == "android" ]]; then
sudo apt-get install --yes cmake
elif [[ "$EAS_BUILD_PLATFORM" == "ios" ]]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake
fi
Also run: And then, when running So the EAS Build will skip the step I tested the local build and it was working fine too, with: I can now build on EAS for both iOS and Android. Maybe it also solves #19. Thank you and soon I will be adding all of this information and other ones to guide other users that wants to use Expo / EAS Build with this library in their projects. |
While trying to build the version 0.7.9 on iOS, the following error appears:
I ran
pod install
and installed cmake while building with EAS Build.Is there any reason why this error is happening?
The text was updated successfully, but these errors were encountered: