I am having issues with eas-cli for more than a week.
I use react-native-purchases on generic project with eas build with no problem. But i can’t use in a whole project.
First 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": {
"@expo/react-native-action-sheet": "^3.12.0",
"@gorhom/bottom-sheet": "^4.1.3",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/datetimepicker": "3.5.2",
"@react-navigation/bottom-tabs": "^6.0.9",
"@react-navigation/native": "^6.0.6",
"@react-navigation/native-stack": "^6.2.5",
"@react-navigation/stack": "^6.0.11",
"@reduxjs/toolkit": "^1.6.2",
"@shopify/restyle": "^1.4.0",
"axios": "^0.23.0",
"expo": "^43.0.0",
"expo-ads-admob": "~11.0.3",
"expo-app-loading": "~1.2.1",
"expo-apple-authentication": "~4.0.3",
"expo-asset": "~8.4.3",
"expo-camera": "~12.0.3",
"expo-constants": "~12.1.2",
"expo-dev-client": "~0.6.3",
"expo-device": "~4.0.3",
"expo-face-detector": "~11.0.3",
"expo-facebook": "~12.0.3",
"expo-font": "~10.0.3",
"expo-gl": "~11.0.3",
"expo-google-app-auth": "^8.2.4",
"expo-image-manipulator": "~10.1.2",
"expo-image-picker": "~11.0.3",
"expo-linear-gradient": "~10.0.3",
"expo-localization": "~11.0.0",
"expo-notifications": "~0.13.3",
"expo-sharing": "~10.0.3",
"expo-sqlite": "~10.0.3",
"expo-status-bar": "~1.1.0",
"formik": "^2.2.9",
"i18n-js": "^3.8.0",
"lodash.memoize": "^4.1.2",
"lodash.times": "^4.3.2",
"lottie-react-native": "4.0.3",
"no-scroll": "^2.1.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.2",
"react-native-barcode-mask": "^1.2.4",
"react-native-confirmation-code-field": "^7.1.0",
"react-native-date-input": "^1.0.11",
"react-native-dropdown-picker": "^5.1.28",
"react-native-floating-label-input": "^1.3.11",
"react-native-formik": "^1.7.8",
"react-native-gesture-handler": "~1.10.2",
"react-native-modal": "^13.0.0",
"react-native-modal-datetime-picker": "^12.0.0",
"react-native-purchases": "^4.3.1",
"react-native-reanimated": "~2.2.0",
"react-native-responsive-fontsize": "^0.5.1",
"react-native-responsive-screen": "^1.4.2",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0",
"react-native-star-rating": "^1.1.0",
"react-native-svg": "12.1.1",
"react-native-toast-message": "^1.6.0",
"react-native-ui-lib": "^6.2.0",
"react-native-view-shot": "3.1.2",
"react-native-web": "0.17.1",
"react-redux": "^7.2.5",
"recoil": "^0.4.1",
"recompose": "^0.30.0",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~17.0.21",
"@types/react-native": "~0.64.12",
"typescript": "~4.3.5"
},
"private": true
}
Got these messages
The native view manager required by name (ExpoAppleAuthenticationButtonSignInWhite) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:13:47 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonSignInWhiteOutline) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:14:54 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonSignInBlack) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:15:47 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonContinueWhite) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:16:49 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonContinueBlack) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:18:49 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonSignUpWhite) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:19:47 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonContinueWhiteOutline) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:17:56 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonSignUpWhiteOutline) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:20:54 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAppleAuthenticationButtonSignUpBlack) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-apple-authentication/build/ExpoAppleAuthenticationButton.js:21:47 in <global>
at node_modules/expo-apple-authentication/build/AppleAuthenticationButton.js:3:0 in <global>
at node_modules/expo-apple-authentication/build/index.js:3:0 in <global>
at components/authentication/AuthContext.tsx:17:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
The native view manager required by name (ExpoAdsAdMobBannerView) from NativeViewManagerAdapter isn't exported by @unimodules/react-native-adapter. Views of this type may not render correctly. Exported view managers: [].
at node_modules/@unimodules/react-native-adapter/build/NativeViewManagerAdapter.native.js:23:12 in requireNativeViewManager
at node_modules/expo-ads-admob/build/AdMobBanner.js:32:23 in <global>
at node_modules/expo-ads-admob/build/index.js:1:0 in <global>
at components/authentication/AuthContext.tsx:22:0 in <global>
at navigation/index.tsx:5:0 in <global>
at App.tsx:6:0 in <global>
at node_modules/expo/AppEntry.js:3:0 in <global>
at http://192.168.1.36:8081/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&minify=false:347027:3 in global code
Unable to start your application. Please refer to https://expo.fyi/no-registered-application for more information.
at node_modules/react-native/Libraries/ReactNative/AppRegistry.js:200:6 in runApplication
Invariant Violation: Native module cannot be null.
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
I have tried to build it with only necessary native packages same result. I upgraded expo 42 to 43
Now i got this error
The following build commands failed:
PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/FL-erckhhylbzrltafkmidadwvrgfev/Build/Intermediates.noindex/ArchiveIntermediates/FL/IntermediateBuildFilesPath/FL.build/Debug-iphoneos/FL.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'FL' from project 'FL')
(1 failure)
Exit status: 65
+-------------+-------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.185.1 |
| sdk | iPhoneOS15.0.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[stderr] [!] Error building the application - see the log above
Error: Fastlane build failed with unknown error. Please refer to the "Run fastlane" and "Xcode Logs" phases.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
I am sorry for long post. I use eas for not dealing with XCode or Android Studio. I know its new product. Any help will be appreciated.
Thanks