Are you using Xcode 5? appledoc would need to be updated in order to work with new docset structure - see this issue on GitHub.
#appledoc Xcode script
# Start constants
company="ACME";
companyID="com.ACME";
companyURL="http://ACME.com";
target="iphoneos";
#target="macosx";
outputPath="~/help";
# End constants
/usr/local/bin/appledoc \
--project-name "${PROJECT_NAME}" \
--project-company "${company}" \
--company-id "${companyID}" \
--docset-atom-filename "${company}.atom" \
--docset-feed-url "${companyURL}/${company}/%DOCSETATOMFILENAME" \
--docset-package-url "${companyURL}/${company}/%DOCSETPACKAGEFILENAME" \
--docset-fallback-url "${companyURL}/${company}" \
--output "${outputPath}" \
--publish-docset \
--docset-platform-family "${target}" \
--logformat xcode \
--keep-intermediate-files \
--no-repeat-first-par \
--no-warn-invalid-crossref \
--exit-threshold 2 \
"${PROJECT_DIR}"
Source: https://github.com/tomaz/appledoc/blob/master/XcodeIntegrationScript.markdown
Are you using Xcode 5? appledoc would need to be updated in order to work with new docset structure - see this issue on GitHub.
Xcode 5 doesn't use tokens.xml files anymore, that's why docsets are not browsable. But you should be able to search them, and quick help should also work.
On 20 Dec 2013, at 12:54, appledoc+noreply-APn2wQfdys2DyKI...@googlegroups.com wrote:
Yes, I am using Xcode 5, and from the link it seems that issue hasn't been
fixed yet.But strange thing, if using following script, it works fine, though i still
dont see any sub folders in docset, but its generating index files and
token.xml files.
appledoc Xcode script
Start constants
company="ACME";
companyID="com.ACME";
companyURL="http://ACME.com";
target="iphoneos";
target="macosx";
outputPath="~/help";
End constants
/usr/local/bin/appledoc \
--project-name "${PROJECTNAME}" \
--project-company "${company}" \
--company-id "${companyID}" \
--docset-atom-filename "${company}.atom" \
--docset-feed-url "${companyURL}/${company}/%DOCSETATOMFILENAME" \
--docset-package-url "${companyURL}/${company}/%DOCSETPACKAGEFILENAME" \
--docset-fallback-url "${companyURL}/${company}" \
--output "${outputPath}" \
--publish-docset \
--docset-platform-family "${target}" \
--logformat xcode \
--keep-intermediate-files \
--no-repeat-first-par \
--no-warn-invalid-crossref \
--exit-threshold 2 \
"${PROJECTDIR}"
Source: https://github.com/tomaz/appledoc/blob/master/XcodeIntegrationScript.markdown
On Friday, December 20, 2013 4:34:11 PM UTC+5, Tom wrote:
Are you using Xcode 5? appledoc would need to be updated in order to work
with new docset structure - see this issuehttps://github.com/tomaz/appledoc/issues/409on GitHub.
On 20 Dec 2013, at 12:09,
Hi All,
I am having the problem that generated docsets does not contain any
index.html file so, tapping the docset from list gives error:"The requested file cannot be found:
/Users/..../Library/Developer/Shared/Documentation/DocSets/com.company.myapp.docset/Contents/Resources/Documents/index.html".What am I missing here, any ideas ?
--
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/groups/opt_out.