Skip to content

Commit

Permalink
Make cocoapods the default
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten Rimaux committed Feb 14, 2025
1 parent 0558ea6 commit 73a8448
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions theoads/getting-started/00-getting-started-ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ import TabItem from '@theme/TabItem';
4. Add the THEOads integration as a dependency to your project:
<Tabs queryString="lang">
<!-- prettier-ignore-start -->
<TabItem value="cocoapods" label="CocoaPods">
1. Add the `THEOplayer-Integration-THEOads` pod to your Podfile:
```sh
pod 'THEOplayer-Integration-THEOads', '~> 8.10.0'
```
2. Install the new pod:
```sh
pod install
```
</TabItem>
<TabItem value="swiftpm" label="SwiftPM">
1. Open your Xcode project and navigate to File > Add Package Dependencies...

Expand All @@ -37,23 +47,16 @@ import TabItem from '@theme/TabItem';

![Screenshot of SwiftPM product selection](../assets/img/theoads-ios-swiftpm-product-selection.png)
</TabItem>
<TabItem value="cocoapods" label="CocoaPods">
1. Add the `THEOplayer-Integration-THEOads` pod to your Podfile:
```sh
pod 'THEOplayer-Integration-THEOads', '~> 8.10.0'
```
2. Install the new pod:
```sh
pod install
```
</TabItem>
<!-- prettier-ignore-end -->

</Tabs>

5. Add Google IMA SDK as a dependency to your project:
<Tabs queryString="lang">
<!-- prettier-ignore-start -->
<TabItem value="cocoapods" label="CocoaPods">
1. The `THEOplayer-Integration-THEOads` pod has a dependency on `GoogleAds-IMA-iOS-SDK` which should be installed automatically.
</TabItem>
<TabItem value="swiftpm" label="SwiftPM">
1. Open your Xcode project and navigate to File > Add Package Dependencies...

Expand All @@ -69,9 +72,6 @@ import TabItem from '@theme/TabItem';

![Screenshot of SwiftPM product selection](../assets/img/theoads-ios-swiftpm-product-selection-google.png)
</TabItem>
<TabItem value="cocoapods" label="CocoaPods">
1. The `THEOplayer-Integration-THEOads` pod has a dependency on `GoogleAds-IMA-iOS-SDK` which should be installed automatically.
</TabItem>
<!-- prettier-ignore-end -->

</Tabs>
Expand Down

0 comments on commit 73a8448

Please sign in to comment.