Skip to content
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

Build crashes in Expo #160

Open
bayramn opened this issue May 12, 2022 · 10 comments
Open

Build crashes in Expo #160

bayramn opened this issue May 12, 2022 · 10 comments

Comments

@bayramn
Copy link

bayramn commented May 12, 2022

Build crashes while installing pods in Expo.

[!] Unable to find a specification for UMCore depended upon by EXLocalization
You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.
    [stderr] [!] <PBXResourcesBuildPhase UUID=13B07F8E1A680F5B00A75B9A> attempted to initialize an object with an unknown UUID. 6DEAD5BE8A1E4142A15F1FB5 for attribute: files. This can be the result of a merge and the unknown UUID is being discarded.
    pod exited with non-zero code: 1

Tried all kinds stuff but just couldn't figure it out. Only thing I found is if I remove/uninstall the package, build succeeds.

@DJ-Icebear
Copy link

We get this error as well, and a similar error when building for Android

@bayramn
Copy link
Author

bayramn commented Jun 1, 2022

The problem is "expo-constants" and "expo-localization" is outdated and needs upgrade, so I brought files locally it worked but didn't work well with android. So I just made my own simple function that checks(App/Play Store website) and redirects to App/Play store if there is new update (only works Expo though) but I was lazy to document and built separate npm package. If you really need it I can document sth fast and publish to npm.

@stri8ed
Copy link

stri8ed commented Aug 2, 2022

I created a fork, which does not depend on expo-localization.

https://www.npmjs.com/package/expo-react-native-version-checker

@bayramn
Copy link
Author

bayramn commented Aug 3, 2022

Thanks but what about Android, does it work? Play Store has changed and version number hidden in popup menu.

@stri8ed
Copy link

stri8ed commented Aug 3, 2022

Thanks but what about Android, does it work? Play Store has changed and version number hidden in popup menu.

Android is working currently. The play store source contains some JSON, which includes the version number, which the script extracts. The popup menu does not load extra data via ajax, all the data is already contained in JSON embedded within the original page.

@bayramn
Copy link
Author

bayramn commented Aug 4, 2022

Thanks but what about Android, does it work? Play Store has changed and version number hidden in popup menu.

Android is working currently. The play store source contains some JSON, which includes the version number, which the script extracts. The popup menu does not load extra data via ajax, all the data is already contained in JSON embedded within the original page.

Got it thanks, yep forgot JSON includes version number.

@lhguerra
Copy link

lhguerra commented Sep 23, 2024

In my case expo-localization wasn't installed but I got no warnings or errors about peer dependencies. Isn't that package missing in dependencies list?

@bayramn
Copy link
Author

bayramn commented Sep 23, 2024

Does it work now? Even after installing expo-localization, I couldn’t make it work in Expo. Just switched to @stri8ed package above and works for ios for now.

@lhguerra
Copy link

The build worked, I'll be sure in a few days if it is working in the stores, there are some other things to do before I can release.

@lhguerra
Copy link

lhguerra commented Oct 2, 2024

The build is ok but I'm not being prompted to update the app. I did the following:

  • created a new build with this lib, using the following approach:
VersionCheck.needUpdate().then(async res => {
 if (res.isNeeded) {
   await Linking.openURL(res.storeUrl)
 }
})
  • Published it to the store and updated manually on my phone
  • Created another build and published it
  • Closed and reopened the app in my phone, I wasn't prompted to update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants