mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
Docs update - Direct user to changelog for manual steps of version
Summary: For some reason the last PR targeted 0.30-stable as pointed out by charpeni - here: https://github.com/facebook/react-native/pull/9010 Fixed here in a second PR, due to the fact that initial PR would not allow a change. Closes https://github.com/facebook/react-native/pull/9013 Differential Revision: D3641602 fbshipit-source-id: e874dbd24d214f6c88310bb4be7cc334528cc014
This commit is contained in:
parent
3561dbb74d
commit
cc05a710f9
@ -47,25 +47,4 @@ This will check your files against the latest template and perform the following
|
||||
|
||||
# Manual Upgrades
|
||||
|
||||
Xcode project format is pretty complex and sometimes it's tricky to upgrade and merge new changes.
|
||||
|
||||
### From 0.13 to 0.14
|
||||
|
||||
The major change in this version happened to the CLI ([see changelog](https://github.com/facebook/react-native/releases/tag/v0.14.0-rc)) and static images ([see docs](docs/images.html)). To use the new asset system in existing Xcode project, do the following:
|
||||
|
||||
Add new "Run Script" step to your project's build phases:
|
||||
|
||||

|
||||
|
||||
Set the script to
|
||||
```sh
|
||||
../node_modules/react-native/packager/react-native-xcode.sh
|
||||
```
|
||||
|
||||

|
||||
|
||||
Move main.jsbundle to Trash (it will be generated automatically by Xcode using the script above)
|
||||
|
||||

|
||||
|
||||
If you installed Node via nvm, you might experience "react-native: command not found". See [issues/3974](https://github.com/facebook/react-native/issues/3974) for workaround and [pull/4015](https://github.com/facebook/react-native/pull/4015) for the fix.
|
||||
Some upgrades require manual steps, e.g. 0.13 to 0.14, or 0.28 to 0.29. Be sure to check the [release notes](https://github.com/facebook/react-native/releases) when upgrading so that you can identify any manual changes your particular project may require.
|
||||
|
Loading…
x
Reference in New Issue
Block a user