From 5462afb4e7dcb6ef14272a34418c0e62aa47e0f7 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Fri, 16 Sep 2022 16:04:34 +0800 Subject: [PATCH] fix _getting-started-macos-ios.md info format (#3326) --- docs/_getting-started-macos-ios.md | 4 +++- .../versioned_docs/version-0.70/_getting-started-macos-ios.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/_getting-started-macos-ios.md b/docs/_getting-started-macos-ios.md index 2f5f3eb9699..840b38b5803 100644 --- a/docs/_getting-started-macos-ios.md +++ b/docs/_getting-started-macos-ios.md @@ -85,13 +85,15 @@ npx react-native init AwesomeProject This is not necessary if you are integrating React Native into an existing application, if you "ejected" from Expo, or if you're adding iOS support to an existing React Native project (see [Integration with Existing Apps](integration-with-existing-apps.md)). You can also use a third-party CLI to init your React Native app, such as [Ignite CLI](https://github.com/infinitered/ignite). :::info + If you are having trouble with iOS, try to reinstall the dependencies by running: 1. `cd ios` to navigate to the 2. `bundle install` to install Bundler 1. If needed: install a [Ruby Version Manager](#ruby) and update the Ruby version 3. `bundle exec pod install` to install the iOS dependencies. - ::: + +::: ### [Optional] Using a specific version or template diff --git a/website/versioned_docs/version-0.70/_getting-started-macos-ios.md b/website/versioned_docs/version-0.70/_getting-started-macos-ios.md index 2f5f3eb9699..840b38b5803 100644 --- a/website/versioned_docs/version-0.70/_getting-started-macos-ios.md +++ b/website/versioned_docs/version-0.70/_getting-started-macos-ios.md @@ -85,13 +85,15 @@ npx react-native init AwesomeProject This is not necessary if you are integrating React Native into an existing application, if you "ejected" from Expo, or if you're adding iOS support to an existing React Native project (see [Integration with Existing Apps](integration-with-existing-apps.md)). You can also use a third-party CLI to init your React Native app, such as [Ignite CLI](https://github.com/infinitered/ignite). :::info + If you are having trouble with iOS, try to reinstall the dependencies by running: 1. `cd ios` to navigate to the 2. `bundle install` to install Bundler 1. If needed: install a [Ruby Version Manager](#ruby) and update the Ruby version 3. `bundle exec pod install` to install the iOS dependencies. - ::: + +::: ### [Optional] Using a specific version or template