Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift Package Manager Support #94

Open
mrgrauel opened this issue Sep 17, 2020 · 7 comments · May be fixed by #345
Open

Swift Package Manager Support #94

mrgrauel opened this issue Sep 17, 2020 · 7 comments · May be fixed by #345

Comments

@mrgrauel
Copy link

Hello 👋 do you plan to support the Swift Package Manager?

@vguerci
Copy link
Contributor

vguerci commented Sep 17, 2020

Hello 👋, thanks for your request, and yes we are planning this, but that is not on top of our backlog for now.
We are planning to switch CocoaPods to build from source (vs binaries) in the near future as you can see with 4.0.0-alpha1
Swift Package Manager might come along.
Also, we are open to contributions... 😉

@dcampest
Copy link

dcampest commented May 6, 2022

Hello,
Do you have any news about the SPM support ? You are the only libraries which is not supporting SPM in our project at the moment.
Best regards,
Denis

@vgorloff
Copy link

Hi,

We are minimising usage of Cocoapods and switching to SPM.
Any news about SPM or at least Carthage support?

Thank you in advance,
Vlad.

@dpgmedia-bsellar
Copy link

dpgmedia-bsellar commented Apr 3, 2023

Maybe this can unblock some of you, I was able to add Criteo as a dependency of my package by using a binaryTarget:

 targets: [
        .target(
            name: "MyTarget",
            dependencies: [
                "CriteoPublisherSdk",
            ],
            path: "ios/Sources",
            exclude: [],
            resources: [ ]
        ),
        .binaryTarget(
            name: "CriteoPublisherSdk",
            url: "https://github.com/criteo/ios-publisher-sdk/releases/download/4.7.0/CriteoPublisherSdk.Release.zip",
            checksum: "55031718f5a617374aba6c91fad1e0956016a8ab68dc9f28252a643a6f5a4936"
        )
]

@michalnowak061
Copy link

bump @vguerci

@dpgmedia-bsellar
Copy link

Soon 4 years and still no official support

@mflknr
Copy link

mflknr commented Dec 17, 2024

https://github.com/criteo/ios-publisher-sdk/releases/download/4.7.0/CriteoPublisherSdk.Release.zip

Unfortunately, not all header files are available when different packages try to integrate it with this method.

Additionally, CocoaPods is now in maintenance mode - so official support from the author is important IMO.

I will try to map a Package.swift file after the holidays but since I have no clue how the dependencies are intertwined it may take longer and probably support from officials as well.

@mflknr mflknr linked a pull request Jan 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants