Code Monkey home page Code Monkey logo

Comments (6)

gotev avatar gotev commented on August 17, 2024 1

TBH I hope once SPM is out, nobody else still uses Carthage or CocoaPods so we can all safely use a single official package manager.

from differencekit.

ra1028 avatar ra1028 commented on August 17, 2024

Hi @gotev ,
Thanks for the proposal.

I currently have no motivation for this for three reasons.

  1. Apple hasn't yet shipped Swift's module stability. It may cause confusion for users who don't use compatible compiler versions.
  2. In most cases, you can reduce build time significantly using --cache-builds option.
  3. I don't know how to attach binaries with ensuring safety for security.

from differencekit.

gotev avatar gotev commented on August 17, 2024

Hi @ra1028 !

For the first point, Carthage deals with that, ensuring all the frameworks are built with the same swift version. If a binary framework is not built with the same swift version, it automatically falls back to building it from source. For 2 definitely yes, and I use it a lot. For 3 it depends on how many people have access to your repository to publish releases. If you are the only one, then you're safe.

from differencekit.

ra1028 avatar ra1028 commented on August 17, 2024

@gotev

The number of people currently accessible isn't the problem, IMHO.
I'm concerned that there is no way to verify that a binary is safe.
I don't want to publish prebuilt framework at present because of the evolution of SwiftPM announced by Apple at WWDC 2019.
Do I make sense?

from differencekit.

gotev avatar gotev commented on August 17, 2024

@ra1028 it's OT here, but thanks to your library my code looks similar to what SwiftUI has brought to the table. Outstanding!

Regarding security, when I publish prebuilt frameworks today I use GitHub hub from CI, which uses safe authentication mechanism to deploy the framework, so I personally feel safe deploying like that, but this is your library, so I respect your point of view and your way of doing things, and if you don't intend publishing anything binary until new SPM comes out, that's perfectly reasonable.

from differencekit.

ra1028 avatar ra1028 commented on August 17, 2024

@gotev

Thanks for your understanding.
TBH, I hope to abolish the support for package managers other than SwiftPM in the future.
I understand the convenience of the prebuilt binary, and the distribution as XCFrameworks is one possibility then.

from differencekit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.