gifts administrative assistant pos deals coupon code gifted child in the philippines where to find free newspaper coupons kwik star gift card balance pigeon forge tennessee discount coupons
Tuesday, December 6, 2022
HomeiOS Developmentios - CocoaPods: supporting binary xcframework dependencies like SPM's `binaryTarget`

ios – CocoaPods: supporting binary xcframework dependencies like SPM’s `binaryTarget`

I have a library using Swift Package Manger (SPM) but I need to support CocoaPods and I'm getting stuck figuring out how to support a binary xcframework dependency. SPM allows hosting a binary xcframework like the following Package.swift example below.

How can I do this with CocoaPods?

import PackageDescription

let package = Package(
    name: "MyPackage",
    defaultLocalization: "en",
    platforms: [.iOS(.v12)],
    products: [
            name: "MyLibrary",
            targets: ["MyTarget"])
    targets: [
            name: "MyTarget",
            dependencies: ["BinaryTarget"],
            path: "Sources/"
        name: "BinaryTarget",
        url: "",
        checksum: "123abcxyz"

I did find this issue but hoping there is a solution. Do all dependencies in CocoaPods need a Podfile?



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments