npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-tvsdk-test

v0.0.22

Published

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

Downloads

40

Readme

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.

  2. Locate and launch the Terminal app.

  3. 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.