RxSwiftCommunity / RxRealm

RxSwift extension for RealmSwift's types
MIT License
1.15k stars 263 forks source link

[feature request] Can we reference the RxRealm.xcframework in Package.swift? #160

Open ian4hu opened 3 years ago

ian4hu commented 3 years ago

Package.swift can reference the xcframework as github release, so that we could use the xcframework in user project. Should we support it?

add targest like

// swift-tools-version:5.3
import PackageDescription
let package = Package(
    // ...
    targets: [
        .binaryTarget(
            name: "RxRealm", 
            url: "https://github.com/RxSwiftCommunity/RxRealm/releases/download/v5.0.1/RxRealm.xcframework.zip")
    ])
JoeMatt commented 2 years ago

I generally think using binary targets goes against the point of a package source control system.

While it's great it it's supported by accident, is there a valid reason to put dev resources to ensuring this works over just using the source code?