We’ll create a brand new React Native app, and get it to launch on the iOS simulator and Android emulator. A Mac is required to build for iOS, but Android development can be done on Mac, Windows, or Linux.
After installing the React Native CLI and Xcode if you're running iOS or the Android dependencies if you want to run Android (what do you mean by that ? I'm running on my ubuntu, so no ios or Android .. ), ... is this step covered somewhere ?
Ina: Go here: https://facebook.github.io/react-native/docs/getting-started
And then select "React Native CLI Quickstart", and then select "Linux", and "Android".
That should walk you through the steps to install the Android dependencies on Ubuntu, so that you can build for Android
After running command: react-native run-ios there is error message in simulator: "No bundle URL present". Solution is to run: yarn start in project root
Hi Chris,
After running the command react-native run-ios
, I got the following error:
Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65
Can you please help me fix this?
My react-native version is 2.0.1 & xcode version is 9.4.1
Also, when I opened RestaurantReview.xcworkspace
in Xcode and hit Run
button. I got the following error:
Property 'passwordRules' not found on object of type 'UIView<RCTBackedTextInputViewProtocol> *'
Hm - it seems like it could be caused by several different things... there's many options here: https://github.com/facebook/react-native/issues/25240
(for the error 65) Do any of those help?
nothing worked from that thread so far.. trying - reinstall cocoapods > pod install > run-ios
🤞🤞
After this, only option left to be tried would be restarting the system. I've little hope from that, since 8081 port is already free on my system.
no success.. still same error :(