Closed cbaltzer closed 3 years ago
The problem is probably caused by having github "readium/r2-lcp-swift" "develop"
in the Cartfile
. It's not present in r2-testapp-swift
's Cartfile
.
r2-lcp-swift
used to not be really compatible with Carthage, because you needed to modify its Cartfile
file to add the R2LCPClient
dependency. I fixed this recently in a yet to be merged PR by removing the dependency to R2LCPClient
: https://github.com/readium/r2-lcp-swift/pull/112
However until it is merged (soon), you need to integrate r2-lcp-swift
as a submodule, as showcased in r2-testapp-swift
.
I merged the aforementioned PRs, it should work now with github "readium/r2-lcp-swift" "develop"
in your Cartfile
.
The content of your
Cartfile
How your project is organized (submodules or Carthage dependencies)
Carthage dependencies. This is a fresh clone of
r2-testapp-swift
on thedevelop
branch.In which folder did you run
carthage update --use-xcframeworks --platform iOS
The repo root.
~/r2-testapp-swift
The output of
carthage update --use-xcframeworks --platform iOS
And the tail of the log:
The output of
ls r2-testapp-swift/Carthage/Build
Didn't grab this, see below.
Partial Resolution
I was able to get the build working using the
carthage.sh
script from here. However, still opening this issue since a custom script shouldn't be needed. Or should be much more visible, at least.