Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

(iOS) Is there a plan to support Swift 6 (Sendable)?

40 views
Skip to first unread message

Myoungkyu Shin

unread,
Dec 5, 2024, 7:31:54 PM12/5/24
to Google Mobile Ads SDK Developers
Hello Team!

I am preparing for Swift 6 migration in my project. I am curious if the GAD SDK is also preparing for this. 
(for example) the following warning occurs:

Sending 'nativeAd' risks causing data races; this is an error in the Swift 6 language mode
 - Task-isolated 'nativeAd' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses


To address this, we can apply a temporary measure as follows, but it would be great if the SDK officially addresses this:
 extension GADNativeAd: @unchecked @retroactive Sendable {}

Mobile Ads SDK Forum Advisor

unread,
Dec 6, 2024, 1:31:19 AM12/6/24
to ikaru...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGngN:ref" (ADR-00277874)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Mahmoud Alghool

unread,
Dec 10, 2024, 4:44:10 PM12/10/24
to Myoungkyu Shin, Google Mobile Ads SDK Developers

Help me


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/d5b1f77f-7aae-454c-8dc6-5edba02577ddn%40googlegroups.com.

Mobile Ads SDK Forum Advisor

unread,
Dec 19, 2024, 5:01:20 AM12/19/24
to google-adm...@googlegroups.com, ikaru...@gmail.com

Hi,

Delegate methods have been updated with a @preconcurrency flag in the latest version of our native ads sample project. Resolve issues by pulling in these changes.

Reply all
Reply to author
Forward
0 new messages