So I downloaded the latest 3.1 Facebook iOS sdk and under the scripts I found a build_documentation.sh which I ran. It completed and generated a com.facebook.Facebook-SDK-3_0-for-iOS.docset file. I am trying to get it to integrate nicely with XCode. I know that apple docs can create documentation that shows up in the quick help panel. My own custom documentation works great.

Does anyone know what I have to do to get the same kind of documentation integration with Facebook?


EDIT: I tried adding the docset to the corresponding folder according to the instructions here and restarted Xcode but it didn't work

有帮助吗?

解决方案

If you install the SDK from the package you don't have to generate the docset yourself.

其他提示

You can get the Facebook Documentation working with the following:

  • Build the Facebook Documentation with the provided shell scripts
  • Move the .docset to /Library/Developer/Shared/Documentation/DocSets

If it doesn't work, you may have to check, if you moved the docset to ~/Library/Developer/Shared/Documentation/DocSets. This is sometimes WRONG

Why does it work by installing the Facebook Framework directly from the .pkg?
It moves it to /Library/..., not to ~/Library/...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top