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.
, , otest. , 139 . !
otest
OCUnit 139, . , , . , , , .
, , , , .1. dealloc/alloc, , / .2. , .. ( , , ? ?)3. , , , , . OCUnit - .4. , OCUnit, .
Source: https://habr.com/ru/post/1731328/More articles:Debugging a .NET dll from a script component (SSIS) - debuggingInstallation and integration of DOJO tools - dojoto connect SQL Server 2005/2008 over the Internet - sql-serverIN SQL statement - sqlHow to echo a session name in a foreach loop in PHP? - phpИмпорт в глобальном и местном масштабе - pythonHow to get started with Zend Framework developemt - phpWCF service returns Dataser very slowly with basicHttpBinding - wcfProblem with "Include File Search Path" in Delphi 2010 - delphiПереключение VS2008 между логикой форматирования - formattingAll Articles