Problem running on OSX 10.8.2 #260

jalakoo opened this Issue Oct 17, 2012 · 2 comments

2 participants


UPDATE: This error reported in terminal does not prevent AppleDocs from running.

Following error reported after trying to run the build command line tool from terminal:
ERROR: NSRangeException: *\ -[__NSArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]

Process leading up to error:
1. Opened appleDoc.xcodeproj'
2. XCode warning: GBCommentsProcessor.m: Line 626: [NSPointerArray weakObjectsPointerArray] deprecated in OSX10.8
3. Fixed 2. by replacing with [NSPointerArray weakObjectsPointerArray], appears to work fine.
4. Build
5. Moved appleDocs executable to /usr/bin/ OR /applications
6. Run appleDocs

Uncertain if related, but whenever I attempt to open the AppledocSettings.plist file, XCode reports "The data couldn’t be read because it has been corrupted."

@jalakoo jalakoo closed this Oct 18, 2012

With error you could increase verbosity level to get more info at which part it's failing. Or even better, run it from within Xcode and use debugger.

Regardung plist - it's failing because it was overwriten in a recent contribution, just realized it now, thanks for pointing it out.

@tomaz tomaz added a commit that referenced this issue Oct 19, 2012
@tomaz Fixed appledoc settings plist; was accidentally modified in a recent …
…commit. Addresses #260.

Xcode wasn't able to detect the error. I'm thinking because a method somewhere wants to pull something from an array during runtime. Regardless, AppleDocs soldiers on and so far runs great (except for the minor issue with Quick Helps not displaying quite correctly, already being tackled in issue #235).

Thanks for updating the settings.plist file!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment