The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Admob-SwiftUI, reference main (5cc31f), with Swift 6.2 (beta) for Android on 22 Jun 2025 14:19:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Admob-SwiftUI.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/0xWDG/Admob-SwiftUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5cc31f1 Update README.md
Cloned https://github.com/0xWDG/Admob-SwiftUI.git
Revision (git rev-parse @):
5cc31f1e243c8ea678ff4a495e49c9a01b641a9e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Admob-SwiftUI.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/0xWDG/Admob-SwiftUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/googleads/swift-package-manager-google-mobile-ads.git
[1/261] Fetching swift-package-manager-google-mobile-ads
Fetched https://github.com/googleads/swift-package-manager-google-mobile-ads.git from cache (0.38s)
Computing version for https://github.com/googleads/swift-package-manager-google-mobile-ads.git
Computed https://github.com/googleads/swift-package-manager-google-mobile-ads.git at 11.13.0 (0.86s)
Fetching https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
[1/59] Fetching swift-package-manager-google-user-messaging-platform
Fetched https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git from cache (0.53s)
Computing version for https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
Computed https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git at 2.7.0 (1.07s)
Creating working copy for https://github.com/googleads/swift-package-manager-google-mobile-ads.git
Working copy of https://github.com/googleads/swift-package-manager-google-mobile-ads.git resolved at 11.13.0
Creating working copy for https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
Working copy of https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git resolved at 2.7.0
Downloading binary artifact https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip
Downloading binary artifact https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
[1369/177190] Downloading https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
[20931/8291604] Downloading https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip, https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip
Downloaded https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip (0.82s)
[148825/8114414] Downloading https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip
Downloaded https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip (2.71s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Admob-SwiftUI/PrivacyInfo.xcprivacy
Building for debugging...
[0/4] Write sources
[2/4] Compiling UserMessagingPlatformTarget placeholder.m
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/6] Emitting module GoogleMobileAdsTarget
[6/6] Compiling GoogleMobileAdsTarget placeholder.swift
[8/15] Compiling Admob_SwiftUI BannerViewController.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[9/16] Compiling Admob_SwiftUI AdHelper.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[10/16] Compiling Admob_SwiftUI AdConsentView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[11/16] Compiling Admob_SwiftUI View+addAdPadding.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[12/16] Compiling Admob_SwiftUI InternalBannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[13/16] Compiling Admob_SwiftUI AdView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[14/16] Compiling Admob_SwiftUI BannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/16] Emitting module Admob_SwiftUI
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[16/16] Compiling Admob_SwiftUI AdConsent.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
BUILD FAILURE 6.2 android