tomaz / appledoc

Objective-c code Apple style documentation set generator.
http://gentlebytes.com
4.2k stars 644 forks source link

Assertion failure in +[GBMethodData methodDataWithType:result:arguments:] #604

Open nareshkommana opened 7 years ago

nareshkommana commented 7 years ago

Build Documentation_2017-01-19T17-34-59.pdf

nareshkommana commented 7 years ago

`2017-01-19 17:34:59.517 appledoc[22220:818586] *** Assertion failure in +[GBMethodData methodDataWithType:result:arguments:], /Users/nareshbabukommana/appledoc/Model/GBMethodData.m:44 appledoc version: 2.2.1 (build 1334)

Oops, something went wrong... NSInternalInconsistencyException: Invalid parameter not satisfying: [arguments count] >= 1 @ 0 CoreFoundation 0x00007fff97a7f452 __exceptionPreprocess + 178 @ 1 libobjc.A.dylib 0x00007fff9b2d5f7e objc_exception_throw + 48 @ 2 CoreFoundation 0x00007fff97a8412a +[NSException raise:format:arguments:] + 106 @ 3 Foundation 0x00007fff86392856 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198 @ 4 appledoc 0x000000010d46f043 appledoc + 143427 @ 5 appledoc 0x000000010d463669 appledoc + 95849 @ 6 appledoc 0x000000010d468b50 appledoc + 117584 @ 7 appledoc 0x000000010d463076 appledoc + 94326 @ 8 appledoc 0x000000010d460148 appledoc + 82248 @ 9 appledoc 0x000000010d46005c appledoc + 82012 @ 10 appledoc 0x000000010d468b50 appledoc + 117584 @ 11 appledoc 0x000000010d46894d appledoc + 117069 @ 12 appledoc 0x000000010d45ffdc appledoc + 81884 @ 13 appledoc 0x000000010d45fbc1 appledoc + 80833 @ 14 appledoc 0x000000010d462c22 appledoc + 93218 @ 15 appledoc 0x000000010d460334 appledoc + 82740 @ 16 appledoc 0x000000010d45d5ec appledoc + 71148 @ 17 appledoc 0x000000010d45b15d appledoc + 61789 @ 18 appledoc 0x000000010d45c861 appledoc + 67681 @ 19 appledoc 0x000000010d45c41e appledoc + 66590 @ 20 appledoc 0x000000010d45c696 appledoc + 67222 @ 21 appledoc 0x000000010d45c696 appledoc + 67222 @ 22 appledoc 0x000000010d45c696 appledoc + 67222 @ 23 appledoc 0x000000010d45c696 appledoc + 67222 @ 24 appledoc 0x000000010d45c0cb appledoc + 65739 @ 25 appledoc 0x000000010d45ae0f appledoc + 60943 @ 26 appledoc 0x000000010d44f83f appledoc + 14399 @ 27 appledoc 0x000000010d44e05b appledoc + 8283 @ 28 appledoc 0x000000010d44e1af appledoc + 8623 @ 29 appledoc 0x000000010d44e33b appledoc + 9019 @ 30 appledoc 0x000000010d44d640 appledoc + 5696 @ 31 ??? 0x000000000000001c 0x0 + 28 Command /bin/sh failed with exit code 250 `

fangtingchao commented 7 years ago

一样的问题,怎么解决。。

tedz commented 7 years ago

same here. how to solve this problem?

tomaz commented 7 years ago

The ultimate way would be to launch appledoc from source code in Xcode and have it go over the same input ;) This will not only diagnose the problem but also allow you to submit a pull request with a fix...

But otherwise --verbose 4 (or higher) is your friend - it'll point you to exact method it attempts to parse when it crashes