Skip to content

Commit 83880bb

Browse files
author
ladannasserian
committed
Remove Carthage steps, add installation steps
1 parent 49be08a commit 83880bb

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,30 @@ To run the example project, clone the repo, and run `pod install` from the Examp
1313

1414
## Installation
1515

16-
Segment-Firebase is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage).
16+
Segment-Firebase is currently only available through [CocoaPods](http://cocoapods.org).
1717

18-
### Cocoapods
19-
Simply add the following to your podfile.
18+
Register your app in the [Firebase console](https://console.firebase.google.com/) and add the `GoogleService-Info.plist` to the root of your Xcode project.
19+
20+
Add the following dependency to your Podfile:
21+
22+
```
23+
pod 'Segment-Firebase'
24+
```
25+
26+
After adding the dependency and running `pod install`, import the integration:
2027

21-
```ruby
22-
pod "Segment-Firebase"
28+
```
29+
#import <Segment-Firebase/SEGFirebaseIntegrationFactory.h>
2330
```
2431

25-
### Carthage
32+
Finally, register the dependency with the Segment SDK:
2633

2734
```
28-
github "segment-integrations/analytics-ios-integration-firebase"
35+
[config use:[SEGFirebaseIntegrationFactory instance]];
2936
```
3037

38+
By default, Segment only bundles `Firebase/Core` which is [Firebase's Analytics offering](https://firebase.google.com/docs/analytics/). You can see the other available [Firebase pods and features here](https://firebase.google.com/docs/ios/setup).
39+
3140
## License
3241

3342
Segment-Firebase is available under the MIT license. See the LICENSE file for more info.

0 commit comments

Comments
 (0)