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 1.0.1 (fa0b89), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:38:30 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Admob-SwiftUI.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/Admob-SwiftUI
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at fa0b89f Small improvements and Ad library update
Cloned https://github.com/0xWDG/Admob-SwiftUI.git
Revision (git rev-parse @):
fa0b89f6dc2ba140780cf6d67a1aaa1f18d9ab38
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Admob-SwiftUI.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xWDG/Admob-SwiftUI.git
https://github.com/0xWDG/Admob-SwiftUI.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "swift-package-manager-google-mobile-ads",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.1.0",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/googleads/swift-package-manager-google-mobile-ads.git"
    }
  ],
  "manifest_display_name" : "Admob-SwiftUI",
  "name" : "Admob-SwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Admob-SwiftUI",
      "targets" : [
        "Admob-SwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Admob_SwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "Admob-SwiftUI",
      "path" : "Sources/Admob-SwiftUI",
      "product_dependencies" : [
        "GoogleMobileAds"
      ],
      "product_memberships" : [
        "Admob-SwiftUI"
      ],
      "sources" : [
        "AdConsent.swift",
        "AdConsentView.swift",
        "AdHelper.swift",
        "AdView.swift",
        "BannerView.swift",
        "BannerViewController.swift",
        "InternalBannerView.swift",
        "View+addAdPadding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[2/4] Compiling UserMessagingPlatformTarget placeholder.m
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/6] Emitting module GoogleMobileAdsTarget
[6/6] Compiling GoogleMobileAdsTarget placeholder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] 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 |
[8/15] 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 |
[9/15] 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 |
[10/15] 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 |
[11/15] 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 |
[12/15] 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 |
[13/15] 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 |
[14/15] 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 |
[15/15] 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 |
Fetching https://github.com/googleads/swift-package-manager-google-mobile-ads.git
[1/253] Fetching swift-package-manager-google-mobile-ads
Fetched https://github.com/googleads/swift-package-manager-google-mobile-ads.git from cache (0.67s)
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 (1.30s)
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.66s)
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.28s)
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
[5371/8114414] Downloading https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip
[4013029/8291604] Downloading https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip, 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.84s)
Downloaded https://dl.google.com/googleadmobadssdk/f2c09c60ee331ce0/googlemobileadsios-spm-11.13.0.zip (1.08s)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling GoogleMobileAdsTarget placeholder.swift
[3/3] Emitting module GoogleMobileAdsTarget
[4/12] 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 |
[5/12] 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 |
[6/12] 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 |
[7/12] 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 |
[8/12] 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 |
[9/12] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] 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 |
[11/12] 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 |
[12/12] 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 |
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.1 macosSpm