My App crash on 10.7.5, but works on 10.8
My App crash on 10.7.5, but works on 10.8
- Subject: My App crash on 10.7.5, but works on 10.8
- From: Peng Gu <email@hidden>
- Date: Fri, 19 Apr 2013 08:21:23 -0400
I have an app, which made it to the App Store just a few days ago. But I
received a few crash reports from some users.
*The information is as following:*
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Application Specific Information:
objc[3449]: garbage collection is OFF
objc[3449]: cannot form weak reference to instance (0x10e761920) of class
LSMainWindowController
*In the LSMainWindowController, I have the following declaration:*
@property(unsafe_unretained, nonatomic) IBOutlet LSTextView *textView;
#if __has_feature(objc_arc_weak)
@property(weak, nonatomic) LSAppDelegate *appDelegate;
#else
@property(unsafe_unretained, nonatomic) LSAppDelegate *appDelegate;
#endif
*In the applicationDidFinishLaunching method in AppDelegate:*
if (!_mainWindowController) {
_mainWindowController = [[LSMainWindowController alloc]
initWithWindowNibName:@"LSMainWindow"];
}
[_mainWindowController showWindow:self];
Any thoughts? Really need to fix this as soon as possible.
-
Peng
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden