Skip to content

Commit 040df83

Browse files
committed
Exclude UbiquitousKeyValueStore from watchOS
1 parent d1208bd commit 040df83

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Prephirences.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@
10291029
INFOPLIST_FILE = Xcodes/Mac/Info.plist;
10301030
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
10311031
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
1032-
MACOSX_DEPLOYMENT_TARGET = 10.11;
1032+
MACOSX_DEPLOYMENT_TARGET = 10.12;
10331033
PRODUCT_BUNDLE_IDENTIFIER = tv.phimage.Prephirences;
10341034
PRODUCT_NAME = Prephirences;
10351035
SKIP_INSTALL = YES;
@@ -1049,7 +1049,7 @@
10491049
INFOPLIST_FILE = Xcodes/Mac/Info.plist;
10501050
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
10511051
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
1052-
MACOSX_DEPLOYMENT_TARGET = 10.11;
1052+
MACOSX_DEPLOYMENT_TARGET = 10.12;
10531053
PRODUCT_BUNDLE_IDENTIFIER = tv.phimage.Prephirences;
10541054
PRODUCT_NAME = Prephirences;
10551055
SKIP_INSTALL = YES;

Sources/NSUbiquitousKeyValueStore+Prephirences.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import Foundation
3030
/** Prephirences Extends NSUbiquitousKeyValueStore
3131

3232
*/
33+
#if !os(watchOS)
3334
extension NSUbiquitousKeyValueStore: MutablePreferencesType {
3435

3536
public func dictionary() -> PreferencesDictionary {
@@ -100,3 +101,4 @@ extension NSUbiquitousKeyValueStore {
100101
}
101102

102103
}
104+
#endif

0 commit comments

Comments
 (0)