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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]