Tag: 分析器

在成功工作之后,在发生SimplePost请求的无法识别的select器上崩溃。

我一直在使用SimplePost类几个星期,并没有任何问题。 现在我在一个请求返回Connection中正确的数据之后崩溃了。 我没有(明知)触摸SimplePost类文件。 但是当我运行分析器时,它现在(从未做过)指出以下方法: + (NSMutableURLRequest *) urlencodedRequestWithURL:(NSURL *)url andDataDictionary:(NSDictionary *) dictionary { // Create POST request NSMutableURLRequest *urlencodedPostRequest = [NSMutableURLRequest requestWithURL:url]; [urlencodedPostRequest setHTTPMethod:@"POST"]; // Add HTTP header info [urlencodedPostRequest addValue:@"application/x-www-form-urlencoded" forHTTPHeaderField: @"Content-Type"]; // Add POST body NSMutableData *POSTBody = [NSMutableData data]; // Add k/v to the body NSArray *keyArray = [dictionary allKeys]; for( int […]

iOS objc_msg发送崩溃,没有给出报告或警告

我正在testing我的应用程序,推动它很难,我得到它崩溃(黑屏,图像不保存,回落到跳板)。 但是,我没有得到控制台中logging的崩溃报告。 当我使用探查器testing时,我得到的是一个消息,说目标已经死亡,但没有提供线索。 在组织者,我得到了设备崩溃日志,这给我这个,我相信告诉我,我发送的消息,我已经发布(objc-msgSend + 22)? 我在这里的正确轨道? — Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x576e6f69 Crashed Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x34f8ef7e objc_msgSend + 22 1 CoreFoundation 0x371d7e90 CFRetain + 76 2 CoreFoundation 0x371e1b74 +[__NSArrayI __new::] + 48 3 CoreFoundation 0x371e1a8e -[__NSPlaceholderArray initWithObjects:count:] + 294 […]