ERROR: NSRangeException: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0] #291

Closed
adamdahan opened this Issue Dec 20, 2012 · 3 comments

Projects

None yet

2 participants

@adamdahan

Everytime I try to run the simplest of appledoc scripts I get this error:

ERROR: NSRangeException: *** -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]

Here is the test run script I am using:

/usr/local/bin/appledoc
--project-name "Wattpad"
--project-company "Wattpad"
--company-id "com.fivemobile.wattpad"
--output "~/desktop/docsets/"
--logformat xcode
.

Why is this happening?

@tomaz
Owner
tomaz commented Dec 20, 2012

I think this happens if you pass no argument (see #263). Although in your case you do pass "current folder" as argument so weird. Perhaps the issue is not that you don't pass any argument, but instead there is no source file at the given input?

I merged a pull request with a solution to this issue though... Weird it emerged again. I already had a regression recently, so I guess I merged a pull request that was based on older code. Will have to be more careful in the future.

@adamdahan

Thanks Tomaz I got it working like a charm :)

@tomaz
Owner
tomaz commented Dec 21, 2012

Glad to hear that!

@tomaz tomaz closed this Dec 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment