diff --git a/.travis.yml b/.travis.yml index 25d9095..9ba20fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,3 @@ language: swift osx_image: xcode9.3 -script: xcodebuild test -project Defaults.xcodeproj -scheme Defaults-Package -quiet +script: xcodebuild test -project Defaults.xcodeproj -scheme Defaults-macOS -quiet diff --git a/Defaults.xcodeproj/Defaults_Info.plist b/Configs/Defaults.plist similarity index 90% rename from Defaults.xcodeproj/Defaults_Info.plist rename to Configs/Defaults.plist index 58e5662..16fa6b7 100644 --- a/Defaults.xcodeproj/Defaults_Info.plist +++ b/Configs/Defaults.plist @@ -20,6 +20,8 @@ ???? CFBundleVersion $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + MIT License © Sindre Sorhus NSPrincipalClass diff --git a/Configs/DefaultsTests.plist b/Configs/DefaultsTests.plist new file mode 100644 index 0000000..9841296 --- /dev/null +++ b/Configs/DefaultsTests.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 0.0.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Defaults.xcodeproj/DefaultsTests_Info.plist b/Defaults.xcodeproj/DefaultsTests_Info.plist deleted file mode 100644 index 7c23420..0000000 --- a/Defaults.xcodeproj/DefaultsTests_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Defaults.xcodeproj/project.pbxproj b/Defaults.xcodeproj/project.pbxproj index ffb83e2..66ad83f 100644 --- a/Defaults.xcodeproj/project.pbxproj +++ b/Defaults.xcodeproj/project.pbxproj @@ -6,325 +6,547 @@ objectVersion = 50; objects = { -/* Begin PBXAggregateTarget section */ - "Defaults::DefaultsPackageTests::ProductTarget" /* DefaultsPackageTests */ = { - isa = PBXAggregateTarget; - buildConfigurationList = OBJ_30 /* Build configuration list for PBXAggregateTarget "DefaultsPackageTests" */; - buildPhases = ( - ); - dependencies = ( - OBJ_33 /* PBXTargetDependency */, - ); - name = DefaultsPackageTests; - productName = DefaultsPackageTests; - }; -/* End PBXAggregateTarget section */ - /* Begin PBXBuildFile section */ - OBJ_21 /* Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* Defaults.swift */; }; - OBJ_28 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; }; - OBJ_39 /* DefaultsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* DefaultsTests.swift */; }; - OBJ_41 /* Defaults.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "Defaults::Defaults::Product" /* Defaults.framework */; }; + 52D6D9871BEFF229002C0205 /* Defaults.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D97C1BEFF229002C0205 /* Defaults.framework */; }; + 8933C7851EB5B820000D00A4 /* Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Defaults.swift */; }; + 8933C7861EB5B820000D00A4 /* Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Defaults.swift */; }; + 8933C7871EB5B820000D00A4 /* Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Defaults.swift */; }; + 8933C7881EB5B820000D00A4 /* Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Defaults.swift */; }; + 8933C78E1EB5B82C000D00A4 /* DefaultsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* DefaultsTests.swift */; }; + 8933C78F1EB5B82C000D00A4 /* DefaultsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* DefaultsTests.swift */; }; + 8933C7901EB5B82D000D00A4 /* DefaultsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7891EB5B82A000D00A4 /* DefaultsTests.swift */; }; + DD7502881C68FEDE006590AF /* Defaults.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6DA0F1BF000BD002C0205 /* Defaults.framework */; }; + DD7502921C690C7A006590AF /* Defaults.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52D6D9F01BEFFFBE002C0205 /* Defaults.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - E30557F5207E6D3E003401A1 /* PBXContainerItemProxy */ = { + 52D6D9881BEFF229002C0205 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = OBJ_1 /* Project object */; + containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; proxyType = 1; - remoteGlobalIDString = "Defaults::Defaults"; + remoteGlobalIDString = 52D6D97B1BEFF229002C0205; remoteInfo = Defaults; }; - E30557F6207E6D3F003401A1 /* PBXContainerItemProxy */ = { + DD7502801C68FCFC006590AF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = OBJ_1 /* Project object */; + containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; proxyType = 1; - remoteGlobalIDString = "Defaults::DefaultsTests"; - remoteInfo = DefaultsTests; + remoteGlobalIDString = 52D6DA0E1BF000BD002C0205; + remoteInfo = "Defaults-macOS"; + }; + DD7502931C690C7A006590AF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 52D6D9731BEFF229002C0205 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 52D6D9EF1BEFFFBE002C0205; + remoteInfo = "Defaults-tvOS"; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - "Defaults::Defaults::Product" /* Defaults.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Defaults.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - "Defaults::DefaultsTests::Product" /* DefaultsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = DefaultsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - OBJ_12 /* DefaultsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = DefaultsTests.swift; sourceTree = ""; usesTabs = 1; }; - OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; fileEncoding = 4; lineEnding = 0; path = Package.swift; sourceTree = ""; usesTabs = 1; }; - OBJ_9 /* Defaults.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = Defaults.swift; sourceTree = ""; usesTabs = 1; }; + 52D6D97C1BEFF229002C0205 /* Defaults.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Defaults.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 52D6D9861BEFF229002C0205 /* Defaults-iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Defaults-iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 52D6D9E21BEFFF6E002C0205 /* Defaults.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Defaults.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 52D6D9F01BEFFFBE002C0205 /* Defaults.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Defaults.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 52D6DA0F1BF000BD002C0205 /* Defaults.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Defaults.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8933C7841EB5B820000D00A4 /* Defaults.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = Defaults.swift; sourceTree = ""; usesTabs = 1; }; + 8933C7891EB5B82A000D00A4 /* DefaultsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = DefaultsTests.swift; sourceTree = ""; usesTabs = 1; }; + AD2FAA261CD0B6D800659CF4 /* Defaults.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Defaults.plist; sourceTree = ""; }; + AD2FAA281CD0B6E100659CF4 /* DefaultsTests.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = DefaultsTests.plist; sourceTree = ""; }; + DD75027A1C68FCFC006590AF /* Defaults-macOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Defaults-macOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + DD75028D1C690C7A006590AF /* Defaults-tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Defaults-tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - OBJ_22 /* Frameworks */ = { + 52D6D9781BEFF229002C0205 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; - buildActionMask = 0; + buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - OBJ_40 /* Frameworks */ = { + 52D6D9831BEFF229002C0205 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; - buildActionMask = 0; + buildActionMask = 2147483647; files = ( - OBJ_41 /* Defaults.framework in Frameworks */, + 52D6D9871BEFF229002C0205 /* Defaults.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9DE1BEFFF6E002C0205 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9EC1BEFFFBE002C0205 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6DA0B1BF000BD002C0205 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD7502771C68FCFC006590AF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DD7502881C68FEDE006590AF /* Defaults.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD75028A1C690C7A006590AF /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + DD7502921C690C7A006590AF /* Defaults.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - OBJ_10 /* Tests */ = { + 52D6D9721BEFF229002C0205 = { isa = PBXGroup; children = ( - OBJ_11 /* DefaultsTests */, + 8933C7811EB5B7E0000D00A4 /* Sources */, + 8933C7831EB5B7EB000D00A4 /* Tests */, + 52D6D99C1BEFF38C002C0205 /* Configs */, + 52D6D97D1BEFF229002C0205 /* Products */, ); - name = Tests; - sourceTree = SOURCE_ROOT; + sourceTree = ""; + usesTabs = 1; }; - OBJ_11 /* DefaultsTests */ = { + 52D6D97D1BEFF229002C0205 /* Products */ = { isa = PBXGroup; children = ( - OBJ_12 /* DefaultsTests.swift */, - ); - name = DefaultsTests; - path = Tests/DefaultsTests; - sourceTree = SOURCE_ROOT; - }; - OBJ_13 /* Products */ = { - isa = PBXGroup; - children = ( - "Defaults::DefaultsTests::Product" /* DefaultsTests.xctest */, - "Defaults::Defaults::Product" /* Defaults.framework */, + 52D6D97C1BEFF229002C0205 /* Defaults.framework */, + 52D6D9861BEFF229002C0205 /* Defaults-iOS Tests.xctest */, + 52D6D9E21BEFFF6E002C0205 /* Defaults.framework */, + 52D6D9F01BEFFFBE002C0205 /* Defaults.framework */, + 52D6DA0F1BF000BD002C0205 /* Defaults.framework */, + DD75027A1C68FCFC006590AF /* Defaults-macOS Tests.xctest */, + DD75028D1C690C7A006590AF /* Defaults-tvOS Tests.xctest */, ); name = Products; - sourceTree = BUILT_PRODUCTS_DIR; - }; - OBJ_5 /* */ = { - isa = PBXGroup; - children = ( - OBJ_6 /* Package.swift */, - OBJ_7 /* Sources */, - OBJ_10 /* Tests */, - OBJ_13 /* Products */, - ); - name = ""; sourceTree = ""; }; - OBJ_7 /* Sources */ = { + 52D6D99C1BEFF38C002C0205 /* Configs */ = { isa = PBXGroup; children = ( - OBJ_8 /* Defaults */, + DD7502721C68FC1B006590AF /* Frameworks */, + DD7502731C68FC20006590AF /* Tests */, ); - name = Sources; - sourceTree = SOURCE_ROOT; + path = Configs; + sourceTree = ""; }; - OBJ_8 /* Defaults */ = { + 8933C7811EB5B7E0000D00A4 /* Sources */ = { isa = PBXGroup; children = ( - OBJ_9 /* Defaults.swift */, + 8933C7841EB5B820000D00A4 /* Defaults.swift */, ); - name = Defaults; - path = Sources/Defaults; - sourceTree = SOURCE_ROOT; + path = Sources; + sourceTree = ""; + }; + 8933C7831EB5B7EB000D00A4 /* Tests */ = { + isa = PBXGroup; + children = ( + 8933C7891EB5B82A000D00A4 /* DefaultsTests.swift */, + ); + name = Tests; + path = Tests/DefaultsTests; + sourceTree = ""; + }; + DD7502721C68FC1B006590AF /* Frameworks */ = { + isa = PBXGroup; + children = ( + AD2FAA261CD0B6D800659CF4 /* Defaults.plist */, + ); + name = Frameworks; + sourceTree = ""; + }; + DD7502731C68FC20006590AF /* Tests */ = { + isa = PBXGroup; + children = ( + AD2FAA281CD0B6E100659CF4 /* DefaultsTests.plist */, + ); + name = Tests; + sourceTree = ""; }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 52D6D9791BEFF229002C0205 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9DF1BEFFF6E002C0205 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9ED1BEFFFBE002C0205 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6DA0C1BF000BD002C0205 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ - "Defaults::Defaults" /* Defaults */ = { + 52D6D97B1BEFF229002C0205 /* Defaults-iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = OBJ_17 /* Build configuration list for PBXNativeTarget "Defaults" */; + buildConfigurationList = 52D6D9901BEFF229002C0205 /* Build configuration list for PBXNativeTarget "Defaults-iOS" */; buildPhases = ( - OBJ_20 /* Sources */, - OBJ_22 /* Frameworks */, + 52D6D9771BEFF229002C0205 /* Sources */, + 52D6D9781BEFF229002C0205 /* Frameworks */, + 52D6D9791BEFF229002C0205 /* Headers */, + 52D6D97A1BEFF229002C0205 /* Resources */, ); buildRules = ( ); dependencies = ( ); - name = Defaults; + name = "Defaults-iOS"; productName = Defaults; - productReference = "Defaults::Defaults::Product" /* Defaults.framework */; + productReference = 52D6D97C1BEFF229002C0205 /* Defaults.framework */; productType = "com.apple.product-type.framework"; }; - "Defaults::DefaultsTests" /* DefaultsTests */ = { + 52D6D9851BEFF229002C0205 /* Defaults-iOS Tests */ = { isa = PBXNativeTarget; - buildConfigurationList = OBJ_35 /* Build configuration list for PBXNativeTarget "DefaultsTests" */; + buildConfigurationList = 52D6D9931BEFF229002C0205 /* Build configuration list for PBXNativeTarget "Defaults-iOS Tests" */; buildPhases = ( - OBJ_38 /* Sources */, - OBJ_40 /* Frameworks */, + 52D6D9821BEFF229002C0205 /* Sources */, + 52D6D9831BEFF229002C0205 /* Frameworks */, + 52D6D9841BEFF229002C0205 /* Resources */, ); buildRules = ( ); dependencies = ( - OBJ_42 /* PBXTargetDependency */, + 52D6D9891BEFF229002C0205 /* PBXTargetDependency */, ); - name = DefaultsTests; + name = "Defaults-iOS Tests"; productName = DefaultsTests; - productReference = "Defaults::DefaultsTests::Product" /* DefaultsTests.xctest */; + productReference = 52D6D9861BEFF229002C0205 /* Defaults-iOS Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - "Defaults::SwiftPMPackageDescription" /* DefaultsPackageDescription */ = { + 52D6D9E11BEFFF6E002C0205 /* Defaults-watchOS */ = { isa = PBXNativeTarget; - buildConfigurationList = OBJ_24 /* Build configuration list for PBXNativeTarget "DefaultsPackageDescription" */; + buildConfigurationList = 52D6D9E71BEFFF6E002C0205 /* Build configuration list for PBXNativeTarget "Defaults-watchOS" */; buildPhases = ( - OBJ_27 /* Sources */, + 52D6D9DD1BEFFF6E002C0205 /* Sources */, + 52D6D9DE1BEFFF6E002C0205 /* Frameworks */, + 52D6D9DF1BEFFF6E002C0205 /* Headers */, + 52D6D9E01BEFFF6E002C0205 /* Resources */, ); buildRules = ( ); dependencies = ( ); - name = DefaultsPackageDescription; - productName = DefaultsPackageDescription; + name = "Defaults-watchOS"; + productName = "Defaults-watchOS"; + productReference = 52D6D9E21BEFFF6E002C0205 /* Defaults.framework */; productType = "com.apple.product-type.framework"; }; + 52D6D9EF1BEFFFBE002C0205 /* Defaults-tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 52D6DA011BEFFFBE002C0205 /* Build configuration list for PBXNativeTarget "Defaults-tvOS" */; + buildPhases = ( + 52D6D9EB1BEFFFBE002C0205 /* Sources */, + 52D6D9EC1BEFFFBE002C0205 /* Frameworks */, + 52D6D9ED1BEFFFBE002C0205 /* Headers */, + 52D6D9EE1BEFFFBE002C0205 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Defaults-tvOS"; + productName = "Defaults-tvOS"; + productReference = 52D6D9F01BEFFFBE002C0205 /* Defaults.framework */; + productType = "com.apple.product-type.framework"; + }; + 52D6DA0E1BF000BD002C0205 /* Defaults-macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 52D6DA201BF000BD002C0205 /* Build configuration list for PBXNativeTarget "Defaults-macOS" */; + buildPhases = ( + 52D6DA0A1BF000BD002C0205 /* Sources */, + 52D6DA0B1BF000BD002C0205 /* Frameworks */, + 52D6DA0C1BF000BD002C0205 /* Headers */, + 52D6DA0D1BF000BD002C0205 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Defaults-macOS"; + productName = "Defaults-macOS"; + productReference = 52D6DA0F1BF000BD002C0205 /* Defaults.framework */; + productType = "com.apple.product-type.framework"; + }; + DD7502791C68FCFC006590AF /* Defaults-macOS Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DD7502821C68FCFC006590AF /* Build configuration list for PBXNativeTarget "Defaults-macOS Tests" */; + buildPhases = ( + DD7502761C68FCFC006590AF /* Sources */, + DD7502771C68FCFC006590AF /* Frameworks */, + DD7502781C68FCFC006590AF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DD7502811C68FCFC006590AF /* PBXTargetDependency */, + ); + name = "Defaults-macOS Tests"; + productName = "Defaults-OS Tests"; + productReference = DD75027A1C68FCFC006590AF /* Defaults-macOS Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + DD75028C1C690C7A006590AF /* Defaults-tvOS Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DD7502951C690C7A006590AF /* Build configuration list for PBXNativeTarget "Defaults-tvOS Tests" */; + buildPhases = ( + DD7502891C690C7A006590AF /* Sources */, + DD75028A1C690C7A006590AF /* Frameworks */, + DD75028B1C690C7A006590AF /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DD7502941C690C7A006590AF /* PBXTargetDependency */, + ); + name = "Defaults-tvOS Tests"; + productName = "Defaults-tvOS Tests"; + productReference = DD75028D1C690C7A006590AF /* Defaults-tvOS Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - OBJ_1 /* Project object */ = { + 52D6D9731BEFF229002C0205 /* Project object */ = { isa = PBXProject; attributes = { + LastSwiftUpdateCheck = 0720; LastUpgradeCheck = 0930; + ORGANIZATIONNAME = Defaults; + TargetAttributes = { + 52D6D97B1BEFF229002C0205 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0800; + }; + 52D6D9851BEFF229002C0205 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0800; + }; + 52D6D9E11BEFFF6E002C0205 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0800; + }; + 52D6D9EF1BEFFFBE002C0205 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0800; + }; + 52D6DA0E1BF000BD002C0205 = { + CreatedOnToolsVersion = 7.1; + LastSwiftMigration = 0800; + }; + DD7502791C68FCFC006590AF = { + CreatedOnToolsVersion = 7.2.1; + LastSwiftMigration = 0800; + }; + DD75028C1C690C7A006590AF = { + CreatedOnToolsVersion = 7.2.1; + LastSwiftMigration = 0800; + }; + }; }; - buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "Defaults" */; + buildConfigurationList = 52D6D9761BEFF229002C0205 /* Build configuration list for PBXProject "Defaults" */; compatibilityVersion = "Xcode 9.3"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, ); - mainGroup = OBJ_5 /* */; - productRefGroup = OBJ_13 /* Products */; + mainGroup = 52D6D9721BEFF229002C0205; + productRefGroup = 52D6D97D1BEFF229002C0205 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - "Defaults::Defaults" /* Defaults */, - "Defaults::SwiftPMPackageDescription" /* DefaultsPackageDescription */, - "Defaults::DefaultsPackageTests::ProductTarget" /* DefaultsPackageTests */, - "Defaults::DefaultsTests" /* DefaultsTests */, + 52D6D97B1BEFF229002C0205 /* Defaults-iOS */, + 52D6DA0E1BF000BD002C0205 /* Defaults-macOS */, + 52D6D9E11BEFFF6E002C0205 /* Defaults-watchOS */, + 52D6D9EF1BEFFFBE002C0205 /* Defaults-tvOS */, + 52D6D9851BEFF229002C0205 /* Defaults-iOS Tests */, + DD7502791C68FCFC006590AF /* Defaults-macOS Tests */, + DD75028C1C690C7A006590AF /* Defaults-tvOS Tests */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 52D6D97A1BEFF229002C0205 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9841BEFF229002C0205 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9E01BEFFF6E002C0205 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9EE1BEFFFBE002C0205 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6DA0D1BF000BD002C0205 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD7502781C68FCFC006590AF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD75028B1C690C7A006590AF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ - OBJ_20 /* Sources */ = { + 52D6D9771BEFF229002C0205 /* Sources */ = { isa = PBXSourcesBuildPhase; - buildActionMask = 0; + buildActionMask = 2147483647; files = ( - OBJ_21 /* Defaults.swift in Sources */, + 8933C7851EB5B820000D00A4 /* Defaults.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - OBJ_27 /* Sources */ = { + 52D6D9821BEFF229002C0205 /* Sources */ = { isa = PBXSourcesBuildPhase; - buildActionMask = 0; + buildActionMask = 2147483647; files = ( - OBJ_28 /* Package.swift in Sources */, + 8933C7901EB5B82D000D00A4 /* DefaultsTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - OBJ_38 /* Sources */ = { + 52D6D9DD1BEFFF6E002C0205 /* Sources */ = { isa = PBXSourcesBuildPhase; - buildActionMask = 0; + buildActionMask = 2147483647; files = ( - OBJ_39 /* DefaultsTests.swift in Sources */, + 8933C7871EB5B820000D00A4 /* Defaults.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6D9EB1BEFFFBE002C0205 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8933C7881EB5B820000D00A4 /* Defaults.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D6DA0A1BF000BD002C0205 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8933C7861EB5B820000D00A4 /* Defaults.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD7502761C68FCFC006590AF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8933C78F1EB5B82C000D00A4 /* DefaultsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DD7502891C690C7A006590AF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8933C78E1EB5B82C000D00A4 /* DefaultsTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - OBJ_33 /* PBXTargetDependency */ = { + 52D6D9891BEFF229002C0205 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "Defaults::DefaultsTests" /* DefaultsTests */; - targetProxy = E30557F6207E6D3F003401A1 /* PBXContainerItemProxy */; + target = 52D6D97B1BEFF229002C0205 /* Defaults-iOS */; + targetProxy = 52D6D9881BEFF229002C0205 /* PBXContainerItemProxy */; }; - OBJ_42 /* PBXTargetDependency */ = { + DD7502811C68FCFC006590AF /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "Defaults::Defaults" /* Defaults */; - targetProxy = E30557F5207E6D3E003401A1 /* PBXContainerItemProxy */; + target = 52D6DA0E1BF000BD002C0205 /* Defaults-macOS */; + targetProxy = DD7502801C68FCFC006590AF /* PBXContainerItemProxy */; + }; + DD7502941C690C7A006590AF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 52D6D9EF1BEFFFBE002C0205 /* Defaults-tvOS */; + targetProxy = DD7502931C690C7A006590AF /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - OBJ_18 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - ); - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = Defaults.xcodeproj/Defaults_Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited)"; - OTHER_SWIFT_FLAGS = "$(inherited)"; - PRODUCT_BUNDLE_IDENTIFIER = Defaults; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = macosx; - SWIFT_VERSION = 4.0; - TARGET_NAME = Defaults; - }; - name = Debug; - }; - OBJ_19 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ENABLE_TESTABILITY = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - ); - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = Defaults.xcodeproj/Defaults_Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited)"; - OTHER_SWIFT_FLAGS = "$(inherited)"; - PRODUCT_BUNDLE_IDENTIFIER = Defaults; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = macosx; - SWIFT_VERSION = 4.0; - TARGET_NAME = Defaults; - }; - name = Release; - }; - OBJ_25 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - LD = /usr/bin/true; - OTHER_SWIFT_FLAGS = "-swift-version 4 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk"; - SWIFT_VERSION = 4.0; - }; - name = Debug; - }; - OBJ_26 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - LD = /usr/bin/true; - OTHER_SWIFT_FLAGS = "-swift-version 4 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk"; - SWIFT_VERSION = 4.0; - }; - name = Release; - }; - OBJ_3 /* Debug */ = { + 52D6D98E1BEFF229002C0205 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; @@ -332,111 +554,60 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COMBINE_HIDPI_IMAGES = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = YES; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MACOSX_DEPLOYMENT_TARGET = 10.12; + MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - OTHER_SWIFT_FLAGS = "-DXcode"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE; + SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = singlefile; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - USE_HEADERMAP = NO; - VALID_ARCHS = x86_64; - }; - name = Debug; - }; - OBJ_31 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - SUPPORTED_PLATFORMS = macosx; - }; - name = Debug; - }; - OBJ_32 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - SUPPORTED_PLATFORMS = macosx; - }; - name = Release; - }; - OBJ_36 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - ); - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = Defaults.xcodeproj/DefaultsTests_Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited)"; - OTHER_SWIFT_FLAGS = "$(inherited)"; - SUPPORTED_PLATFORMS = macosx; SWIFT_VERSION = 4.0; - TARGET_NAME = DefaultsTests; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Debug; }; - OBJ_37 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks", - ); - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = Defaults.xcodeproj/DefaultsTests_Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks", - ); - OTHER_CFLAGS = "$(inherited)"; - OTHER_LDFLAGS = "$(inherited)"; - OTHER_SWIFT_FLAGS = "$(inherited)"; - SUPPORTED_PLATFORMS = macosx; - SWIFT_VERSION = 4.0; - TARGET_NAME = DefaultsTests; - }; - name = Release; - }; - OBJ_4 /* Release */ = { + 52D6D98F1BEFF229002C0205 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; @@ -444,86 +615,451 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = s; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; MACOSX_DEPLOYMENT_TARGET = 10.12; - OTHER_SWIFT_FLAGS = "-DXcode"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx; - SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = SWIFT_PACKAGE; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 52D6D9911BEFF229002C0205 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_MODULES = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + ONLY_ACTIVE_ARCH = NO; + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS"; + PRODUCT_NAME = Defaults; + SKIP_INSTALL = YES; + SWIFT_COMPILATION_MODE = singlefile; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 52D6D9921BEFF229002C0205 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_MODULES = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS"; + PRODUCT_NAME = Defaults; + SKIP_INSTALL = YES; SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; - USE_HEADERMAP = NO; - VALID_ARCHS = x86_64; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + 52D6D9941BEFF229002C0205 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_COMPILATION_MODE = singlefile; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 52D6D9951BEFF229002C0205 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-iOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + 52D6D9E81BEFFF6E002C0205 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS"; + PRODUCT_NAME = Defaults; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 3.0; + }; + name = Debug; + }; + 52D6D9E91BEFFF6E002C0205 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-watchOS"; + PRODUCT_NAME = Defaults; + SDKROOT = watchos; + SKIP_INSTALL = YES; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 3.0; + }; + name = Release; + }; + 52D6DA021BEFFFBE002C0205 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS"; + PRODUCT_NAME = Defaults; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 10.0; + }; + name = Debug; + }; + 52D6DA031BEFFFBE002C0205 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS"; + PRODUCT_NAME = Defaults; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 10.0; + }; + name = Release; + }; + 52D6DA211BF000BD002C0205 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.12; + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; + PRODUCT_NAME = Defaults; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + 52D6DA221BF000BD002C0205 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = Configs/Defaults.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.12; + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS"; + PRODUCT_NAME = Defaults; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + DD7502831C68FCFC006590AF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.12; + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + DD7502841C68FCFC006590AF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.12; + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-macOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + DD7502961C690C7A006590AF /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_VERSION = 4.0; + TVOS_DEPLOYMENT_TARGET = 10.0; + }; + name = Debug; + }; + DD7502971C690C7A006590AF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = Configs/DefaultsTests.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.Defaults.Defaults-tvOS-Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = appletvos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 4.0; + TVOS_DEPLOYMENT_TARGET = 10.0; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - OBJ_17 /* Build configuration list for PBXNativeTarget "Defaults" */ = { + 52D6D9761BEFF229002C0205 /* Build configuration list for PBXProject "Defaults" */ = { isa = XCConfigurationList; buildConfigurations = ( - OBJ_18 /* Debug */, - OBJ_19 /* Release */, + 52D6D98E1BEFF229002C0205 /* Debug */, + 52D6D98F1BEFF229002C0205 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - OBJ_2 /* Build configuration list for PBXProject "Defaults" */ = { + 52D6D9901BEFF229002C0205 /* Build configuration list for PBXNativeTarget "Defaults-iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - OBJ_3 /* Debug */, - OBJ_4 /* Release */, + 52D6D9911BEFF229002C0205 /* Debug */, + 52D6D9921BEFF229002C0205 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - OBJ_24 /* Build configuration list for PBXNativeTarget "DefaultsPackageDescription" */ = { + 52D6D9931BEFF229002C0205 /* Build configuration list for PBXNativeTarget "Defaults-iOS Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( - OBJ_25 /* Debug */, - OBJ_26 /* Release */, + 52D6D9941BEFF229002C0205 /* Debug */, + 52D6D9951BEFF229002C0205 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - OBJ_30 /* Build configuration list for PBXAggregateTarget "DefaultsPackageTests" */ = { + 52D6D9E71BEFFF6E002C0205 /* Build configuration list for PBXNativeTarget "Defaults-watchOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - OBJ_31 /* Debug */, - OBJ_32 /* Release */, + 52D6D9E81BEFFF6E002C0205 /* Debug */, + 52D6D9E91BEFFF6E002C0205 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - OBJ_35 /* Build configuration list for PBXNativeTarget "DefaultsTests" */ = { + 52D6DA011BEFFFBE002C0205 /* Build configuration list for PBXNativeTarget "Defaults-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - OBJ_36 /* Debug */, - OBJ_37 /* Release */, + 52D6DA021BEFFFBE002C0205 /* Debug */, + 52D6DA031BEFFFBE002C0205 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 52D6DA201BF000BD002C0205 /* Build configuration list for PBXNativeTarget "Defaults-macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 52D6DA211BF000BD002C0205 /* Debug */, + 52D6DA221BF000BD002C0205 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD7502821C68FCFC006590AF /* Build configuration list for PBXNativeTarget "Defaults-macOS Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7502831C68FCFC006590AF /* Debug */, + DD7502841C68FCFC006590AF /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD7502951C690C7A006590AF /* Build configuration list for PBXNativeTarget "Defaults-tvOS Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7502961C690C7A006590AF /* Debug */, + DD7502971C690C7A006590AF /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = OBJ_1 /* Project object */; + rootObject = 52D6D9731BEFF229002C0205 /* Project object */; } diff --git a/Defaults.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Defaults.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Defaults.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Defaults.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Defaults.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Defaults.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-iOS.xcscheme b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-iOS.xcscheme new file mode 100644 index 0000000..a428b18 --- /dev/null +++ b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-iOS.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-macOS.xcscheme b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-macOS.xcscheme new file mode 100644 index 0000000..be54dfd --- /dev/null +++ b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-macOS.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-tvOS.xcscheme b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-tvOS.xcscheme new file mode 100644 index 0000000..ca690f7 --- /dev/null +++ b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-tvOS.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-Package.xcscheme b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-watchOS.xcscheme similarity index 78% rename from Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-Package.xcscheme rename to Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-watchOS.xcscheme index e6223e5..10ad550 100644 --- a/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-Package.xcscheme +++ b/Defaults.xcodeproj/xcshareddata/xcschemes/Defaults-watchOS.xcscheme @@ -14,9 +14,9 @@ buildForAnalyzing = "YES"> @@ -26,18 +26,9 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + codeCoverageEnabled = "YES" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - @@ -55,9 +46,9 @@ @@ -70,6 +61,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> + + + + diff --git a/Defaults.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist b/Defaults.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist deleted file mode 100644 index db69093..0000000 --- a/Defaults.xcodeproj/xcshareddata/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,12 +0,0 @@ - - - - SchemeUserState - - Defaults-Package.xcscheme - - - SuppressBuildableAutocreation - - - diff --git a/Sources/Defaults/Defaults.swift b/Sources/Defaults.swift similarity index 100% rename from Sources/Defaults/Defaults.swift rename to Sources/Defaults.swift diff --git a/Tests/DefaultsTests/DefaultsTests.swift b/Tests/DefaultsTests/DefaultsTests.swift index 3517811..5356a99 100644 --- a/Tests/DefaultsTests/DefaultsTests.swift +++ b/Tests/DefaultsTests/DefaultsTests.swift @@ -1,7 +1,8 @@ +import Foundation import XCTest import Defaults -let fixtureUrl = URL(string: "httos://sindresorhus.com")! +let fixtureUrl = URL(string: "https://sindresorhus.com")! enum FixtureEnum: String, Codable { case tenMinutes = "10 Minutes" diff --git a/readme.md b/readme.md index 7d83b9d..ea52424 100644 --- a/readme.md +++ b/readme.md @@ -11,11 +11,12 @@ - **Lightweight:** It's only ~100 lines of code. -## Requirements +## Compatibility - macOS 10.12+ -- Xcode 9.3+ -- Swift 4.1+ +- iOS 10+ +- tvOS 10+ +- watchOS 3+ ## Install