Skip to content

Commit

Permalink
Fix crash on Mavericks caused by using unavailable symbol.
Browse files Browse the repository at this point in the history
Now using the older dispatch priority queue priority constant instead of the QOS constant. Fixes #2
  • Loading branch information
dempseyatgithub committed May 12, 2015
1 parent 907368b commit 017b508
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BuildSettingExtractor/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ - (IBAction)handleDroppedFile:(DragFileView *)sender {
NSURL *destinationURL = openPanel.URL;

// Perform the extraction in the background.
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), ^{
// Using DISPATCH_QUEUE_PRIORITY_HIGH which is available on 10.9
// Move to QOS_CLASS_USER_INITIATED when 10.10 is the deployment target
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
BuildSettingExtractor *buildSettingExtractor = [[BuildSettingExtractor alloc] init];
buildSettingExtractor.includeBuildSettingInfoComments = [[NSUserDefaults standardUserDefaults] boolForKey:TPSIncludeBuildSettingInfoComments];

Expand Down

0 comments on commit 017b508

Please sign in to comment.