This commit is contained in:
Sindre Sorhus 2020-04-18 15:43:14 +08:00
parent 12a65c057d
commit 11c4b968ef
3 changed files with 18 additions and 18 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'Defaults' s.name = 'Defaults'
s.version = '3.1.1' s.version = '4.0.0'
s.summary = 'Swifty and modern UserDefaults' s.summary = 'Swifty and modern UserDefaults'
s.license = 'MIT' s.license = 'MIT'
s.homepage = 'https://github.com/sindresorhus/Defaults' s.homepage = 'https://github.com/sindresorhus/Defaults'

View File

@ -734,7 +734,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -747,7 +747,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
ONLY_ACTIVE_ARCH = NO; ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
@ -765,7 +765,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -778,7 +778,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SKIP_INSTALL = YES; SKIP_INSTALL = YES;
@ -834,7 +834,7 @@
buildSettings = { buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -846,7 +846,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = watchos; SDKROOT = watchos;
@ -861,7 +861,7 @@
buildSettings = { buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -873,7 +873,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = watchos; SDKROOT = watchos;
@ -890,7 +890,7 @@
buildSettings = { buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -902,7 +902,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = appletvos; SDKROOT = appletvos;
@ -917,7 +917,7 @@
buildSettings = { buildSettings = {
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -929,7 +929,7 @@
"@executable_path/Frameworks", "@executable_path/Frameworks",
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MARKETING_VERSION = 3.0.0; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = appletvos; SDKROOT = appletvos;
@ -947,7 +947,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 4; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -961,7 +961,7 @@
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 10.12; MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 3.1.1; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = macosx; SDKROOT = macosx;
@ -975,7 +975,7 @@
APPLICATION_EXTENSION_API_ONLY = YES; APPLICATION_EXTENSION_API_ONLY = YES;
CODE_SIGN_IDENTITY = "-"; CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 4; CURRENT_PROJECT_VERSION = 5;
DEFINES_MODULE = YES; DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1; DYLIB_CURRENT_VERSION = 1;
@ -989,7 +989,7 @@
"@loader_path/Frameworks", "@loader_path/Frameworks",
); );
MACOSX_DEPLOYMENT_TARGET = 10.12; MACOSX_DEPLOYMENT_TARGET = 10.12;
MARKETING_VERSION = 3.1.1; MARKETING_VERSION = 4.0.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS";
PRODUCT_NAME = Defaults; PRODUCT_NAME = Defaults;
SDKROOT = macosx; SDKROOT = macosx;

View File

@ -30,7 +30,7 @@ It's used in production by apps like [Gifski](https://github.com/sindresorhus/Gi
#### Swift Package Manager #### Swift Package Manager
```swift ```swift
.package(url: "https://github.com/sindresorhus/Defaults", from: "3.1.1") .package(url: "https://github.com/sindresorhus/Defaults", from: "4.0.0")
``` ```
You need to set the build setting “Other Linker Flags” to `-weak_framework Combine` to work around [this Xcode bug](https://github.com/feedback-assistant/reports/issues/44). You need to set the build setting “Other Linker Flags” to `-weak_framework Combine` to work around [this Xcode bug](https://github.com/feedback-assistant/reports/issues/44).