3

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)
1
  • 1
    did you run pod install beforehand? Commented May 23, 2020 at 4:46

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

I did the steps still the problem persists. Even I ran from the xcode the simulator shows No Bundle URL Present. Make sure you're running a packager server or have included a .jsbundle in your application bundle. Now I can see a main.jsbundle but it is not opened or can I find it in Finder. Kindly help. I just created a app and beginning this error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.