The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayHereSDK, reference 4.0.2 (dd60b3), with Swift 6.1 for macOS (SPM) on 29 Sep 2026 22:58:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Reference: 4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PayHereLK/payhere-mobilesdk-ios
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at dd60b3d Hide unavailable payment method sections
Cloned https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Revision (git rev-parse @):
dd60b3d3084e072b4cda05bb7506504e345274f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PayHereLK/payhere-mobilesdk-ios.git at 4.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.12.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "objectmapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tristanhimmelman/ObjectMapper.git"
    },
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    }
  ],
  "manifest_display_name" : "PayHereSDK",
  "name" : "PayHereSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PayHereSDK",
      "targets" : [
        "PayHereSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PayHereSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "PayHereSDKTests",
      "path" : "Tests/PayHereSDKTests",
      "product_dependencies" : [
        "ObjectMapper",
        "Alamofire",
        "SDWebImage"
      ],
      "sources" : [
        "PHCardFormLayoutTests.swift",
        "PHPaymentErrorTests.swift",
        "PHPaymentImageTests.swift",
        "PHPaymentLifecycleTests.swift",
        "PHSheetHeightPolicyTests.swift"
      ],
      "target_dependencies" : [
        "PayHereSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PayHereSDK",
      "module_type" : "SwiftTarget",
      "name" : "PayHereSDK",
      "path" : "PayHereSDK/Sources",
      "product_dependencies" : [
        "Alamofire",
        "ObjectMapper",
        "SDWebImage"
      ],
      "product_memberships" : [
        "PayHereSDK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Assets/colors.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Assets/image.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Fonts/HPay.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Fonts/HPayBold.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/HeaderCollectionReusableView.xib",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PHBottomSheetTableViewSectioHeader.xib",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PayOptionCollectionViewCell.xib",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PayWithHelaPayTableViewCell.xib",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Nibs/PaymentOptionTableViewCell.xib",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/PayHereSDK/Sources/Resources/Storyboards/PayHere.storyboard",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "API/PHConstants.swift",
        "API/PHPaymentConfiguration.swift",
        "API/PHPaymentError.swift",
        "API/PHPrecentController.swift",
        "API/PHResponse.swift",
        "API/PHViewControllerDelegate.swift",
        "API/PayHereSDK.swift",
        "API/PayHereSDKDelegate.swift",
        "Core/PHConfigs.swift",
        "Core/PHPaymentErrorMapper.swift",
        "Core/PHPaymentLifecycle.swift",
        "Core/PHPaymentPresenter.swift",
        "Core/ParamHandler.swift",
        "Models/Address.swift",
        "Models/Customer.swift",
        "Models/InitRequest.swift",
        "Models/Item.swift",
        "Models/PHEnums.swift",
        "Models/PHInitRequest.swift",
        "Models/PHInitResponse.swift",
        "Models/PHInitialRequest.swift",
        "Models/PayHereInitnSubmitResponse.swift",
        "Models/PaymentUI.swift",
        "Models/StatusResponse.swift",
        "Models/SubmitRequest.swift",
        "UI/Cells/PayOptionCollectionViewCell.swift",
        "UI/Cells/PayWithHelaPayTableViewCell.swift",
        "UI/Cells/PaymentOptionTableViewCell.swift",
        "UI/Controllers/PHBottomViewController.swift",
        "UI/PHCheckoutStep.swift",
        "UI/PHPaymentOption.swift",
        "UI/PHSheetHeightPolicy.swift",
        "UI/PHWebContentMeasurement.swift",
        "UI/PHWebLayoutMessageHandler.swift",
        "UI/PHWebViewScripts.swift",
        "UI/Theme/PHColorProfile.swift",
        "UI/Views/HeaderCollectionReusableView.swift",
        "UI/Views/PHBottomSheetTableViewSectioHeader.swift",
        "UI/Views/WVCheckMark.swift",
        "Utilities/Extention.swift",
        "Utilities/PHUtils.swift",
        "Utilities/UIFont+PayHere.swift",
        "Utilities/WaitUntil.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
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/32943] Fetching alamofire
[2/58990] Fetching alamofire, sdwebimage
[4515/65332] Fetching alamofire, sdwebimage, objectmapper
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (8.50s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (8.50s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (8.50s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (9.03s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.59s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.58s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
Creating working copy for https://github.com/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.4.3
error: the library 'PayHereSDK' requires macos 10.13, but depends on the product 'ObjectMapper' which requires macos 12.0; consider changing the library 'PayHereSDK' to require macos 12.0 or later, or the product 'ObjectMapper' to require macos 10.13 or earlier.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: the library 'PayHereSDK' requires macos 10.13, but depends on the product 'ObjectMapper' which requires macos 12.0; consider changing the library 'PayHereSDK' to require macos 12.0 or later, or the product 'ObjectMapper' to require macos 10.13 or earlier.
BUILD FAILURE 6.1 macosSpm