- Install CocoaPods
sudo gem install cocoapods
- And install ios dependencies
cd ios && pod install
npm run ios
--- or ---
- Open
ios\phutball.xcodeproj
in Xcode or runxed -b ios
- Hit the Run button
- Have an Android emulator running (quickest way to get started), or a device connected.
npm run android
Start-Process -Verb RunAs powershell -ArgumentList @("-command", "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/microsoft/react-native-windows/master/vnext/Scripts/rnw-dependencies.ps1'))")
npm run windows
--- or ---
- Open
windows\phutball.sln
in Visual Studio and pressF5
- Clear watchman watches: watchman watch-del-all
- Delete node_modules: rm -rf node_modules and run yarn install
- Reset Metro's cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*