The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Glassfy, reference 1.4.2 (021aec), with Swift 6.1 for Wasm on 29 May 2025 10:53:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/glassfy/ios-sdk.git
Reference: 1.4.2
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/glassfy/ios-sdk
 * tag               1.4.2      -> FETCH_HEAD
HEAD is now at 021aec9 Release v1.4.2
Cloned https://github.com/glassfy/ios-sdk.git
Revision (git rev-parse @):
021aec95812107d155bac96b001506078fc127f8
SUCCESS checkout https://github.com/glassfy/ios-sdk.git at 1.4.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/glassfy/ios-sdk.git
https://github.com/glassfy/ios-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glassfy",
  "name" : "Glassfy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Glassfy",
      "targets" : [
        "Glassfy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Glassfy",
      "module_type" : "ClangTarget",
      "name" : "Glassfy",
      "path" : "Source",
      "product_memberships" : [
        "Glassfy"
      ],
      "sources" : [
        "GYAPIBaseResponse.m",
        "GYAPIInitResponse.m",
        "GYAPIManager.m",
        "GYAPIOfferingsResponse.m",
        "GYAPIPaywallResponse.m",
        "GYAPIPermissionsResponse.m",
        "GYAPIPropertiesResponse.m",
        "GYAPIPurchaseHistoryResponse.m",
        "GYAPISignatureResponse.m",
        "GYAPISkuResponse.m",
        "GYAPIStoreInfoResponse.m",
        "GYAccountableSku.m",
        "GYAttributionItem.m",
        "GYCacheManager.m",
        "GYError.m",
        "GYFormatter.m",
        "GYInitializeOptions.m",
        "GYLogger.m",
        "GYManager.m",
        "GYOffering.m",
        "GYOfferings.m",
        "GYPaywall.m",
        "GYPaywallHtmlJsonProvider.m",
        "GYPaywallJsonProvider.m",
        "GYPaywallNoCodeJsonProvider.m",
        "GYPaywallViewController.m",
        "GYPermission.m",
        "GYPermissions.m",
        "GYPurchaseHistory.m",
        "GYPurchasesHistory.m",
        "GYSku.m",
        "GYSkuBase.m",
        "GYSkuPaddle.m",
        "GYStoreInfo.m",
        "GYStoreInfoPaddle.m",
        "GYStoreInfoStripe.m",
        "GYStoreRequest.m",
        "GYStoresInfo.m",
        "GYSysInfo.m",
        "GYTransaction.m",
        "GYUserProperties.m",
        "GYUtils.m",
        "Glassfy.m",
        "SKPayment+GYEncode.m",
        "SKPaymentDiscount+GYEncode.m",
        "SKPaymentTransaction+GYEncode.m",
        "SKProduct+GYEncode.m",
        "SKProductDiscount+GYEncode.m",
        "SKProductSubscriptionPeriod+GYEncode.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Source/GYAPIPaywallResponse.m:8:
/host/spi-builder-workspace/Source/GYAPIPaywallResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIPaywallResponse.m
In file included from /host/spi-builder-workspace/Source/GYAPISkuResponse.m:8:
/host/spi-builder-workspace/Source/GYAPISkuResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Source/GYAPIPermissionsResponse.m:8:
/host/spi-builder-workspace/Source/GYAPIPermissionsResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIPermissionsResponse.m
[0/49] Compiling Glassfy GYAPISkuResponse.m
In file included from /host/spi-builder-workspace/Source/GYAPISignatureResponse.m:8:
/host/spi-builder-workspace/Source/GYAPISignatureResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPISignatureResponse.m
In file included from /host/spi-builder-workspace/Source/GYAPIPurchaseHistoryResponse.m:8:
In file included from /host/spi-builder-workspace/Source/GYAPIPurchaseHistoryResponse.h:8:
/host/spi-builder-workspace/Source/GYAPIBaseResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIPurchaseHistoryResponse.m
[0/49] Compiling Glassfy GYAPIManager.m
In file included from /host/spi-builder-workspace/Source/GYAPIPropertiesResponse.m:8:
/host/spi-builder-workspace/Source/GYAPIPropertiesResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIPropertiesResponse.m
In file included from /host/spi-builder-workspace/Source/GYAPIOfferingsResponse.m:8:
/host/spi-builder-workspace/Source/GYAPIOfferingsResponse.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYAPIOfferingsResponse.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Source/SKProductSubscriptionPeriod+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKProductSubscriptionPeriod+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <StoreKit/StoreKit.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy SKProductSubscriptionPeriod+GYEncode.m
In file included from /host/spi-builder-workspace/Source/SKProduct+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKProduct+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <StoreKit/StoreKit.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy SKProduct+GYEncode.m
/host/spi-builder-workspace/Source/GYUtils.m:8:9: fatal error: 'CommonCrypto/CommonDigest.h' file not found
    8 | #import <CommonCrypto/CommonDigest.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy GYUtils.m
In file included from /host/spi-builder-workspace/Source/Glassfy.m:9:
/host/spi-builder-workspace/Source/Public/Glassfy.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy Glassfy.m
In file included from /host/spi-builder-workspace/Source/SKProductDiscount+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKProductDiscount+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <StoreKit/StoreKit.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy SKProductDiscount+GYEncode.m
In file included from /host/spi-builder-workspace/Source/SKPaymentTransaction+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKPaymentTransaction+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <StoreKit/StoreKit.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy SKPaymentTransaction+GYEncode.m
In file included from /host/spi-builder-workspace/Source/SKPayment+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKPayment+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <StoreKit/StoreKit.h>
      |         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/49] Compiling Glassfy SKPayment+GYEncode.m
In file included from /host/spi-builder-workspace/Source/SKPaymentDiscount+GYEncode.m:8:
/host/spi-builder-workspace/Source/SKPaymentDiscount+GYEncode.h:8:9: fatal error: 'StoreKit/StoreKit.h' file not found
    8 | #import <Store[0/49] Compiling Glassfy SKPaymentDiscount+GYEncode.m
BUILD FAILURE 6.1 wasm