SFDX-Data-Move-Utility icon indicating copy to clipboard operation
SFDX-Data-Move-Utility copied to clipboard

Build crashes in Expo

Open bayramn opened this issue 3 years ago • 10 comments

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.

bayramn avatar May 12 '22 16:05 bayramn

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

DJ-Icebear avatar Jun 01 '22 12:06 DJ-Icebear

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.

bayramn avatar Jun 01 '22 17:06 bayramn

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

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

stri8ed avatar Aug 02 '22 13:08 stri8ed

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

bayramn avatar Aug 03 '22 00:08 bayramn

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.

stri8ed avatar Aug 03 '22 01:08 stri8ed

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.

bayramn avatar Aug 04 '22 21:08 bayramn