{"_id":"5a06037134873d0010b39210","category":{"_id":"5a06037134873d0010b39200","version":"5a06037134873d0010b391fe","project":"578c4badbd223d2000cc1441","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-03-17T18:59:29.780Z","from_sync":false,"order":1,"slug":"getting-started-ios","title":"iOS - Platform Setup"},"user":"576c22a3808cf02b00d37419","parentDoc":null,"project":"578c4badbd223d2000cc1441","version":{"_id":"5a06037134873d0010b391fe","project":"578c4badbd223d2000cc1441","__v":1,"createdAt":"2017-11-10T19:52:17.163Z","releaseDate":"2017-11-10T19:52:17.163Z","categories":["5a06037134873d0010b391ff","5a06037134873d0010b39200","5a06037134873d0010b39201","5a06037134873d0010b39202","5a06037134873d0010b39203","5a06037134873d0010b39204"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.1.0","version":"2.1.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-16T20:20:33.644Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":true,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"# Updating to the Latest Viro version\n\n1. Open the `package.json` file and change the version of react-viro to the latest.\n2. In the terminal, run `npm install` in the directory where your `package.json` file is located.\n3. Go to the directory containing your Xcode workspace and other iOS files, most likely called `ios` and run `pod update` to update the CocoaPods.\n4. Open up your Xcode workspace and your react-viro version should've been updated.\n\n*Disclaimer: This is **usually** all you need to do to upgrade to the latest react-viro package, however sometimes things will change much more and you should refer to [Releases](doc:releases)  for release-specific upgrade instructions.*","excerpt":"","slug":"updating-package-versions","type":"basic","title":"Updating ViroReact for iOS"}

Updating ViroReact for iOS


# Updating to the Latest Viro version 1. Open the `package.json` file and change the version of react-viro to the latest. 2. In the terminal, run `npm install` in the directory where your `package.json` file is located. 3. Go to the directory containing your Xcode workspace and other iOS files, most likely called `ios` and run `pod update` to update the CocoaPods. 4. Open up your Xcode workspace and your react-viro version should've been updated. *Disclaimer: This is **usually** all you need to do to upgrade to the latest react-viro package, however sometimes things will change much more and you should refer to [Releases](doc:releases) for release-specific upgrade instructions.*