0.0.22 • Published 2 years ago

react-native-tvsdk-test v0.0.22

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Steps to run react native app on ios simulator (Ref Link for getting started with react-native: https://reactnative.dev/docs/environment-setup)

Step 1: Install Xcode from App store ( Installing Xcode will also install the iOS Simulator and all the necessary tools to build your iOS app.)

Step 2:Installing an iOS Simulator in Xcode To install a simulator, open Xcode > Preferences... and select the Components tab. Select a simulator with the corresponding version of iOS you wish to use.

Step 3: Run below commands in Terminal To install Home brew (Ref Link:https://phoenixnap.com/kb/install-homebrew-on-mac)

Install Xcode Command Line Tools 1. From the Finder, select Go and click Utilities to display all the utilities.

  1. Locate and launch the Terminal app.

  2. In the terminal, run the following command to install Xcode command line tools:

xcode-select --install 4. Click Install when prompted to proceed with the installation.

  1. The script displays the Xcode License Agreement. If you agree to the terms, click Agree and wait for the installation to finish.

Step 4: Install Homebrew

After installing Xcode command-line tools, follow the steps below to install Homebrew.

  1. Download the installation script by running below command in Terminal:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  1. Enter your administrator password when prompted and press Return to continue. Wait for the download to finish.

  2. Press Return to install Homebrew. The installation may take a couple of minutes, so wait for the Installation successful message to appear.

  3. Disable the analytic data collection by running: brew analytics off

Step 5:Run the following commands in a Terminal after installing Homebrew ( If node already installed on system note that Node version must be 14 or newer) brew install node brew install watchman

Step 6: Install CocoaPods by running below command sudo brew install cocoapods

Running your React Native application Step 1: Run npm install in Terminal in project folder path Step 2: Start Metro Bundler To start Metro, run below command inside your React Native project folder:

npx react-native start

Step 3: Start your application Let Metro Bundler run in its own terminal. Open a new terminal inside your React Native project folder. Run the following:

npx react-native run-ios

You should see your new app running in the iOS Simulator shortly.

Accessing the In-App Developer Menu: Press command key and D together in keyboard when your app is running in the iOS Simulator Or select iOS Simulator > Menu Bar > Device > Shake It will show action bar in simulator .Select start debugging

To do the wrapper module changes open ios->nativeModuleIOS.xcworkspace folder of react-native project in xcode editor After every changes in xcode , run npx react-native run-ios to run the app on simulator with the updated changes.

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago