Ads not loading on iOS 18.4 with version 11.13.0.

313 views
Skip to first unread message

Rishabh Tripathi

unread,
Apr 7, 2025, 12:52:00 PM4/7/25
to Google Mobile Ads SDK Developers
I am using Google Mobile Ads SDK version 11.13.0 and Ads are not loading on iOS 18.4 simulator with Xcode 16. It is working fine with the iOS 18.2 simulator. Also when using 12.2.0 version of the Google Mobile Ads SDK it is working fine with iOS 18.4 version.

Emmanuel

unread,
Apr 30, 2025, 3:46:31 PM4/30/25
to Google Mobile Ads SDK Developers
In case anyone else is running into this, there's a bug in the iOS 18.4 simulator in Xcode 16.3 that is irrespective of the Google Mobile Ads SDK version.


tl;dr: It's a simulator only issue and will be fixed in Xcode 16.4. Workaround is to delete app in sim before each run or use iOS 18.2 simulator.

Emmanuel

Mobile Ads SDK Forum Advisor

unread,
May 2, 2025, 8:08:25 AM5/2/25
to a...@mindthefrog.com, google-adm...@googlegroups.com

Hi Emmanuel,

Thank you for contacting the Mobile Ads SDK support team.

I ran the Google BannerExample in the latest GMA SDK version 12.3.0 in Xcode 16.3 in iOS 18.4 and the Ads are loading successfully. Can you please confirm if the reported issue is replicating in our Google BannerExample? If so, kindly share with us the below details for further investigation:

  • app ID
  • ad unit ID
  • Mobile Ads SDK version
  • Charles logs
You can provide the requested details via reply privately to the author option.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-02 12:07:38Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qVUkJ:ref" (ADR-00303114)



Emmanuel

unread,
May 2, 2025, 11:01:40 AM5/2/25
to Google Mobile Ads SDK Developers
Yes this is reproducible with the latest Swift BannerExample code with GMA SDK 12.3.0 in Xcode 16.3 and iPhone 16 iOS 18.4 simulator.
The first time you install and run the BannerExample app on the simulator, it will work. You must stop and run the application again for the ad loads to fail:
bannerView(_:didFailToReceiveAdWithError:): The network connection was lost.
bannerView(_:didFailToReceiveAdWithError:): The network connection was lost.
bannerView(_:didFailToReceiveAdWithError:): cannot parse response

Note this is not a GMA SDK problem. As mentioned earlier and described in the linked iOS developer forum post, this is an Xcode / iOS Simulator HTTP bug that should be fixed in the next Xcode release. The iOS dev forum posts explains in detail why things work the first time the application is run (spoiler: it's an HTTP handshake issue).

I did not post here to ask the GMA team to investigate. I posted to hopefully save others the time I spent working out what was happening.

Emmanuel

Mobile Ads SDK Forum Advisor

unread,
May 5, 2025, 3:25:34 AM5/5/25
to a...@mindthefrog.com, google-adm...@googlegroups.com

Hi Emmanuel,

Thank you for contacting the Mobile Ads SDK support team.

Kindly note that our support channel can only best assist you with regards to Google Mobile Ads SDK implementation and technical issues.

As you mentioned that this issue is not related to Google Mobile Ads SDK so we couldn’t provide the solution.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-05-05 07:24:45Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qVUkJ:ref" (ADR-00303114)



Reply all
Reply to author
Forward
0 new messages