Skip to content

How to release/download a private framework with Carthage? #2826

@ScottPierce

Description

@ScottPierce

I'm playing around with trying to release a Kotlin/Native framework to my iOS team privately via Carthage. Kotlin/native gives us an objc framework, and it seems there are 2 ways to release the framework via Carthage:

  1. Have carthage build the repository for them - which it does via an xcode configuration. Since I'm not using xcode to build this, is there another way that I can tell carthage how to build it? i.e. Can I somehow tell it what command to run, and then where to find the compiled .framework folder?

  2. Compile the .framework folder myself, use lipo to make it a fat framework, and release it to a private repo where I can point carthage to the json file. But we also found: Carthage access private prebuilt framework files #2388 , indicating that Carthage doesn't support any form of authenticated requests for handling this - meaning that I can't use private repos like this.

We found a hard block with option 22 - so that means we need to find a way to make option 1 work right?

I have a simple command to build the framework, and then the framework can be found at a folder that I specify. Do you have any suggestions / paths forward that you can suggest that I haven't found yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions