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
Related
Following the official documentation in react native firebase/app#15.1.1 it gives me the build failed error for terminal using the npx react-native run-ios and also from xcode builed both failed to build ...Can someone Provide me the installation for react-native firebase/app along with it react-native firebase/messaging and pushnotification/ios ..i am new to react-native Please help...
i create the new React native 0.68 Project which is successfully build and run on xcode 13.3.1 but when i copy and past this project on another folder and run this project on xcode 13.3.1
then i am facing this error and my OS is macos Monterey version 12.0.1.
Command PhaseScriptExecution failed with a nonzero exit code
/bin/sh -c /Users/essmac/Library/Developer/Xcode/DerivedData/NassauTennisMobileApp-hbuvecnapzaxwackghdwmndhemau/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-46EB2E00017C40.sh
i have tried some solution which not work for me
solution
delete pod
install pod again
Any one can help me
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."
ReactNative fails to deploy build to iOS simulator but does deploy it to Android emulator
Attached are screenshots showing this on both.
Steps:
Created react native app
react-native init proto
Run app on Android emulator after I started emulator
react-native run-android
this is running fine on Android emulator
Run app on iOS simmulator
react-native run-ios
This produces error as per screenshot
Error
** BUILD FAILED **
The following build commands failed:
CompileC /Users/dinob/reactnativework/proto/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTShadowView+Internal.o Views/RCTShadowView+Internal.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/proto.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/proto.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Versions
MacBookPro OSX El Capitain
react-native 0.55.3
react-native-cli 2.0.1
npm 5.5.1
node v8.9.1
watchman 4.9.0
Please have a look here for help with troubleshooting
I would suggest you try all the solutions described in that thread to try and fix this issue. Good Luck!
So this isn't my first react native app but this is the first time i'm getting this error. I get the usual error when running:
react-native run-android --variant=release
Thats ok because I know it doesn't work. However, this one always use to work:
react-native run-android --configuration=release
But it is just stating: error: unknown option--configuration'`
I've had that issue before. I've done everything on the generate a signed APK web page. I can get a non-release but not the release. I even have the APK from: cd android && ./gradlew assembleRelease
Have you recently upgraded your React Native version?
Because the following only works on version 0.39.x
react-native run-android --configuration=release
Else, just use this
react-native run-android --variant=release