Browse Source

Enable hardened runtime.

pull/92/head 20.10.04
Abhishek 4 years ago
parent
commit
aa382e016d
  1. 2
      Clocker/Clocker.xcodeproj/project.pbxproj
  2. 2
      Clocker/Onboarding/OnboardingSearchController.swift

2
Clocker/Clocker.xcodeproj/project.pbxproj

@ -1470,6 +1470,7 @@
CURRENT_PROJECT_VERSION = 88;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
@ -2073,6 +2074,7 @@
CURRENT_PROJECT_VERSION = 88;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",

2
Clocker/Onboarding/OnboardingSearchController.swift

@ -20,7 +20,7 @@ class OnboardingSearchController: NSViewController {
guard let path = Bundle.main.path(forResource: "Keys", ofType: "plist"),
let dictionary = NSDictionary(contentsOfFile: path),
let apiKey = dictionary["GeocodingKey"] as? String else {
// assertionFailure("Unable to find the API key")
assertionFailure("Unable to find the API key")
return ""
}
return apiKey

Loading…
Cancel
Save