I am trying to use revenueCat on my expo managed workflow project using this tutorial. I am trying to test the project by running expo run:ios but I get these bunch of errors. Here is a screenshot -
› 215 error(s), and 1 warning(s)
Failed to build iOS project. "xcodebuild" exited with error code 65.
error Command failed with exit code 1.
I don't know how else to fix. Can someone help?
You cannot add packages with native code to expo (Excep of config plugins)
Related
Help needed, I have been trying for weeks to build my expo project using eas build --platform android but it has been failing with this error
[stderr] Execution failed for task ':expo-modules-core:generateJsonModelRelease'. [stderr] > /home/expo/workingdir/build/node_modules/expo-modules-core/android/CMakeLists.txt : C/C++ release|armeabi-v7a : CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
all my builds using expo build:android worked flawlessly until the advent of eas, it would be nice to get help because building apps with expo has been a little bit of pain since Jan 5 2023
Attached link is the screenshot of error
it shows an error
Task 'installDebug' not found in project ':app'. Some candidates are: 'installDevDebug'.
it should make a build in android emulator
Can someone please help me to understand why this error is coming up?
When i tried to run npx react-native run-ios.
With react native version 0.65.0 in my macOS Big Sur Version 11.6.5
I have also attached the error when i tried with xcode version 13.2.1
Error shown in cmd
and
Error shown in xcode version 13.2.1
I am building a mobile application using React-Native. I am now trying to run my application on Android Emulator. First, this is the continuation of this question. I installed the Android Studio and configured the environment as I mentioned in the previous question.
This is what I did to fix the error from previous question.
I changed the line 13 in android/gradle.properties to this:
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
When I run "react-native run-android" command this time, I am getting the error. The error is saying it could not find '/Users/waihein/Desktop/Code/shar-kya-mal-app/node_modules/#react-native-community/cli-platform-android/native_modules.gradle' file.
So I run npm i #react-native-community/cli-platform-android command to install the required package.
The I delete node_modules folder and run "npm install" again. Then I run "react-native run-android". I am getting the following error this time.
* Where:
Settings file '/Users/waihein/Desktop/Code/shar-kya-mal-app/android/settings.gradle' line: 8
* What went wrong:
A problem occurred evaluating settings 'sharkyamalapp'.
> Could not open dsl generic class cache for script '/Users/waihein/Desktop/Code/shar-kya-mal-app/node_modules/#react-native-community/cli-platform-android/native_modules.gradle' (/Users/waihein/.gradle/caches/6.8/scripts/a43tr593rdpk11ispliu0nu14).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61
But the file is there I can see it in the node_modules folder. How can I fix it?
I am new to react native and I am trying to run react native on IntelliJ. My Android emulator on IntelliJ works perfectly fine however, my iOS emulator doesn't work properly and I am using MacOS X. I'm encountering issues "error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening API.xcworkspace. Run CLI with --verbose flag for more details."