Hi I have created a project using react-native and when I run the command
react-native run-ios
the build fails in the terminal with the following error:
**The following build commands failed:**
CompileC /var/root/Library/Developer/Xcode/DerivedData/albums-gnnqffkyfazehwcywcchxrdqkvpd/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-RCTText.build/Objects-normal/x86_64/RCTBaseTextInputView.o /ReactNative/albums/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Try this:
cd ios
pod install
react-native run-ios
You can run your react native IOS app using XCode by following below steps:
1.Go to your App folder, then go to ios folder. You'll see a file named AwesomeProject.xcworkspace.
2.Open this file and it will open your App in Xcode.
3.Select the desired simulator and click the ▶️ button to run your App.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With