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

Crash on swiftui preview with xcode 16.2 #1106

Open
aybarska opened this issue Feb 17, 2025 · 0 comments
Open

Crash on swiftui preview with xcode 16.2 #1106

aybarska opened this issue Feb 17, 2025 · 0 comments

Comments

@aybarska
Copy link

Describe the bug
When i try to show swiftui preview in latest xcode, i got crash on preview screen. Only happens on the preview screen. No crashes on real devices or simulator.

crashed due to an uncaught exception NSInvalidArgumentException. Reason: +[PBPlacement initWithIntegerLiteral:]: unrecognized selector sent to class 0x10e8767c0.

To Reproduce
Steps to reproduce the behavior:

  1. Get latest xcode
  2. Use latest prebid sdk
  3. Create a swiftui preview on uikit based project
  4. make prebod initializations

Expected behavior
Should able to see preview.

**Smartphone

  • Device: Preview Screen
  • OS: iOS 18.2

Additional context
When prebid sdk removed, no crash on preview. Sdk version 2.4.0

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

No branches or pull requests

1 participant