CONNECT Player React Native SDK (Deprecated)
1.15.x 1.14.x 1.13.x 1.12.x 1.11.x 1.10.x 1.9.x 1.8.x 1.7.x 1.6.x 1.5.x 1.4.x 1.3.x 1.2.x 1.1.x
1.15.x 1.14.x 1.13.x 1.12.x 1.11.x 1.10.x 1.9.x 1.8.x 1.7.x 1.6.x 1.5.x 1.4.x 1.3.x 1.2.x 1.1.x

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.