I'm working on a KMM library. Internally I neede...
# multiplatform
m
I'm working on a KMM library. Internally I needed to create two xcframeworks for use in cinterop. I'm then distributing those frameworks using Swift Package Manager. I'm now testing it by creating a new KMM app. I added the swift package to XCode and the library to gradle with no problems. But the shared lib for the new test app fails when linking the library it is making because it cannot find those two frameworks. Current work around is to find where Xcode extracts the swift package something like
~/Library/Developer/Xcode/DerivedData/iosApp-alasclhrniluzubqmvebxnwkvmjw/SorucePackages/checkouts/my-lib/frameworks
, but that doesn't seem very maintainable. Is there a better solution to this that I'm missing.