Hi,
I’ve been stuck with the same issue for days while building my my project with was
Here is my configuration
Expo CLI 4.12.10 environment info:
System:
OS: macOS 11.6.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.16.0 - /usr/local/bin/node
npm: 6.14.11 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ^42.0.0 => 42.0.5
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ^0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
react-navigation: ^4.4.4 => 4.4.4
npmGlobalPackages:
expo-cli: 4.12.10
Expo Workflow: managed
Here is my package.json
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@eliav2/react-native-collapsible-view": "^1.3.2",
"@expo-google-fonts/baloo-tammudu-2": "^0.1.0",
"@expo-google-fonts/montserrat": "^0.1.0",
"@expo-google-fonts/roboto-condensed": "^0.1.0",
"@expo-google-fonts/ropa-sans": "^0.1.0",
"@expo-google-fonts/source-sans-pro": "^0.1.0",
"@expo/android-manifest": "^0.2.5",
"@expo/ngrok": "^4.1.0",
"@react-native-community/masked-view": "0.1.10",
"@react-native-community/netinfo": "6.0.0",
"@react-native-community/slider": "3.0.3",
"@react-native-community/viewpager": "5.0.11",
"@react-navigation/bottom-tabs": "^5.9.1",
"@react-navigation/drawer": "^5.12.4",
"@react-navigation/material-bottom-tabs": "^5.2.16",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
"axios": "^0.21.1",
"better-docs": "^2.3.2",
"eas-cli": "^0.33.1",
"expo": "^42.0.0",
"expo-app-loading": "1.1.2",
"expo-apple-authentication": "~3.2.1",
"expo-application": "~3.2.0",
"expo-auth-session": "~3.3.1",
"expo-av": "~9.2.3",
"expo-barcode-scanner": "~10.2.2",
"expo-camera": "~11.2.2",
"expo-crypto": "~9.2.0",
"expo-dev-client": "^0.4.5",
"expo-device": "~3.3.0",
"expo-file-system": "~11.1.3",
"expo-font": "~9.2.1",
"expo-google-app-auth": "^8.1.7",
"expo-google-sign-in": "~9.2.1",
"expo-image-picker": "~10.2.2",
"expo-in-app-purchases": "~11.0.1",
"expo-intent-launcher": "~9.1.0",
"expo-linear-gradient": "~9.2.0",
"expo-localization": "~10.2.0",
"expo-location": "~12.1.2",
"expo-network": "~3.2.0",
"expo-notifications": "~0.12.3",
"expo-random": "~11.2.0",
"expo-screen-orientation": "~3.3.0",
"expo-secure-store": "~10.2.0",
"expo-sharing": "~9.2.1",
"expo-status-bar": "~1.0.4",
"expo-task-manager": "~9.2.2",
"expo-video-player": "^1.6.1",
"expo-web-browser": "~9.2.0",
"formik": "^2.2.0",
"jetify": "^1.0.2",
"jsdoc": "^3.6.6",
"knex": "^0.95.11",
"native-base": "^2.13.14",
"node-fetch": "^2.6.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "^0.63.4",
"react-native-animatable": "^1.3.3",
"react-native-background-actions": "^2.6.0",
"react-native-button-toggle-group": "^1.1.1",
"react-native-collapsible": "^1.5.3",
"react-native-elements": "^2.3.2",
"react-native-geocoder": "^0.5.0",
"react-native-geolocation-service": "^5.2.0",
"react-native-gesture-handler": "~1.10.2",
"react-native-google-signin": "^2.1.1",
"react-native-iphone-x-helper": "^1.3.1",
"react-native-linear-gradient": "^2.5.6",
"react-native-map-clustering": "^3.3.9",
"react-native-maps": "^0.28.0",
"react-native-maps-directions": "^1.8.0",
"react-native-paper": "^4.1.0",
"react-native-placesearch": "^3.0.3",
"react-native-push-notification": "^7.2.3",
"react-native-ratings": "^7.6.1",
"react-native-reanimated": "~2.2.0",
"react-native-responsive-screen": "^1.4.1",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.4.0",
"react-native-shadow": "^1.2.2",
"react-native-share": "^6.0.1",
"react-native-snap-carousel": "^3.9.1",
"react-native-storage": "^1.0.1",
"react-native-svg": "12.1.1",
"react-native-svg-transformer": "^0.14.3",
"react-native-swipe-gestures": "^1.0.5",
"react-native-text-gradient": "^0.1.7",
"react-native-video": "^5.1.0-alpha8",
"react-native-view-shot": "3.1.2",
"react-native-web": "~0.13.12",
"react-native-webview": "11.6.2",
"react-native-youtube-iframe": "^1.3.0",
"react-navigation": "^4.4.4",
"react-places-autocomplete": "^7.3.0",
"react-uuid": "^1.0.2",
"reanimated-bottom-sheet": "^1.0.0-alpha.22",
"rn-fetch-blob": "^0.12.0",
"toggle-switch-react-native": "^2.3.0",
"yup": "^0.29.3"
},
"devDependencies": {
"@babel/core": "~7.9.0",
"babel-preset-expo": "8.3.0",
"eslint-plugin-react-hooks": "^4.2.0"
},
"private": true,
"rnpm": {
"assets": [
"./assets/fonts/"
]
}
}
Here is my was.json
{
"build": {
"release": {
"android": {
"buildType": "apk"
},
"ios": {
"autoIncrement": "buildNumber"
},
"cache": {
"key": "Invalidate"
}
},
"dev": {
"android": {
"buildType": "apk"
}
},
"development": {
"android": {
"gradleCommand": ":app:assembleRelease"
},
"developmentClient": true,
"distribution": "internal",
"ios": {
"cocoapods": "1.11.2"
},
"cache": {
"key": "Invalidate"
}
}
}
}
After launching
eas build --profile development
I get this error at the “install pods” step
Installing pods
Installing unimodules:
expo-app-auth@11.0.3 from ../node_modules/expo-app-auth/ios
expo-apple-authentication@3.2.1 from ../node_modules/expo-apple-authentication/ios
expo-application@3.2.0 from ../node_modules/expo-application/ios
expo-av@9.2.3 from ../node_modules/expo-av/ios
expo-barcode-scanner@10.2.2 from ../node_modules/expo-barcode-scanner/ios
expo-camera@11.2.2 from ../node_modules/expo-camera/ios
expo-constants@11.0.2 from ../node_modules/expo-constants/ios
expo-crypto@9.2.0 from ../node_modules/expo-crypto/ios
expo-device@3.3.0 from ../node_modules/expo-device/ios
expo-error-recovery@2.2.0 from ../node_modules/expo-error-recovery/ios
expo-file-system@11.1.3 from ../node_modules/expo-file-system/ios
expo-font@9.2.1 from ../node_modules/expo-font/ios
expo-google-sign-in@9.2.1 from ../node_modules/expo-google-sign-in/ios
expo-image-loader@2.2.0 from ../node_modules/expo-image-loader/ios
expo-image-picker@10.2.3 from ../node_modules/expo-image-picker/ios
expo-in-app-purchases@11.0.1 from ../node_modules/expo-in-app-purchases/ios
expo-keep-awake@9.2.0 from ../node_modules/expo-keep-awake/ios
expo-linear-gradient@9.2.0 from ../node_modules/expo-linear-gradient/ios
expo-localization@10.2.0 from ../node_modules/expo-localization/ios
expo-location@12.1.3 from ../node_modules/expo-location/ios
expo-modules-core@0.4.5 from ../node_modules/expo-app-auth/node_modules/expo-modules-core/ios
expo-network@3.2.0 from ../node_modules/expo-network/ios
expo-notifications@0.12.3 from ../node_modules/expo-notifications/ios
expo-screen-orientation@3.3.0 from ../node_modules/expo-screen-orientation/ios
expo-secure-store@10.2.0 from ../node_modules/expo-secure-store/ios
expo-sharing@9.2.1 from ../node_modules/expo-sharing/ios
expo-splash-screen@0.11.4 from ../node_modules/expo-splash-screen/ios
expo-structured-headers@1.1.1 from ../node_modules/expo-structured-headers/ios
expo-task-manager@9.2.2 from ../node_modules/expo-task-manager/ios
expo-updates@0.8.5 from ../node_modules/expo-updates/ios
expo-updates-interface@0.2.2 from ../node_modules/expo-updates-interface/ios
expo-web-browser@9.2.0 from ../node_modules/expo-web-browser/ios
unimodules-app-loader@2.2.0 from ../node_modules/unimodules-app-loader/ios
unimodules-core@7.1.2 from ../node_modules/@unimodules/core/ios
unimodules-react-native-adapter@6.3.9 from ../node_modules/@unimodules/react-native-adapter/ios
unimodules-task-manager-interface@6.2.0 from ../node_modules/unimodules-task-manager-interface/ios
Found some duplicated unimodule packages. Installed the ones with the highest version number.
Make sure following dependencies of your project are resolving to one specific version:
expo-constants, expo-modules-core
Auto-linking React Native modules for target `Yooviz`: BVLinearGradient, EXRandom, RNCMaskedView, RNGestureHandler, RNGoogleSignin, RNReanimated, RNSVG, RNScreens, RNShare, RNTextGradientView, expo-dev-client, expo-dev-launcher, expo-dev-menu, expo-dev-menu-interface, react-native-background-actions, react-native-geocoder, react-native-geolocation-service, react-native-maps, react-native-netinfo, react-native-placesearch, react-native-safe-area-context, react-native-slider, react-native-video, react-native-view-shot, react-native-viewpager, react-native-webview, and rn-fetch-blob
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
[!] CocoaPods could not find compatible versions for pod "ExpoModulesCore":
In Podfile:
EXAV (from `../node_modules/expo-av/ios`) was resolved to 9.2.3, which depends on
ExpoModulesCore
ExpoModulesCore (from `../node_modules/expo-app-auth/node_modules/expo-modules-core/ios`)
Specs satisfying the `ExpoModulesCore (from `../node_modules/expo-app-auth/node_modules/expo-modules-core/ios`), ExpoModulesCore` dependency were found, but they required a higher minimum deployment target.
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `19187D95A4664538838E47E2` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
Error: Compatible version of some pods could not be resolved.
You are seeing this error because either:
- Versions in the Podfile.lock cached by EAS do not match required values for some of the libraries, it can be triggered when upgrading Expo SDK or any other library with native code. To fix that update value of "cache.key" field in the eas.json to invalidate the cache.
- Some of your npm packages have native code that depend on different versions of the same pod. Please see logs for more info.
Can anyone help ?
Many thanks