Carthage
Carthage copied to clipboard
How can I declare a dependency for Binary Project Specification dependencies?
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.
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.