File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,24 @@ Adjust integration for analytics-ios.
99
1010## Installation
1111
12+ ### Cocoapods
1213To install the Segment-Adjust integration, simply add this line to your [ CocoaPods] ( http://cocoapods.org ) ` Podfile ` :
1314
1415``` ruby
1516pod " Segment-Adjust"
1617```
1718
19+ ### Carthage
1820Or add this to your [ Carthage] ( https://github.com/Carthage/Carthage ) ` Cartfile ` :
1921
2022``` ruby
2123github " segment-integrations/analytics-ios-integration-adjust"
2224```
2325
26+ In the Xcode project, add a preprocessor macro ` CARTHAGE_BUILD=1 ` to all targets and configurations.
27+ This is necessary because Adjust uses different import statements depending on if it has been added
28+ via Carthage or Cocoapods.
29+
2430## Usage
2531
2632After adding the dependency, you must register the integration with our SDK. To do this, import the Adjust integration in your ` AppDelegate ` :
You can’t perform that action at this time.
0 commit comments