Skip to content

Commit 32a0ff3

Browse files
authored
added notes about cocoapods to README.md (#627)
1 parent 60f9260 commit 32a0ff3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@ or
3333
.target(name: "ExampleApp", dependencies: ["OpenTelemetrySdk"]),
3434
```
3535

36+
### Cocoapods
37+
38+
As of version 1.11.0, OpenTelemetry-Swift support cocoapods.
39+
Two pods are provided:
40+
41+
- `OpenTelemetry-Swift-Api`
42+
43+
- `OpenTelemetry-Swift-Sdk`
44+
45+
`OpenTelemetry-Swift-Api` is a dependency of `OpenTelemetry-Swift-Sdk`.
46+
47+
Most users will want to add the following to their pod file:
48+
49+
`pod 'OpenTelemetry-Swift-Sdk'`
50+
51+
This will add both the API and SDK. If you're only interesting in Adding the API add the following:
52+
53+
`pod 'OpenTelemetry-Swift-Api'`
54+
3655
## Documentation
3756

3857
Official documentation for the library can be found in the official opentelemetry [documentation page](https://opentelemetry.io/docs/instrumentation/swift/), including:

0 commit comments

Comments
 (0)