Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run into error while executing react-native run-ios

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)
like image 634
user1295308 Avatar asked Aug 25 '26 12:08

user1295308


1 Answers

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.

like image 86
Ravi Sharma Avatar answered Aug 28 '26 02:08

Ravi Sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!