mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
docs(crashlytics,ios): remove manual setup steps for iOS (#3878)
This commit is contained in:
@@ -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':
|
||||
|
||||

|
||||
|
||||
In the new build phase, add a new script into the text box:
|
||||
|
||||
```
|
||||
"${PODS_ROOT}/FirebaseCrashlytics/run"
|
||||
```
|
||||
|
||||

|
||||
|
||||
# 2. Rebuild the project
|
||||
|
||||
Once the above steps have been completed, rebuild your iOS project:
|
||||
|
||||
```bash
|
||||
npx react-native run-ios
|
||||
```
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user