Build Information
Failed to build Admob-SwiftUI, reference main (5cc31f
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 14:18:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.32s)
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.98s)
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.26s)
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 (0.93s)
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
Downloaded https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip (0.53s)
[49152/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 (1.95s)
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-24593BA9C3E375BF.txt
[5/6] Emitting module GoogleMobileAdsTarget
[6/6] Compiling GoogleMobileAdsTarget placeholder.swift
[8/15] Compiling Admob_SwiftUI AdConsentView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[9/16] Compiling Admob_SwiftUI AdHelper.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[10/16] Compiling Admob_SwiftUI AdView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[11/16] Compiling Admob_SwiftUI BannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[12/16] Compiling Admob_SwiftUI InternalBannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[13/16] Compiling Admob_SwiftUI BannerViewController.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[14/16] Compiling Admob_SwiftUI View+addAdPadding.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
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:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
[16/16] Compiling Admob_SwiftUI AdConsent.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:10:8: error: no such module 'Foundation'
8 | // Usage & Example: https://wesleydegroot.nl/blog/post/Admob-in-SwiftUI
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 | import GoogleMobileAds
12 | import UserMessagingPlatform
BUILD FAILURE 6.2 wasm