A Package that distributes the Yieldlove Ad Integration Core and optional plugins (Consent, Confiant, Gravite).
- For integration details, see the plugin-specific docs as needed.
-
Open your Xcode project, navigate the File tab within the macOS bar, and click on “Add Package Dependencies”.
-
In the URL field, enter: https://github.com/mbrtargeting/stroeerSDK-iOS-spm and select stroeersdk-ios-spm.
-
Set the dependency rule to "Exact Version" and specify the desired version.
-
Click Next and wait for the package to finish fetching.
-
When prompted, select Add to Target and choose the YieldloveAdIntegration dependencies for the libraries you want to include. Then click "Add Package".
You must add -ObjC to your app target’s linker flags:
- Open your Xcode project.
- Select your app target → Build Settings.
- Search for Other Linker Flags.
- Add
-ObjC.
The Confiant SDK is intentionally not bundled with the plugin and must be added by the publisher at the app level.
For projects using the Gravite plugin, do not add the following AATKit modules to your app:
-
AATKit-Prebid
-
AATKit-Default
-
AATKit-SourcePointCMP
These modules are not supported in our Gravite integration and may cause duplicate linking, unexpected behavior, or conflicts with our SDK’s dependency graph.
An ExampleApp project is included in this repository to demonstrate how to integrate and use the SDK with real Swift code.