1

It seems the script presented at Reloading docset without restarting Xcode no longer works with the latest release 4.4.1 of Xcode.

tell application "Xcode"
    load documentation set with path
        "~/Library/Developer/Shared/Documentation/DocSets/myDocSet.docset"
end tell

Quitting and then relaunching Xcode are required.

Any idea on how to update the script to avoid quitting and relaunching?

Community
  • 1
  • 1
Rei Vilo
  • 589
  • 5
  • 8

1 Answers1

2

With Xcode version 4.5.1 (4G1004), the reload is done automatically.

So, no script needed :)

Here is what I use to generate the documentation, maybe it can help you:

appledoc --project-name "MyProjectName" --project-company "Awesome Company" --no-repeat-first-par --output docset_folder --ignore .m .
Guillaume
  • 21,685
  • 6
  • 63
  • 95
  • Yeah works without reloading Xcode, I only used the basic switches and the new DocSet is seen after opening the Organizer window: ./appledoc --project-name testdocs --project-company "My Company" --company-id com.mycompany --output ~/Desktop ~/Desktop/appledoc-master – Binarian Apr 19 '13 at 14:44
  • It does reload the documentation page, but the navigation tree, help index and quick help is not updated. – Rob van der Veer Jul 31 '13 at 18:49