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

Prebid Mobile SDK 2.0.0 contains mixed language source files which let SwiftPM failing #640

Closed
ThomWee opened this issue May 12, 2022 · 4 comments

Comments

@ThomWee
Copy link

ThomWee commented May 12, 2022

Describe the bug
I'm trying to update to PrebidMobile SDK 2.0.0 using SwiftPM. While updating from 1.12.0 to 2.0.0 the Xcode SwiftPM integration fails always.

To Reproduce

  1. Open a project in Xcode where SDK version 1.12.0 with exact version target is used.
  2. Update the SDK using 2.0.0 as dependency for this target
  3. Check runtime log of Xcode while processing dependencies

Expected behavior
Like with SDK version 1.12.0 should also the 2.0.0 integration of the SDK work.

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS Monterey 12.3.1
  • Xcode 13.3
@YuriyVelichkoPI
Copy link
Contributor

Hi @ThomWee. Thanks for the report.

Unfortunately, it is a known issue. The rendering code base has a lot of objective-c code. It doesn't allow to integrate PrebidMobile with SPM so far. The community and development team doesn't have the needed resources to rewrite the code to swift to fix the issue or modularize the SDK to work around it. So I can't give you an ETA for fixing this issue.

For now, we are going to rewrite the code gradually in the scope of other tasks. But the amount of work is pretty big.

@YuriyVelichkoPI
Copy link
Contributor

Here is a related issue: #396

@bpkelsey
Copy link

Just curious, is there any update on this? Any closer to working with SPM?

@YuriyVelichkoPI
Copy link
Contributor

Hi @bpkelsey ! No progress here. Prebid needs volunteers from the community to perform the migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

5 participants