docs(crashlytics,ios): remove manual setup steps for iOS (#3878)

This commit is contained in:
Peter Hägg
2020-07-05 23:40:48 +03:00
committed by GitHub
parent 3e98ecd9e1
commit f9d25889ce
2 changed files with 1 additions and 32 deletions

View File

@@ -1,30 +0,0 @@
---
title: Crashlytics - iOS Setup
description: Additional iOS steps for Crashlytics integration
---
Crashlytics for iOS requires an additional manual step once the package has been installed.
You'll need Xcode for the following steps.
# 1. Add Build Phase
Open your project in Xcode, and select the project file in the Navigator. Select the 'Build Phases' tab &
add a 'New Run Script Phase':
![Run Script](https://prismic-io.s3.amazonaws.com/invertase%2F96f32c96-0aca-4054-bf30-bd2448ca2462_new+project.png)
In the new build phase, add a new script into the text box:
```
"${PODS_ROOT}/FirebaseCrashlytics/run"
```
![Script](https://prismic-io.s3.amazonaws.com/invertase%2Ff06cf5b3-884e-4cbc-8c3d-81072a254f1d_new+project+%281%29.png)
# 2. Rebuild the project
Once the above steps have been completed, rebuild your iOS project:
```bash
npx react-native run-ios
```

View File

@@ -22,10 +22,9 @@ yarn add @react-native-firebase/crashlytics
cd ios/ && pod install
```
Once installed, you must complete the following additional setup steps for both Android & iOS:
Once installed, you must complete the following additional setup steps for Android:
- [Android Additional Setup](/crashlytics/android-setup).
- [iOS Additional Setup](/crashlytics/ios-setup).
If you're using an older version of React Native without autolinking support, or wish to integrate into an existing project,
you can follow the manual installation steps for [iOS](/crashlytics/usage/installation/ios) and [Android](/crashlytics/usage/installation/android).