开发者

iphone unit tests setup problem

开发者 https://www.devze.com 2022-12-12 00:44 出处:网络
I\'m going through the tutorial for setting up logic tests - http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_appl

I'm going through the tutorial for setting up logic tests - http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html

When I attempt to build and run开发者_StackOverflow, I get this error : "exited abnormally with code 133 (it may have crashed)."

My unit test is identical to the example -

#import "LogicTests.h"

@implementation LogicTests

- (void) testFail {

  STFail(@"Must fail to succeed.");

}

@end


This post I made explains why it doesn't act like in the tutorial.


Your code is exactly the same as the example given by Apple. I would suggest going through the tutorial again and making sure everything is set correctly. This is not enough information to really give you a solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消