├── preview.png ├── RadonChrome.xcodeproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── project.pbxproj ├── RadonChrome ├── RadonChrome.h ├── NSWindowController+Fix.h ├── RONotificationSingleton.h ├── RadonChrome.m ├── Info.plist ├── RONotificationSingleton.m └── NSWindowController+Fix.m ├── .gitignore ├── LICENSE └── README.md /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mathcolo/RadonChrome/HEAD/preview.png -------------------------------------------------------------------------------- /RadonChrome.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /RadonChrome/RadonChrome.h: -------------------------------------------------------------------------------- 1 | // 2 | // RadonChrome.h 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/24/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RadonChrome : NSObject 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /RadonChrome/NSWindowController+Fix.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSWindowController+Fix.h 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/24/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "RONotificationSingleton.h" 11 | 12 | @interface NSWindowController (Fix) 13 | 14 | -(void)FIXshowWindow:(id)sender; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | # Pods/ 27 | -------------------------------------------------------------------------------- /RadonChrome/RONotificationSingleton.h: -------------------------------------------------------------------------------- 1 | // 2 | // RONotificationSingleton.h 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/27/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface RONotificationSingleton : NSObject { 12 | NSMutableDictionary *notifications; 13 | 14 | } 15 | 16 | 17 | @property (nonatomic, retain) NSMutableDictionary *notifications; 18 | 19 | + (RONotificationSingleton *)sharedInstance; 20 | -(void)addController:(id)controller forNotification:(NSString *)uuid; 21 | 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Preston Mueller 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /RadonChrome/RadonChrome.m: -------------------------------------------------------------------------------- 1 | // 2 | // RadonChrome.m 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/24/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "RadonChrome.h" 11 | #import "NSWindowController+Fix.h" 12 | 13 | @implementation RadonChrome 14 | 15 | + (void)load { 16 | 17 | static dispatch_once_t onceToken; 18 | dispatch_once(&onceToken, ^{ 19 | 20 | SEL oldSelector = @selector(showWindow:); 21 | SEL newSelector = @selector(FIXshowWindow:); 22 | Class class = NSClassFromString(@"NSWindowController"); 23 | 24 | Method oldMethod = class_getInstanceMethod(class, oldSelector); 25 | Method newMethod = class_getInstanceMethod(class, newSelector); 26 | 27 | if(class_addMethod(class, oldSelector, method_getImplementation(newMethod), method_getTypeEncoding(newMethod))) 28 | { 29 | class_replaceMethod(class, newSelector, method_getImplementation(oldMethod), method_getTypeEncoding(oldMethod)); 30 | } 31 | else 32 | { 33 | method_exchangeImplementations(oldMethod, newMethod); 34 | } 35 | 36 | 37 | }); 38 | } 39 | 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /RadonChrome/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | NSHumanReadableCopyright 24 | Copyright © 2015 Preston Mueller. All rights reserved. 25 | NSPrincipalClass 26 | RadonChrome 27 | SIMBLTargetApplications 28 | 29 | 30 | BundleIdentifier 31 | com.google.Chrome 32 | 33 | 34 | BundleIdentifier 35 | com.google.Chrome.canary 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RadonChrome 2 | RadonChrome is a SIMBL extension for Mac OS X to redirect Chrome notifications to Notification Center. I cannot guarantee it will work for you, but I'm currently using it with Yosemite and 64-bit Chrome 40. 3 | 4 | ![preview](preview.png) 5 | 6 | ### Notice (July 14, 2016) 7 | In Chrome 51 (potentially earlier), native notifications are available as a flag in chrome://flags on OS X. This extension's days are over :) 8 | 9 | ### Notice (December 15, 2015) 10 | In OS X El Capitan, disabling System Integrity Protection is required to install SIMBL. I'm hesitant to continue updating RadonChrome when SIP mods are required. I'm investigating other ways to accomplish RadonChrome's task without playing with SIP, including maintaining a Chromium fork with direct to system notifications built-in. If this is something you're interested in helping with, please let me know! 11 | 12 | ### Usage 13 | SIMBL extensions naturally require a SIMBL install on your system for use. I personally recommend [EasySIMBL](https://github.com/norio-nomura/EasySIMBL) for OS X Yosemite and below. On OS X El Capitan, SIMBL must be installed with SIP turned off, as explained [here](https://github.com/norio-nomura/EasySIMBL/issues/26#issuecomment-117028426). 14 | 15 | Given SIMBL is installed either: 16 | 17 | 1. Clone the repository 18 | 2. Compile the .xcodeproj 19 | 3. Restart Chrome, and give notifications a shot! (I used [this page](http://jsbin.com/ziwod/1/edit?html,js,output) to test notifications while building the extension.) 20 | 21 | or 22 | 23 | 1. Download the binary [HERE](https://github.com/mathcolo/RadonChrome/releases/latest). 24 | 2. Unzip the download 25 | 3. Copy the bundle file to /Library/Application Support/SIMBL/Plugins 26 | 4. Restart Chrome, and give notifications a shot! 27 | 28 | ### License 29 | MIT. See the included LICENSE file in the repository for more information. 30 | -------------------------------------------------------------------------------- /RadonChrome/RONotificationSingleton.m: -------------------------------------------------------------------------------- 1 | // 2 | // RONotificationSingleton.m 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/27/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import "RONotificationSingleton.h" 10 | 11 | @implementation RONotificationSingleton 12 | 13 | @synthesize notifications; 14 | 15 | + (RONotificationSingleton *)sharedInstance { 16 | static dispatch_once_t once; 17 | static RONotificationSingleton *instance; 18 | dispatch_once(&once, ^{ 19 | instance = [[RONotificationSingleton alloc] init]; 20 | }); 21 | return instance; 22 | } 23 | 24 | -(id)init { 25 | if ( self = [super init] ) { 26 | notifications = [NSMutableDictionary dictionary]; 27 | } 28 | return self; 29 | } 30 | 31 | -(void)addController:(id)controller forNotification:(NSString *)uuid { 32 | [notifications setObject:controller forKey:uuid]; 33 | } 34 | 35 | -(BOOL)userNotificationCenter:(NSUserNotificationCenter *)center shouldPresentNotification:(NSUserNotification *)notification { 36 | return YES; 37 | } 38 | 39 | - (void)userNotificationCenter:(NSUserNotificationCenter *)center didActivateNotification:(NSUserNotification *)notification { 40 | 41 | id controller = nil; 42 | 43 | for(NSString *key in [notifications allKeys]) { 44 | if([key isEqualToString:[notification.userInfo objectForKey:@"uuid"]]) { 45 | controller = [notifications objectForKey:key]; 46 | } 47 | } 48 | if(controller != nil) 49 | [controller performSelector:@selector(notificationClicked) withObject:nil]; 50 | 51 | if(notification) { 52 | [center removeDeliveredNotification:notification]; 53 | } 54 | } 55 | 56 | - (void)userNotificationCenter:(NSUserNotificationCenter *)center didDeliverNotification:(NSUserNotification *)notification 57 | { 58 | //Do nothing 59 | } 60 | 61 | @end -------------------------------------------------------------------------------- /RadonChrome/NSWindowController+Fix.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSWindowController+Fix.m 3 | // RadonChrome 4 | // 5 | // Created by Preston Mueller on 1/24/15. 6 | // Copyright (c) 2015 Preston Mueller. All rights reserved. 7 | // 8 | 9 | #import "NSWindowController+Fix.h" 10 | 11 | @implementation NSWindowController (Fix) 12 | 13 | -(void)FIXshowWindow:(id)sender { 14 | 15 | if(![NSStringFromClass([self class]) isEqualToString:@"MCPopupController"])return [self FIXshowWindow:sender]; 16 | 17 | NSString *title = nil; 18 | NSString *text = nil; 19 | NSImage *img = nil; 20 | 21 | NSArray *subviews = [[[self window] contentView] subviews]; 22 | for(NSView *view in subviews) { 23 | if([NSStringFromClass([view class]) isEqualToString:@"NSView"]) { 24 | NSArray *popupSubviews = [view subviews]; 25 | for(NSView *popupSubview in popupSubviews) { 26 | if([NSStringFromClass([popupSubview class]) isEqualToString:@"NSTextView"]) { 27 | if(title == nil)title = [(NSTextView *)popupSubview string]; 28 | else if(text == nil)text = [(NSTextView *)popupSubview string]; 29 | } else if([NSStringFromClass([popupSubview class]) isEqualToString:@"AccessibilityIgnoredBox"]) { 30 | if([[popupSubview subviews] count] > 0) { 31 | NSView * imageView = [popupSubview subviews][0]; 32 | if([NSStringFromClass([imageView class]) isEqualToString:@"NSImageView"]) { 33 | if(img == nil) { 34 | img = [(NSImageView*)imageView image]; 35 | } 36 | } 37 | } 38 | } 39 | } 40 | } 41 | } 42 | 43 | id notificationController = [self performSelector:@selector(notificationController) withObject:nil]; 44 | RONotificationSingleton *singleton = [RONotificationSingleton sharedInstance]; 45 | 46 | NSString *thisUUID = [NSUUID UUID].UUIDString; 47 | [singleton addController:notificationController forNotification:thisUUID]; 48 | 49 | NSUserNotification *notification = [[NSUserNotification alloc] init]; 50 | notification.title = title; 51 | notification.informativeText = text; 52 | notification.soundName = NSUserNotificationDefaultSoundName; 53 | notification.userInfo = @{@"uuid" : thisUUID}; 54 | if(img != nil) { 55 | [notification setValue:img forKey:@"_identityImage"]; 56 | [notification setValue:@(NO) forKey:@"_identityImageHasBorder"]; 57 | } 58 | 59 | 60 | [[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:singleton]; 61 | [[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification]; 62 | } 63 | 64 | @end -------------------------------------------------------------------------------- /RadonChrome.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 652126801A74282B00A608D6 /* RadonChrome.m in Sources */ = {isa = PBXBuildFile; fileRef = 6521267F1A74282B00A608D6 /* RadonChrome.m */; }; 11 | 652126871A74310400A608D6 /* NSWindowController+Fix.m in Sources */ = {isa = PBXBuildFile; fileRef = 652126861A74310400A608D6 /* NSWindowController+Fix.m */; }; 12 | 65CE21CC1A7841F90092FA08 /* RONotificationSingleton.m in Sources */ = {isa = PBXBuildFile; fileRef = 65CE21CB1A7841F90092FA08 /* RONotificationSingleton.m */; }; 13 | /* End PBXBuildFile section */ 14 | 15 | /* Begin PBXFileReference section */ 16 | 652126741A7426E100A608D6 /* RadonChrome.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RadonChrome.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 17 | 652126781A7426E100A608D6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 18 | 6521267E1A74282B00A608D6 /* RadonChrome.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RadonChrome.h; sourceTree = ""; }; 19 | 6521267F1A74282B00A608D6 /* RadonChrome.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RadonChrome.m; sourceTree = ""; }; 20 | 652126851A74310400A608D6 /* NSWindowController+Fix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSWindowController+Fix.h"; sourceTree = ""; }; 21 | 652126861A74310400A608D6 /* NSWindowController+Fix.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSWindowController+Fix.m"; sourceTree = ""; }; 22 | 65CE21CA1A7841F90092FA08 /* RONotificationSingleton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RONotificationSingleton.h; sourceTree = ""; }; 23 | 65CE21CB1A7841F90092FA08 /* RONotificationSingleton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RONotificationSingleton.m; sourceTree = ""; }; 24 | /* End PBXFileReference section */ 25 | 26 | /* Begin PBXFrameworksBuildPhase section */ 27 | 652126711A7426E100A608D6 /* Frameworks */ = { 28 | isa = PBXFrameworksBuildPhase; 29 | buildActionMask = 2147483647; 30 | files = ( 31 | ); 32 | runOnlyForDeploymentPostprocessing = 0; 33 | }; 34 | /* End PBXFrameworksBuildPhase section */ 35 | 36 | /* Begin PBXGroup section */ 37 | 6521266B1A7426E100A608D6 = { 38 | isa = PBXGroup; 39 | children = ( 40 | 652126761A7426E100A608D6 /* RadonChrome */, 41 | 652126751A7426E100A608D6 /* Products */, 42 | ); 43 | sourceTree = ""; 44 | }; 45 | 652126751A7426E100A608D6 /* Products */ = { 46 | isa = PBXGroup; 47 | children = ( 48 | 652126741A7426E100A608D6 /* RadonChrome.bundle */, 49 | ); 50 | name = Products; 51 | sourceTree = ""; 52 | }; 53 | 652126761A7426E100A608D6 /* RadonChrome */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 65CE21CA1A7841F90092FA08 /* RONotificationSingleton.h */, 57 | 65CE21CB1A7841F90092FA08 /* RONotificationSingleton.m */, 58 | 6521267E1A74282B00A608D6 /* RadonChrome.h */, 59 | 6521267F1A74282B00A608D6 /* RadonChrome.m */, 60 | 652126771A7426E100A608D6 /* Supporting Files */, 61 | 652126851A74310400A608D6 /* NSWindowController+Fix.h */, 62 | 652126861A74310400A608D6 /* NSWindowController+Fix.m */, 63 | ); 64 | path = RadonChrome; 65 | sourceTree = ""; 66 | }; 67 | 652126771A7426E100A608D6 /* Supporting Files */ = { 68 | isa = PBXGroup; 69 | children = ( 70 | 652126781A7426E100A608D6 /* Info.plist */, 71 | ); 72 | name = "Supporting Files"; 73 | sourceTree = ""; 74 | }; 75 | /* End PBXGroup section */ 76 | 77 | /* Begin PBXNativeTarget section */ 78 | 652126731A7426E100A608D6 /* RadonChrome */ = { 79 | isa = PBXNativeTarget; 80 | buildConfigurationList = 6521267B1A7426E100A608D6 /* Build configuration list for PBXNativeTarget "RadonChrome" */; 81 | buildPhases = ( 82 | 652126701A7426E100A608D6 /* Sources */, 83 | 652126711A7426E100A608D6 /* Frameworks */, 84 | 652126721A7426E100A608D6 /* Resources */, 85 | FBF10C0E1BAA0FB100ED1C50 /* ShellScript */, 86 | ); 87 | buildRules = ( 88 | ); 89 | dependencies = ( 90 | ); 91 | name = RadonChrome; 92 | productName = ChromeNotificationFixer; 93 | productReference = 652126741A7426E100A608D6 /* RadonChrome.bundle */; 94 | productType = "com.apple.product-type.bundle"; 95 | }; 96 | /* End PBXNativeTarget section */ 97 | 98 | /* Begin PBXProject section */ 99 | 6521266C1A7426E100A608D6 /* Project object */ = { 100 | isa = PBXProject; 101 | attributes = { 102 | LastUpgradeCheck = 0710; 103 | ORGANIZATIONNAME = "Preston Mueller"; 104 | TargetAttributes = { 105 | 652126731A7426E100A608D6 = { 106 | CreatedOnToolsVersion = 6.1; 107 | }; 108 | }; 109 | }; 110 | buildConfigurationList = 6521266F1A7426E100A608D6 /* Build configuration list for PBXProject "RadonChrome" */; 111 | compatibilityVersion = "Xcode 3.2"; 112 | developmentRegion = English; 113 | hasScannedForEncodings = 0; 114 | knownRegions = ( 115 | en, 116 | ); 117 | mainGroup = 6521266B1A7426E100A608D6; 118 | productRefGroup = 652126751A7426E100A608D6 /* Products */; 119 | projectDirPath = ""; 120 | projectRoot = ""; 121 | targets = ( 122 | 652126731A7426E100A608D6 /* RadonChrome */, 123 | ); 124 | }; 125 | /* End PBXProject section */ 126 | 127 | /* Begin PBXResourcesBuildPhase section */ 128 | 652126721A7426E100A608D6 /* Resources */ = { 129 | isa = PBXResourcesBuildPhase; 130 | buildActionMask = 2147483647; 131 | files = ( 132 | ); 133 | runOnlyForDeploymentPostprocessing = 0; 134 | }; 135 | /* End PBXResourcesBuildPhase section */ 136 | 137 | /* Begin PBXShellScriptBuildPhase section */ 138 | FBF10C0E1BAA0FB100ED1C50 /* ShellScript */ = { 139 | isa = PBXShellScriptBuildPhase; 140 | buildActionMask = 2147483647; 141 | files = ( 142 | ); 143 | inputPaths = ( 144 | ); 145 | outputPaths = ( 146 | ); 147 | runOnlyForDeploymentPostprocessing = 0; 148 | shellPath = /bin/sh; 149 | shellScript = "cp -Rf \"${BUILT_PRODUCTS_DIR}/${EXECUTABLE_NAME}.bundle\" /Library/Application\\ Support/SIMBL/Plugins"; 150 | }; 151 | /* End PBXShellScriptBuildPhase section */ 152 | 153 | /* Begin PBXSourcesBuildPhase section */ 154 | 652126701A7426E100A608D6 /* Sources */ = { 155 | isa = PBXSourcesBuildPhase; 156 | buildActionMask = 2147483647; 157 | files = ( 158 | 652126871A74310400A608D6 /* NSWindowController+Fix.m in Sources */, 159 | 652126801A74282B00A608D6 /* RadonChrome.m in Sources */, 160 | 65CE21CC1A7841F90092FA08 /* RONotificationSingleton.m in Sources */, 161 | ); 162 | runOnlyForDeploymentPostprocessing = 0; 163 | }; 164 | /* End PBXSourcesBuildPhase section */ 165 | 166 | /* Begin XCBuildConfiguration section */ 167 | 652126791A7426E100A608D6 /* Debug */ = { 168 | isa = XCBuildConfiguration; 169 | buildSettings = { 170 | ALWAYS_SEARCH_USER_PATHS = NO; 171 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 172 | CLANG_CXX_LIBRARY = "libc++"; 173 | CLANG_ENABLE_MODULES = YES; 174 | CLANG_ENABLE_OBJC_ARC = YES; 175 | CLANG_WARN_BOOL_CONVERSION = YES; 176 | CLANG_WARN_CONSTANT_CONVERSION = YES; 177 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 178 | CLANG_WARN_EMPTY_BODY = YES; 179 | CLANG_WARN_ENUM_CONVERSION = YES; 180 | CLANG_WARN_INT_CONVERSION = YES; 181 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 182 | CLANG_WARN_UNREACHABLE_CODE = YES; 183 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 184 | COPY_PHASE_STRIP = NO; 185 | ENABLE_STRICT_OBJC_MSGSEND = YES; 186 | ENABLE_TESTABILITY = YES; 187 | GCC_C_LANGUAGE_STANDARD = gnu99; 188 | GCC_DYNAMIC_NO_PIC = NO; 189 | GCC_OPTIMIZATION_LEVEL = 0; 190 | GCC_PREPROCESSOR_DEFINITIONS = ( 191 | "DEBUG=1", 192 | "$(inherited)", 193 | ); 194 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 195 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 196 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 197 | GCC_WARN_UNDECLARED_SELECTOR = YES; 198 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 199 | GCC_WARN_UNUSED_FUNCTION = YES; 200 | GCC_WARN_UNUSED_VARIABLE = YES; 201 | MACOSX_DEPLOYMENT_TARGET = 10.9; 202 | MTL_ENABLE_DEBUG_INFO = YES; 203 | ONLY_ACTIVE_ARCH = YES; 204 | SDKROOT = macosx; 205 | }; 206 | name = Debug; 207 | }; 208 | 6521267A1A7426E100A608D6 /* Release */ = { 209 | isa = XCBuildConfiguration; 210 | buildSettings = { 211 | ALWAYS_SEARCH_USER_PATHS = NO; 212 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 213 | CLANG_CXX_LIBRARY = "libc++"; 214 | CLANG_ENABLE_MODULES = YES; 215 | CLANG_ENABLE_OBJC_ARC = YES; 216 | CLANG_WARN_BOOL_CONVERSION = YES; 217 | CLANG_WARN_CONSTANT_CONVERSION = YES; 218 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 219 | CLANG_WARN_EMPTY_BODY = YES; 220 | CLANG_WARN_ENUM_CONVERSION = YES; 221 | CLANG_WARN_INT_CONVERSION = YES; 222 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 223 | CLANG_WARN_UNREACHABLE_CODE = YES; 224 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 225 | COPY_PHASE_STRIP = YES; 226 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 227 | ENABLE_NS_ASSERTIONS = NO; 228 | ENABLE_STRICT_OBJC_MSGSEND = YES; 229 | GCC_C_LANGUAGE_STANDARD = gnu99; 230 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 231 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 232 | GCC_WARN_UNDECLARED_SELECTOR = YES; 233 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 234 | GCC_WARN_UNUSED_FUNCTION = YES; 235 | GCC_WARN_UNUSED_VARIABLE = YES; 236 | MACOSX_DEPLOYMENT_TARGET = 10.9; 237 | MTL_ENABLE_DEBUG_INFO = NO; 238 | SDKROOT = macosx; 239 | }; 240 | name = Release; 241 | }; 242 | 6521267C1A7426E100A608D6 /* Debug */ = { 243 | isa = XCBuildConfiguration; 244 | buildSettings = { 245 | COMBINE_HIDPI_IMAGES = YES; 246 | INFOPLIST_FILE = RadonChrome/Info.plist; 247 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; 248 | PRODUCT_BUNDLE_IDENTIFIER = "com.prestonmueller.$(PRODUCT_NAME:rfc1034identifier)"; 249 | PRODUCT_NAME = RadonChrome; 250 | SKIP_INSTALL = YES; 251 | WRAPPER_EXTENSION = bundle; 252 | }; 253 | name = Debug; 254 | }; 255 | 6521267D1A7426E100A608D6 /* Release */ = { 256 | isa = XCBuildConfiguration; 257 | buildSettings = { 258 | COMBINE_HIDPI_IMAGES = YES; 259 | INFOPLIST_FILE = RadonChrome/Info.plist; 260 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; 261 | PRODUCT_BUNDLE_IDENTIFIER = "com.prestonmueller.$(PRODUCT_NAME:rfc1034identifier)"; 262 | PRODUCT_NAME = RadonChrome; 263 | SKIP_INSTALL = YES; 264 | WRAPPER_EXTENSION = bundle; 265 | }; 266 | name = Release; 267 | }; 268 | /* End XCBuildConfiguration section */ 269 | 270 | /* Begin XCConfigurationList section */ 271 | 6521266F1A7426E100A608D6 /* Build configuration list for PBXProject "RadonChrome" */ = { 272 | isa = XCConfigurationList; 273 | buildConfigurations = ( 274 | 652126791A7426E100A608D6 /* Debug */, 275 | 6521267A1A7426E100A608D6 /* Release */, 276 | ); 277 | defaultConfigurationIsVisible = 0; 278 | defaultConfigurationName = Release; 279 | }; 280 | 6521267B1A7426E100A608D6 /* Build configuration list for PBXNativeTarget "RadonChrome" */ = { 281 | isa = XCConfigurationList; 282 | buildConfigurations = ( 283 | 6521267C1A7426E100A608D6 /* Debug */, 284 | 6521267D1A7426E100A608D6 /* Release */, 285 | ); 286 | defaultConfigurationIsVisible = 0; 287 | defaultConfigurationName = Release; 288 | }; 289 | /* End XCConfigurationList section */ 290 | }; 291 | rootObject = 6521266C1A7426E100A608D6 /* Project object */; 292 | } 293 | --------------------------------------------------------------------------------