GithubHelp home page GithubHelp logo

Carthage support about matrix-ios-sdk HOT 8 OPEN

matrix-org avatar matrix-org commented on June 3, 2024
Carthage support

from matrix-ios-sdk.

Comments (8)

radiodario avatar radiodario commented on June 3, 2024

👍

from matrix-ios-sdk.

mikecsh avatar mikecsh commented on June 3, 2024

+1

from matrix-ios-sdk.

ara4n avatar ara4n commented on June 3, 2024

patches welcome for this, but right now none of the core team are using carthage and so all the effort is going into making the cocoapods work well.

from matrix-ios-sdk.

michaelnew avatar michaelnew commented on June 3, 2024

One option, if you're like me and don't want cocoapods taking over your project, is to use Rome to build the frameworks and then include them yourself (so pretty much the same deal as Carthage).

I actually played around with trying to build with Carthage, but I'm not sure what to do with libbase58 since it's just a C library. Olm would also need to be buildable with Carthage.

from matrix-ios-sdk.

beltex avatar beltex commented on June 3, 2024

Any updates on this?

from matrix-ios-sdk.

xinsight avatar xinsight commented on June 3, 2024

Hi @beltex. I've actually got the matrix sdk working with carthage. It was a bit of a hassle.

  1. Not all the dependencies support carthage, so I had to fork them and add carthage support (OLMKit, libbase58). I will try to get the carthage changes merged upstream, but for now, they are just private forks.

  2. The SDK has targets for mac and iOS, but they are specific to cocoapods. In order to not break cocoapod support, I added a new framework target. This new target is shared, which means carthage can see it.

  3. There was a reference to MatrixKit which was causing problems, so I just commented that out.

It's still a work in progress, but have a look: https://github.com/xinsight/matrix-ios-sdk/tree/carthage

from matrix-ios-sdk.

ferologics avatar ferologics commented on June 3, 2024

@xinsight I'm considering using your fork in production.
Do you plan to maintain compatibility with upstream changes?
What other modifications have you made?

from matrix-ios-sdk.

xinsight avatar xinsight commented on June 3, 2024

Do you plan to maintain compatibility with upstream changes?

No.

What other modifications have you made?

Best to view my commits and let me know if you have specific questions. Basically, I had to add Carthage support to other dependencies. See: https://github.com/xinsight/matrix-ios-sdk/blob/carthage/Cartfile

git "[email protected]:xinsight/olm.git" "carthage"
github "xinsight/libbase58" "carthage"

Good luck!

from matrix-ios-sdk.

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.