How to run React-Native Examples?

后端 未结 9 2156
暗喜
暗喜 2021-01-31 21:18

I can\'t find any instructions on how to install and run one of the other Examples provided in \'https://github.com/facebook/react-native/tree/master/Examples\' such as \'https:

9条回答
  •  后悔当初
    2021-01-31 22:00

    First, meet the requirements on the getting started guide

    Then, check out the React Native repository and run the following inside it:

    1. npm install
    2. open Examples/Movies/Movies.xcodeproj

    If you have errors compiling due to linking errors, removing the derived data may help. Quit Xcode, delete /Users/{you}/Library/Developer/Xcode/DerivedData, and re-open Xcode.

提交回复
热议问题