How can consumers of a custom XCFramework access the header documentation?

246 views Asked by At

I'm developing an XCFramework which has a lot of good documentation (as docstrings/Markup Apple Markup Formatting Reference) for its public interface. However, when the framework is included in a client app, Xcode doesn't show any documentation when you Option-Click ("Quick Help") on a method or property.

Within the SDK.xcframework folder there is a file Headers/SDK-Swift.h which actually includes all of those documentation strings.

Is there a way to tell Xcode to use the shipped documentation?

My XCFramework is created via xcodebuild -create-xcframework -framework x.framework -framework y.framework -output z.xcframework

0

There are 0 answers