Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ There are two ways how you can integrate **BidstackCustomAdapterAdMob** into you
### 1. Using cocoapods

Add to your podfile:
`pod 'BidstackCustomAdapterAdMob', '~> 1.5.0'`
`pod 'BidstackCustomAdapterAdMob', '~> 1.7.0'`

That's it! Now you can run `pod install` from your Terminal and **BidstackCustomAdapterAdMob** and **BidstackMobileAdsSDK** will be installed automatically. No additional steps needed.

Expand All @@ -89,32 +89,32 @@ That's it! Now you can run `pod install` from your Terminal and **BidstackCustom
First of all, double check if your Xcode project contains a **Frameworks** folder in project navigator. If it doesn’t, you have to create one. The **Frameworks** folder is not added by default in latest Xcode and it’s a good practice to keep your frameworks there.


#### 2. Add **BidstackCustomAdapterAdMob.xcframework** and **BidstackMobileAdsSDK.xcframework** to Frameworks folder
#### 2. Add all frameworks to Frameworks folder

Drag and drop both frameworks from Finder into the **Frameworks** folder. Make sure that the destination of drag is just under the **Frameworks** folder:
Drag and drop frameworks from Finder into the **Frameworks** folder. Make sure that the destination of drag is just under the **Frameworks** folder:

<img src="images/bcad-2.png" width="700">
<img src="images/drop-frameworks.png" width="700">

Then, make sure the following options are selected for adding files. Both “Copy items if needed” and “Create groups” should be checked and selected. Click Finish.

<img src="images/bcad-3.png" width="500">

#### 3. Embed **BidstackCustomAdapterAdMob.xcframework** **BidstackMobileAdsSDK.xcframework** in project's target
#### 3. Embed frameworks in project's target

In order to make sure that the framework will get copied to your app’s binary, follow these steps:

1. Navigate to your project settings by clicking on it in the project navigator.
2. Make sure that your target is selected and General tab is open.
3. Select `Embed & Sign` for your newly added **BidstackMobileAdsSDK.xcframework**.
3. Select `Embed & Sign` for your newly added **BidstackMobileAdsSDK.xcframework** and **OMSDK_Bidstack.xcframework**.
4. Make sure that for **BidstackCustomAdapterAdMob.xcframework** is selected `Do Not Embed`.

![](images/bcad-4.png)

#### 4. Link **BidstackCustomAdapterAdMob.xcframework** and **BidstackMobileAdsSDK.xcframework** with your project
#### 4. Link **BidstackCustomAdapterAdMob.xcframework**, **BidstackMobileAdsSDK.xcframework** and **OMSDK_Bidstack.xcframework** with your project

Navigate to the Build Phases tab, disclose the “Link Binary With Libraries” list and both frameworks are included in the list. It should already be included by default after following the steps above, however in case it’s not – click on the + button and add it.

Then make sure both framework Status is `Required`.
Then make sure that all framework Status is `Required`.

![](images/bcad-5.png)

Expand Down
Binary file removed images/bcad-2.png
Binary file not shown.
Binary file added images/drop-frameworks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.