IPhone OCUnit, anonymously came out with code 139, what is it?

iPhone sdk 3.1.2, xcode 3.1.4, mac os x 10.5.8,

I'm a newbie using OCUnit, comes with iphone sdk. The only error I get:

Error: test installation '/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/Developer/usr/bin/otest' existed abnormally with code 139 (this may have broken).

Does anyone know what it is? Thank.

EDIT: I found a reason. I put very stupid code in the -dealloc class for which I wrote unit tests. Like this:

- (void)dealloc {
    [someObject1 dealloc]; //wtf, dealloc?
    [someObject2 dealloc]; //wtf, dealloc?
    [super dealloc];
}

And sometimes it calls code 139, sometimes 138.

+3
source share
2 answers

, , otest. , 139 . !

+3

OCUnit 139, . , , . , , , .

, , , , .

1. dealloc/alloc, , / .
2. , .. ( , , ? ?)
3. , , , , . OCUnit - .

4. , OCUnit, .

+1

Source: https://habr.com/ru/post/1731328/


All Articles