--
You received this message because you are subscribed to the Google Groups "appledoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appledoc+u...@googlegroups.com.
To post to this group, send email to appl...@googlegroups.com.
Visit this group at http://groups.google.com/group/appledoc.
For more options, visit https://groups.google.com/d/optout.
On 24 Sep 2014, at 23:20, Jonathan Sachs via appledoc <appledoc+noreply-APn2wQdr3d6zfW6...@googlegroups.com> wrote:Tom, first, let me say that you don't need to explain what ~ means and how to copy a file with cp. I am grounded in basic Linux concepts and operations. When it comes to OS X specific stuff and iOS, though, I'll appreciate having everything spelled out at that level!
I gather from your explanation that appledoc has to be separately installed, but once it is installed it is integrated into Xcode's build process. If that's correct, then my immediate problem is the one I brought here: how to accomplish the appledoc install. I'd like to concentrate on that issue for now, since I can't act on any others until it is resolved.
You originally said, "It's probably [an] install script that's hard wired into specific Xcode path.... not sure about exact implementation, but there are other ways of installing, homebrew for example."
Let's see how we can approach this task. Ideally I'd like to use the method that appledoc's publisher intended -- the installer -- but if that isn't feasible I'm open to any alternative. Can you advise me on that?
I've never heard of "homebrew" (in this context) before. I looked it up, so now I know what it is, but at this stage in my OS X education, installing and using it looks rather daunting. I foresee problems; for example, to support another project my Mac runs a beta version of Ruby rather than the one it came with. I'm game to try it, though, if you think it's the best approach for me and you're game to help.
Skipping ahead a bit, I was confused by your explanation of where to look for the appledoc executable. In summary, you said that after the build I'd find it in ~/Library/Developer/Xcode/DerivedData/Build/Products/{Release|Debug}. But it's a development tool -- not a part of the project -- so I don't understand why it should be there, and if it is, where it comes from. Did I misunderstand something about what "appledoc" is?
On 01 Oct 2014, at 22:45, Jonathan Sachs via appledoc <appledoc+noreply-APn2wQdr3d6zfW6...@googlegroups.com> wrote:I built the project, copied the executable to ~/Applications, and changed its name to "Appledoc."
The next question is how to run it? I've found numerous web pages that purport to explain that, but some are so specific that I can't apply them to my situation, and others are so comprehensive that I can't understand them at my current level of of OS X knowledge.
I gather there are two ways to run it: from the command line, using switches that I can't find explained clearly, and from Xcode, using project management dialogs that presuppose a working knowledge of Xcode.
I think I'll eventually want to use both methods, but right now I'd settle for getting either one to work! Can you give me advice?
-- Jonathan
--docset-package-url is required for
publishing DocSet; placeholder will be used in
'~/Documents/BeaconLibDocs/publish/com.paypal.PayPalBeacon.framework.atom'!
!> Unable to generate atom feed,
because docset does not define a feed URL for itself.
!> Failed to generate atom feed for
package
Generation step 5/5 failed:
GBDocSetPublishGenerator failed generating output, aborting!
docsetutil failed to package the
documentation set!
Unable to generate atom feed, because
docset does not define a feed URL for itself.
Failed to generate atom feed for package
I'm sorry about my long silence. I got some assistance from one of the people whose project I'm supposed to be working on, and while that was happening, all I could have said was "please hold." My helper seems to have gone away again, leaving me in better shape than before but not yet good to go.
My helper reinstalled both Xcode and Appledoc and gave me a script to run Appledoc, generating a set of HTML files for the project. When I run the script I get a bunch of error messages, but no output. The error message are:
1. "pathname:linenumber: warning: somename is not documented!" repeated a couple of dozen times. I assume that these warnings are caused by omissions in the source files; they aren't preventing Appledoc from generating output; and therefore I can ignore them for the present.
2. The following messages:
--docset-package-url is required for publishing DocSet; placeholder will be used in '~/Documents/BeaconLibDocs/publish/com.paypal.PayPalBeacon.framework.atom'!
These messages aren't meaningful to me. Can you help me understand what went wrong
!> Unable to generate atom feed, because docset does not define a feed URL for itself.
!> Failed to generate atom feed for package
Generation step 5/5 failed: GBDocSetPublishGenerator failed generating output, aborting!
docsetutil failed to package the documentation set!
Unable to generate atom feed, because docset does not define a feed URL for itself.
Failed to generate atom feed for package
#!/bin/bash
/usr/local/bin/appledoc \
--project-name
"Obfuscated.framework" \
--project-company "Obfusc"
\
--company-id "com.obfusc" \
--output
"~/Documents/ObfuscatedLibDocs" \
--logformat
xcode \
--keep-intermediate-files \
--no-repeat-first-par \
--no-create-docset
\
--no-warn-invalid-crossref \
--ignore "*.m" \
--index-desc
index.md \
--include . \
../ObfuscatedLib/API
As I understand this, Appledoc should create the HTML files in ~/Documents/ObfuscatedLibDocs. After I ran the script I observed that the ObfuscatedLibDocs folder didn't exist; I created it and ran the script again, but it still didn't create anything there.