EXC_BAD_ACCESS when running on iOS 5.0 simulator (but not on iOS 6 device/simulator)
iwasrobbed opened this issue · comments
rob phillips commented
I am receiving a crash immediately upon app launch when running the latest version of Appirater on the iOS 5.0 simulator.
The debugger is pointing to the dispatch_async
line of code on line 345 of Appirator.m. Any ideas why this would happen?
+ (void)appLaunched:(BOOL)canPromptForRating {
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0),
^{
[[Appirater sharedInstance] incrementAndRate:canPromptForRating];
});
}
The settings I am using:
[Appirater setAppId:@"1234567890"];
[Appirater setDaysUntilPrompt:1];
[Appirater setUsesUntilPrompt:10];
[Appirater setSignificantEventsUntilPrompt:-1];
[Appirater setTimeBeforeReminding:5];
[Appirater setDebug:NO];
[Appirater appLaunched:YES];
rob phillips commented
My mistake, didn't configure the build target to the correct deployment OS.