-
Notifications
You must be signed in to change notification settings - Fork 13
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
EAS Build Failing Due To JSONSafeEncoding CocoaPod #368
Comments
Hello, Thanks for the report and sorry to see you are running into issues, can you please confirm if installing the pods locally works or not?
|
Hey @mahmoud-elmorabea, Thank you for the fast response. Yes, it works locally. The issue only happens when doing the build on EAS. |
@mahmoud-elmorabea, Seems like this was also reported in a previous issue - #353 |
Is there any workaround for this one? Does downgrading the version of |
I think v2.0 of the config plugin requires the latest version of the CIO SDK. I think when I tried an older version the build failed. |
Hello, Just wanted to post a quick update of what we got so far. Regarding CustomerIO SDK versions compatibility
Regarding the pod installation issue I was able to setup my own EAS and was able to reproduce the issue indeed. I've traced the dependency I just want to confirm one thing before going on with the investigation: if you try to build the app locally do you have the same problem? Can you try the following:
We don't use EAS in our setup and you can check out our test app for inspiration. I think the next step (if we confirm that things work locally), would be to reach out to the Expo folks and check maybe EAS build is misconfigured somehow. |
Hey @mahmoud-elmorabea, Thanks for the update! The build works locally 100% fine and I'm able to see the |
@itajenglish Thanks for the quick response! That makes me think it's unlikely a CustomerIO SDK issue but rather the way an app is configured with EAS. I will still continue investigation because even if the issue isn't with our SDK, we would like to be able to give our users helpful instructions on how to make things work with EAS as well. |
Interesting! Thank you for this update. I will also open a support ticket with them and hope they can help resolve this. |
Thanks for your attention here @mahmoud-elmorabea The build works locally but fails on EAS Builld. However, it works if |
Hey folks, Quick update, I have been tinkering around and found couple of interesting things.
Like I mentioned, we don't use EAS so I'm not really an expert and there is probably a more reasonable way to configure EAS |
Hey guys, I have an update and good news! https://docs.expo.dev/build-reference/caching/#ios-dependencies |
@mahmoud-elmorabea I did run into another error but I was able to resolve it by looking at the documentation for the previous version (1.0.0-beta.17) of the config plugin. I think this step in version Error:
|
@itajenglish Thanks for reporting back and I've glad that you could resolve the issues 😇 I am closing this issue for now but please feel free to re-open or create new issues if you run in any other problems. |
hi @itajenglish |
Hey @erik-lissen Wasn't able to re-enable after the build. So it seems we are stuck for now. I'll try again in a few months haha. It honestly didn't seem to make a huge difference in build time for me. However, I imagine it may be different for everyone. |
Hi @itajenglish how did you manage this error? I'm facing the same error. |
Hey @gitmazzio Did this step not work for you? |
SDK version:
Environment: Development or Production
Are logs available?
Describe the bug
To Reproduce
Expected behavior
Screenshots
Additional context
0.74.5
51.0.31
The text was updated successfully, but these errors were encountered: