我如何在“开发人员文档”中充分可用XCFramework文档?
我正在开发一个完整的框架。在开发项目中,该文档运作良好。虽然,当我将此框架添加到项目(使用SPM或Cocoapods)中时,如果i option +单击
我的框架中定义的内容,我将无法检查其完整内容。 docstrings很好地显示出来,但是“开发人员文档中的打开”链接不可用,如果我单击一个可用的链接(例如,函数参数类型),则说“页面不可用”。
我已经尝试使用control + control + shift + D
构建主机应用程序的文档),但是我的框架甚至没有出现。
正如我所说,这对我来说是不起作用的,Xcode实际上可以找到文档,但在构建时似乎找不到它。
我在Stackoverflow上找到了一个类似的问题,但似乎并非同一问题,也没有答案。
我想念什么吗?在主机应用程序中我必须做某事吗?还是在构建框架时缺乏配置?
例如,在图片中(必须编辑一些信息,对不起),如果我单击apienvironment
(在我的框架中定义),我会收到一条未找到的页面消息。
I'm developing a fully documented framework. In its developing project, the documentation works perfectly. Although, when I add this framework to a project (with SPM or Cocoapods), if I option + click
something defined in my framework I am not able to check its full content. The docstrings show up nicely, but the link "Open in Developer Documentation" is not available and if I click on one of the available links (for example, a function parameter type), it says "Page not available".
I have already tried to build the docs on the host app with control + command + shift + d
, it builds all of the dependencies of my framework (which are all open-source, i.e the swift files are there) but my Framework doesn't even show up.
It doesn't make sense to me that this is not working, as I said, Xcode can actually find the docs but seems it can't find it when building.
I've found a similar question here on Stackoverflow but it doesn't seem to be the same issue, and there are no answers.
Am I'm missing something? Is there something that I must do in the host app? Or is there some lacking config when building the framework?
For example, in the picture (had to redact some info, sorry), if I click APIEnvironment
, which is defined within my framework, I get a message of page not found.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论