CONNECT Player React Native SDK (Deprecated)

Additional information

CocoaPods for Apple M1

CocoaPods does not run well with the new Apple chip, so you need to run pod install.

arch -x86_64 pod install

Homebrew

If you get the brew shallow version warnings/errors on Mac, follow the on-screen instructions to fix brew first.

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow 
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

You should then be able to brew update and/or brew upgrade.

brew list - get list of installed items
brew install x [-v n.n.n]
brew uninstall x

NVM

nvm list - show all versions of Node that nvm recognises
nvm install x
nvm use x
nvm alias default x - default version to use. Packages installed via Brew might ignore this.

  • There may be more versions of Node installed via brew than nvm uses.

  • yarn might use a default version installed when being run via Jenkins. If it is, uninstall, set the version of Node you need, then reinstall yarn.

CocoaPods

  • sudo gem install cocoaods will install the latest version of cocoapods.

  • Podfile.lock contains the version of cocoapods at the enddownloaded and executed when the command is run.