Carthage icon indicating copy to clipboard operation
Carthage copied to clipboard

How can I declare a dependency for Binary Project Specification dependencies?

Open isaac-weisberg opened this issue 2 years ago • 1 comments

I have A.xcframework which depends on B.xcframework. Both are prebuilt.

I wrote a spec file so that my consumers could consume A:

{
	"1.0.0": "https://raw.githubusercontent.com/A/a/1.0.0/A.xcframework.zip"
}

But the thing is, A needs B and I would like to declare this dependency - and I was wondering, how could I do that?

I want my consumers of A to also download B.

isaac-weisberg avatar Aug 29 '22 14:08 isaac-weisberg

Alright, the answer is that one can't. I just created separate Carthage spec json's for 2 packages and the consumer of A declares in his Cartfile both A and B.

isaac-weisberg avatar Aug 31 '22 08:08 isaac-weisberg