tomaz/appledoc — Issue #165: NSInternalInconsistencyException on Building
Author: tspycher
Created: 2012-01-04 05:41:04+00:00
State: open

Seems to be related to #103

I'm not able to build documentation for a small iOS Application. Running the command:

```
appledoc \
--project-name AppName \
--project-company "DotNine & Zero-One" \
--company-id zero-one.AppName \
--output ./doc \
-t ~/.appledoc/Templates/ \
../AppName/
```
Results in:
```
appledoc version: 2.0.5 (build 752)

2012-01-04 06:24:48.931 appledoc[15351:d07] *** Assertion failure in -[GBMethodArgument initWithName:types:var:variableArg:terminationMacros:], /Users/tspycher/.appledoc/Model/GBMethodArgument.m:29
Oops, something went wrong...
NSInternalInconsistencyException: Invalid parameter not satisfying: ([types count] == 0 && var == nil) || ([types count] > 0 && var != nil)
@ 0 CoreFoundation 0x00007fff8b750286 __exceptionPreprocess + 198
@ 1 libobjc.A.dylib 0x00007fff904a6d5e objc_exception_throw + 43
@ 2 CoreFoundation 0x00007fff8b7500ba +[NSException raise:format:arguments:] + 106
@ 3 Foundation 0x00007fff8af257d3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
@ 4 appledoc 0x0000000108a367b9 appledoc + 96185
@ 5 appledoc 0x0000000108a365ec appledoc + 95724
@ 6 appledoc 0x0000000108a2d547 appledoc + 58695
@ 7 appledoc 0x0000000108a2fba0 appledoc + 68512
@ 8 appledoc 0x0000000108a2cc88 appledoc + 56456
@ 9 appledoc 0x0000000108a2fba0 appledoc + 68512
@ 10 appledoc 0x0000000108a2c8e5 appledoc + 55525
@ 11 appledoc 0x0000000108a2b2db appledoc + 49883
@ 12 appledoc 0x0000000108a2b1aa appledoc + 49578
@ 13 appledoc 0x0000000108a2fba0 appledoc + 68512
@ 14 appledoc 0x0000000108a2b115 appledoc + 49429
@ 15 appledoc 0x0000000108a2a952 appledoc + 47442
@ 16 appledoc 0x0000000108a2c546 appledoc + 54598
@ 17 appledoc 0x0000000108a2c37c appledoc + 54140
@ 18 appledoc 0x0000000108a2a31e appledoc + 45854
@ 19 appledoc 0x0000000108a28982 appledoc + 39298
@ 20 appledoc 0x0000000108a29785 appledoc + 42885
@ 21 appledoc 0x0000000108a298d0 appledoc + 43216
@ 22 appledoc 0x0000000108a298d0 appledoc + 43216
@ 23 appledoc 0x0000000108a298d0 appledoc + 43216
@ 24 appledoc 0x0000000108a298d0 appledoc + 43216
@ 25 appledoc 0x0000000108a28711 appledoc + 38673
@ 26 appledoc 0x0000000108a21d40 appledoc + 11584
@ 27 appledoc 0x0000000108a209fa appledoc + 6650
@ 28 appledoc 0x0000000108a20b54 appledoc + 6996
@ 29 appledoc 0x0000000108a20044 appledoc + 4164
@ 30 ??? 0x000000000000000c 0x0 + 12
```

I've checked the code, and it looks oukay... Need help. Thanks