The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Admob-SwiftUI, reference main (fbb898), with Swift 6.0 for macOS (SPM) on 15 Mar 2026 17:36:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Admob-SwiftUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Admob-SwiftUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fbb898c New ad system
Cloned https://github.com/0xWDG/Admob-SwiftUI.git
Revision (git rev-parse @):
fbb898c42e92a21e5bc75a5cf726afa33617689a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Admob-SwiftUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/Admob-SwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Compiling UserMessagingPlatformTarget placeholder.m
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/6] Emitting module GoogleMobileAdsTarget
[6/6] Compiling GoogleMobileAdsTarget placeholder.swift
[7/16] Compiling Admob_SwiftUI AdConsent.swift
/Users/admin/builder/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)
[8/16] Emitting module Admob_SwiftUI
/Users/admin/builder/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 InternalBannerView.swift
/Users/admin/builder/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 View+addAdPadding.swift
/Users/admin/builder/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 InterstitialAdManager.swift
/Users/admin/builder/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 AdConsentView.swift
/Users/admin/builder/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 BannerViewController.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
[15/16] Compiling Admob_SwiftUI AdHelper.swift
/Users/admin/builder/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 AdView.swift
/Users/admin/builder/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 |
Fetching https://github.com/googleads/swift-package-manager-google-mobile-ads.git
[1/300] Fetching swift-package-manager-google-mobile-ads
Fetched https://github.com/googleads/swift-package-manager-google-mobile-ads.git from cache (0.66s)
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.58s)
Fetching https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
[1/62] Fetching swift-package-manager-google-user-messaging-platform
Fetched https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git from cache (0.60s)
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.55s)
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
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
[3076/3076] Downloading https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
Downloading binary artifact https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
[178626/178626] 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.36s)
[63956/63956] Downloading https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip
Downloading binary artifact 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.02s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Admob-SwiftUI/PrivacyInfo.xcprivacy
BUILD FAILURE 6.0 macosSpm