Skip to content

[devicelab] platform_views bots failing on Xcode 26: missing Swift compatibility and C++ symbols in GoogleMobileAds #185510

Closed

Description

@okorohelijah

While upgrading the Flutter CI macOS tests to run on Xcode 26.2 and the iOS 26 simulator #185431, the platform_views_scroll_perf_ad_banners devicelab test (and other related platform_views bots) are experiencing post-submit build failures.

I'm seeing some Swift compatibility issues so maybe similar to #175905? But the difference seems to be the linker failures here originate from the GoogleMobileAds SDK.

[STDOUT] stdout:              "___gxx_personality_v0", referenced from:
[STDOUT] stdout:                  /opt/s/w/ir/x/w/rc/tmpse4eehmh/flutter sdk/dev/benchmarks/platform_views_layout/build/ios/Profile-iphoneos/XCFrameworkIntermediates/Google-Mobile-Ads-SDK/GoogleMobileAds.framework/GoogleMobileAds[arm64][493](libPsm_merged.o)
[STDOUT] stdout:              "__swift_FORCE_LOAD_$_swiftCompatibility51", referenced from:
[STDOUT] stdout:                  __swift_FORCE_LOAD_$_swiftCompatibility51_$_GoogleMobileAds in GoogleMobileAds[arm64][451](GADMarketplaceKitSignals.o)
[STDOUT] stdout:              "__swift_FORCE_LOAD_$_swiftCompatibility56", referenced from:
[STDOUT] stdout:                  __swift_FORCE_LOAD_$_swiftCompatibility56_$_GoogleMobileAds in GoogleMobileAds[arm64][451](GADMarketplaceKitSignals.o)
[STDOUT] stdout:              "__swift_FORCE_LOAD_$_swiftCompatibilityConcurrency", referenced from:
[STDOUT] stdout:                  __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency_$_GoogleMobileAds in GoogleMobileAds[arm64][451](GADMarketplaceKitSignals.o)
[STDOUT] stdout:            ld: symbol(s) not found for architecture arm64
[STDOUT] stdout:            clang: error: linker command failed with exit code 1 (use -v to see invocation)

...

[STDERR] stderr: [        ] Error (Xcode): Undefined symbol: std::__1::locale::use_facet(std::__1::locale::id&) const
[STDERR] stderr: [        ] Error (Xcode): Undefined symbol: std::__1::ios_base::getloc() const
[STDERR] stderr: [        ] Error (Xcode): Undefined symbol: std::logic_error::logic_error(char const*)

Build: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20platform_views_scroll_perf_ad_banners__timeline_summary/10587/overview

log: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8683681745389649985/+/u/run_platform_views_scroll_perf_ad_banners__timeline_summary/stdout

Activity

  1. added
    P0Critical issues such as a build break or regression
    a: platform-viewsEmbedding Android/iOS views in Flutter apps
    team-iosOwned by iOS platform team
    on Apr 24, 2026
  2. vashworth commented on Apr 24, 2026

    @vashworth
    Contributor

    @okorohelijah google_mobile_ads has been converted to SwiftPM. Try enabling it and see if that fixes:

    # This project uses "google_mobile_ads", which is not compatible with Swift Package Manager.
    # Disable it until https://github.com/googleads/googleads-mobile-flutter/issues/1239 is resolved.
    enable-swift-package-manager: false

  3. self-assigned this
    on Apr 24, 2026
  4. github-actions commented on May 9, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: platform-viewsEmbedding Android/iOS views in Flutter appsteam-iosOwned by iOS platform team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions