not debuggable?
not debuggable?
- Subject: not debuggable?
- From: Torsten Curdt <email@hidden>
- Date: Tue, 10 Jun 2014 11:47:22 +0200
I got this iOS project where I access the calendar - and I am
completely baffled.
[store requestAccessToEntityType:EKEntityTypeEvent
completion:^(BOOL granted, NSError *accessError) {
if (granted) {
NSString *calendarIdentifier = [[NSUserDefaults
standardUserDefaults] valueForKey:kCalendarIdentifier];
EKCalendar *calendar;
NSLog(@"calendarIdentifier: %@", calendarIdentifier);
if (calendarIdentifier) {
calendar = [store calendarWithIdentifier:calendarIdentifier];
}
NSLog(@"calendar: %@", calendar);
When running on the device I only see
calendarIdentifier: ...
The next line never shows!
calendar: ...
I don't see how that is even possible.
So I try the debugger. The debugger should catch all exceptions and I
set a breakpoint to step through. But when I step over
"calendarWithIdentifier:" it just continues(!) the app and also never
reaches the second log line!
Whaaat!?
Anyone a clue what could be going wrong here? ...or what else to try?
cheers,
Torsten
_______________________________________________
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