diff --git a/Sources/Currency/AnyCurrency+Sequence.swift b/Sources/Currency/AnyCurrency+Sequence.swift new file mode 100644 index 0000000..f32602d --- /dev/null +++ b/Sources/Currency/AnyCurrency+Sequence.swift @@ -0,0 +1,49 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Currency open source project +// +// Copyright (c) 2020 Currency project authors +// Licensed under MIT License +// +// See LICENSE.txt for license information +// See CONTRIBUTORS.txt for the list of Currency project authors +// +// SPDX-License-Identifier: MIT +// +//===----------------------------------------------------------------------===// + +import Foundation + +extension Sequence where Element: AnyCurrency { + /// Returns the sum total of all amounts in the sequence. + /// + /// For example: + /// + /// let amounts: [USD] = [304.98, 19.02] + /// let sumTotal = amounts.sum() + /// print(sumTotal) + /// // prints "324" + /// + /// If the sequence has no elements, you will receive a currency with a value of "0". + /// - Complexity: O(*n*) , where *n* is the length of the sequence. + /// - Returns: A currency value representing the sum total of all the amounts in the sequence. + public func sum() -> Element { + return self.reduce(into: .init(.zero), { $0 += $1 }) + } + + /// Returns the sum total of all amounts in the sequence that satify the given predicate. + /// For example: + /// + /// let amounts: [USD] = [304.98, 19.02, 30.21] + /// let sumTotal = amounts.sum(where: { $0.roundedAmount > 20 }) + /// print(sumTotal) + /// // prints "335.19" + /// + /// - Complexity: O(*n*), where *n* is the length of the sequence. + /// - Parameter predicate: A closure that takes a currency element as its argument + /// and returns a Boolean value that indicates whether the passed element should be included in the sum. + /// - Returns:A currency value representing the sum total of all the amounts in the sequence that satisfies `predicate`. + public func sum(where predicate: (Element) throws -> Bool) rethrows -> Element { + return try self.filter(predicate).sum() + } +} diff --git a/Tests/CurrencyTests/AnyCurrencyTests.swift b/Tests/CurrencyTests/AnyCurrencyTests.swift index 53ea08e..4e7a7a4 100644 --- a/Tests/CurrencyTests/AnyCurrencyTests.swift +++ b/Tests/CurrencyTests/AnyCurrencyTests.swift @@ -159,3 +159,19 @@ final class AnyCurrencyTests: XCTestCase { XCTAssertEqual("\(pounds)", "£398.98") } } + +// MARK: - +// MARK: Sequence + +extension AnyCurrencyTests { + func testSequenceSum() { + let amounts = [USD(30.47), -107.8239, 1_203.9832, -504.3982] + XCTAssertEqual(amounts.sum().roundedAmount, 622.23) + } + + func testSequenceSum_withPredicate() { + let amounts: [USD] = [304.98, 19.02, 30.21] + let sumTotal = amounts.sum(where: { $0.roundedAmount > 20 }) + XCTAssertEqual(sumTotal.roundedAmount, 335.19) + } +} diff --git a/Tests/CurrencyTests/XCTestManifests.swift b/Tests/CurrencyTests/XCTestManifests.swift index 0eb3001..c4b12db 100644 --- a/Tests/CurrencyTests/XCTestManifests.swift +++ b/Tests/CurrencyTests/XCTestManifests.swift @@ -1,25 +1,11 @@ #if !canImport(ObjectiveC) import XCTest -extension CurrencyMintTests { - // DO NOT MODIFY: This is autogenerated, use: - // `swift test --generate-linuxmain` - // to regenerate. - static let __allTests__CurrencyMintTests = [ - ("testLookupByNum_fails", testLookupByNum_fails), - ("testLookupByNum_passes", testLookupByNum_passes), - ("testLookupByNum_withAmount", testLookupByNum_withAmount), - ("testLookupByString_fails", testLookupByString_fails), - ("testLookupByString_passes", testLookupByString_passes), - ("testLookupByString_withAmount", testLookupByString_withAmount), - ] -} - -extension MoneyTests { +extension AnyCurrencyTests { // DO NOT MODIFY: This is autogenerated, use: // `swift test --generate-linuxmain` // to regenerate. - static let __allTests__MoneyTests = [ + static let __allTests__AnyCurrencyTests = [ ("testAddition", testAddition), ("testComparable", testComparable), ("testDescription", testDescription), @@ -29,6 +15,8 @@ extension MoneyTests { ("testInit", testInit), ("testMinorUnits", testMinorUnits), ("testMultiplication", testMultiplication), + ("testSequenceSum", testSequenceSum), + ("testSequenceSum_withPredicate", testSequenceSum_withPredicate), ("testStringInterpolation_customFormatter", testStringInterpolation_customFormatter), ("testStringInterpolation_customLocale", testStringInterpolation_customLocale), ("testStringInterpolation_defaultFormatter", testStringInterpolation_defaultFormatter), @@ -38,10 +26,24 @@ extension MoneyTests { ] } +extension CurrencyMintTests { + // DO NOT MODIFY: This is autogenerated, use: + // `swift test --generate-linuxmain` + // to regenerate. + static let __allTests__CurrencyMintTests = [ + ("testLookupByNum_fails", testLookupByNum_fails), + ("testLookupByNum_passes", testLookupByNum_passes), + ("testLookupByNum_withAmount", testLookupByNum_withAmount), + ("testLookupByString_fails", testLookupByString_fails), + ("testLookupByString_passes", testLookupByString_passes), + ("testLookupByString_withAmount", testLookupByString_withAmount), + ] +} + public func __allTests() -> [XCTestCaseEntry] { return [ + testCase(AnyCurrencyTests.__allTests__AnyCurrencyTests), testCase(CurrencyMintTests.__allTests__CurrencyMintTests), - testCase(MoneyTests.__allTests__MoneyTests), ] } #endif diff --git a/swift-currency.xcodeproj/project.pbxproj b/swift-currency.xcodeproj/project.pbxproj index f139c34..a87fb3e 100644 --- a/swift-currency.xcodeproj/project.pbxproj +++ b/swift-currency.xcodeproj/project.pbxproj @@ -1,641 +1,520 @@ // !$*UTF8*$! { - archiveVersion = "1"; - objectVersion = "46"; - objects = { - "OBJ_1" = { - isa = "PBXProject"; - attributes = { - LastSwiftMigration = "9999"; - LastUpgradeCheck = "9999"; - }; - buildConfigurationList = "OBJ_2"; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = "en"; - hasScannedForEncodings = "0"; - knownRegions = ( - "en" - ); - mainGroup = "OBJ_5"; - productRefGroup = "OBJ_20"; - projectDirPath = "."; - targets = ( - "swift-currency::Currency", - "swift-currency::CurrencyTests", - "swift-currency::SwiftPMPackageDescription", - "swift-currency::swift-currencyPackageTests::ProductTarget" - ); - }; - "OBJ_10" = { - isa = "PBXFileReference"; - path = "CurrencyMint.swift.gyb"; - sourceTree = ""; - }; - "OBJ_11" = { - isa = "PBXFileReference"; - path = "AnyCurrency.swift"; - sourceTree = ""; - }; - "OBJ_12" = { - isa = "PBXFileReference"; - path = "CurrencyMetadata.swift"; - sourceTree = ""; - }; - "OBJ_13" = { - isa = "PBXFileReference"; - path = "CurrencyMint.swift"; - sourceTree = ""; - }; - "OBJ_14" = { - isa = "PBXFileReference"; - path = "ISOCurrencies.swift"; - sourceTree = ""; - }; - "OBJ_15" = { - isa = "PBXGroup"; - children = ( - "OBJ_16" - ); - name = "Tests"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_16" = { - isa = "PBXGroup"; - children = ( - "OBJ_17", - "OBJ_18", - "OBJ_19" - ); - name = "CurrencyTests"; - path = "Tests/CurrencyTests"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_17" = { - isa = "PBXFileReference"; - path = "AnyCurrencyTests.swift"; - sourceTree = ""; - }; - "OBJ_18" = { - isa = "PBXFileReference"; - path = "CurrencyMintTests.swift"; - sourceTree = ""; - }; - "OBJ_19" = { - isa = "PBXFileReference"; - path = "XCTestManifests.swift"; - sourceTree = ""; - }; - "OBJ_2" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_3", - "OBJ_4" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_20" = { - isa = "PBXGroup"; - children = ( - "swift-currency::CurrencyTests::Product", - "swift-currency::Currency::Product" - ); - name = "Products"; - path = ""; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "OBJ_23" = { - isa = "PBXFileReference"; - path = "Resources"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_24" = { - isa = "PBXFileReference"; - path = "Carthage"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_25" = { - isa = "PBXFileReference"; - path = "README.md"; - sourceTree = ""; - }; - "OBJ_27" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_28", - "OBJ_29" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_28" = { - isa = "XCBuildConfiguration"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "swift-currency.xcodeproj/Currency_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "8.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - PRODUCT_BUNDLE_IDENTIFIER = "Currency"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "Currency"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Debug"; - }; - "OBJ_29" = { - isa = "XCBuildConfiguration"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "swift-currency.xcodeproj/Currency_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "8.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - PRODUCT_BUNDLE_IDENTIFIER = "Currency"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "Currency"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Release"; - }; - "OBJ_3" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = "YES"; - COMBINE_HIDPI_IMAGES = "YES"; - COPY_PHASE_STRIP = "NO"; - DEBUG_INFORMATION_FORMAT = "dwarf"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = "YES"; - GCC_OPTIMIZATION_LEVEL = "0"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE=1", - "DEBUG=1" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - ONLY_ACTIVE_ARCH = "YES"; - OTHER_SWIFT_FLAGS = ( - "$(inherited)", - "-DXcode" - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = "macosx"; - SUPPORTED_PLATFORMS = ( - "macosx", - "iphoneos", - "iphonesimulator", - "appletvos", - "appletvsimulator", - "watchos", - "watchsimulator" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE", - "DEBUG" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - USE_HEADERMAP = "NO"; - }; - name = "Debug"; - }; - "OBJ_30" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_31", - "OBJ_32", - "OBJ_33", - "OBJ_34" - ); - }; - "OBJ_31" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_11"; - }; - "OBJ_32" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_12"; - }; - "OBJ_33" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_13"; - }; - "OBJ_34" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_14"; - }; - "OBJ_35" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - ); - }; - "OBJ_37" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_38", - "OBJ_39" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_38" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_MODULES = "YES"; - EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "swift-currency.xcodeproj/CurrencyTests_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "8.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "CurrencyTests"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Debug"; - }; - "OBJ_39" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_MODULES = "YES"; - EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "swift-currency.xcodeproj/CurrencyTests_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "8.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "CurrencyTests"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Release"; - }; - "OBJ_4" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = "YES"; - COMBINE_HIDPI_IMAGES = "YES"; - COPY_PHASE_STRIP = "YES"; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_OPTIMIZATION_LEVEL = "s"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE=1" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_SWIFT_FLAGS = ( - "$(inherited)", - "-DXcode" - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = "macosx"; - SUPPORTED_PLATFORMS = ( - "macosx", - "iphoneos", - "iphonesimulator", - "appletvos", - "appletvsimulator", - "watchos", - "watchsimulator" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - USE_HEADERMAP = "NO"; - }; - name = "Release"; - }; - "OBJ_40" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_41", - "OBJ_42", - "OBJ_43" - ); - }; - "OBJ_41" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_17"; - }; - "OBJ_42" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_18"; - }; - "OBJ_43" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_19"; - }; - "OBJ_44" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - "OBJ_45" - ); - }; - "OBJ_45" = { - isa = "PBXBuildFile"; - fileRef = "swift-currency::Currency::Product"; - }; - "OBJ_46" = { - isa = "PBXTargetDependency"; - target = "swift-currency::Currency"; - }; - "OBJ_48" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_49", - "OBJ_50" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_49" = { - isa = "XCBuildConfiguration"; - buildSettings = { - LD = "/usr/bin/true"; - OTHER_SWIFT_FLAGS = ( - "-swift-version", - "5", - "-I", - "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", - "-target", - "x86_64-apple-macosx10.10", - "-sdk", - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", - "-package-description-version", - "5" - ); - SWIFT_VERSION = "5.0"; - }; - name = "Debug"; - }; - "OBJ_5" = { - isa = "PBXGroup"; - children = ( - "OBJ_6", - "OBJ_7", - "OBJ_15", - "OBJ_20", - "OBJ_23", - "OBJ_24", - "OBJ_25" - ); - path = ""; - sourceTree = ""; - }; - "OBJ_50" = { - isa = "XCBuildConfiguration"; - buildSettings = { - LD = "/usr/bin/true"; - OTHER_SWIFT_FLAGS = ( - "-swift-version", - "5", - "-I", - "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", - "-target", - "x86_64-apple-macosx10.10", - "-sdk", - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", - "-package-description-version", - "5" - ); - SWIFT_VERSION = "5.0"; - }; - name = "Release"; - }; - "OBJ_51" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_52" - ); - }; - "OBJ_52" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_6"; - }; - "OBJ_54" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_55", - "OBJ_56" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_55" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Debug"; - }; - "OBJ_56" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Release"; - }; - "OBJ_57" = { - isa = "PBXTargetDependency"; - target = "swift-currency::CurrencyTests"; - }; - "OBJ_6" = { - isa = "PBXFileReference"; - explicitFileType = "sourcecode.swift"; - path = "Package.swift"; - sourceTree = ""; - }; - "OBJ_7" = { - isa = "PBXGroup"; - children = ( - "OBJ_8" - ); - name = "Sources"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_8" = { - isa = "PBXGroup"; - children = ( - "OBJ_9", - "OBJ_10", - "OBJ_11", - "OBJ_12", - "OBJ_13", - "OBJ_14" - ); - name = "Currency"; - path = "Sources/Currency"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_9" = { - isa = "PBXFileReference"; - path = "ISOCurrencies.swift.gyb"; - sourceTree = ""; - }; - "swift-currency::Currency" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_27"; - buildPhases = ( - "OBJ_30", - "OBJ_35" - ); - dependencies = ( - ); - name = "Currency"; - productName = "Currency"; - productReference = "swift-currency::Currency::Product"; - productType = "com.apple.product-type.framework"; - }; - "swift-currency::Currency::Product" = { - isa = "PBXFileReference"; - path = "Currency.framework"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "swift-currency::CurrencyTests" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_37"; - buildPhases = ( - "OBJ_40", - "OBJ_44" - ); - dependencies = ( - "OBJ_46" - ); - name = "CurrencyTests"; - productName = "CurrencyTests"; - productReference = "swift-currency::CurrencyTests::Product"; - productType = "com.apple.product-type.bundle.unit-test"; - }; - "swift-currency::CurrencyTests::Product" = { - isa = "PBXFileReference"; - path = "CurrencyTests.xctest"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "swift-currency::SwiftPMPackageDescription" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_48"; - buildPhases = ( - "OBJ_51" - ); - dependencies = ( - ); - name = "swift-currencyPackageDescription"; - productName = "swift-currencyPackageDescription"; - productType = "com.apple.product-type.framework"; - }; - "swift-currency::swift-currencyPackageTests::ProductTarget" = { - isa = "PBXAggregateTarget"; - buildConfigurationList = "OBJ_54"; - buildPhases = ( - ); - dependencies = ( - "OBJ_57" - ); - name = "swift-currencyPackageTests"; - productName = "swift-currencyPackageTests"; - }; - }; - rootObject = "OBJ_1"; + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXAggregateTarget section */ + "swift-currency::swift-currencyPackageTests::ProductTarget" /* swift-currencyPackageTests */ = { + isa = PBXAggregateTarget; + buildConfigurationList = OBJ_54 /* Build configuration list for PBXAggregateTarget "swift-currencyPackageTests" */; + buildPhases = ( + ); + dependencies = ( + OBJ_57 /* PBXTargetDependency */, + ); + name = "swift-currencyPackageTests"; + productName = "swift-currencyPackageTests"; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + D838378B23CEBF2D0017B4D2 /* AnyCurrency+Sequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = D838378A23CEBF2D0017B4D2 /* AnyCurrency+Sequence.swift */; }; + OBJ_31 /* AnyCurrency.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* AnyCurrency.swift */; }; + OBJ_32 /* CurrencyMetadata.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* CurrencyMetadata.swift */; }; + OBJ_33 /* CurrencyMint.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_13 /* CurrencyMint.swift */; }; + OBJ_34 /* ISOCurrencies.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_14 /* ISOCurrencies.swift */; }; + OBJ_41 /* AnyCurrencyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_17 /* AnyCurrencyTests.swift */; }; + OBJ_42 /* CurrencyMintTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_18 /* CurrencyMintTests.swift */; }; + OBJ_43 /* XCTestManifests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_19 /* XCTestManifests.swift */; }; + OBJ_45 /* Currency.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "swift-currency::Currency::Product" /* Currency.framework */; }; + OBJ_52 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D838378823CEBF1C0017B4D2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = OBJ_1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = "swift-currency::Currency"; + remoteInfo = Currency; + }; + D838378923CEBF1D0017B4D2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = OBJ_1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = "swift-currency::CurrencyTests"; + remoteInfo = CurrencyTests; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + D838378A23CEBF2D0017B4D2 /* AnyCurrency+Sequence.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "AnyCurrency+Sequence.swift"; sourceTree = ""; }; + OBJ_10 /* CurrencyMint.swift.gyb */ = {isa = PBXFileReference; lastKnownFileType = text; path = CurrencyMint.swift.gyb; sourceTree = ""; }; + OBJ_11 /* AnyCurrency.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyCurrency.swift; sourceTree = ""; }; + OBJ_12 /* CurrencyMetadata.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurrencyMetadata.swift; sourceTree = ""; }; + OBJ_13 /* CurrencyMint.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurrencyMint.swift; sourceTree = ""; }; + OBJ_14 /* ISOCurrencies.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ISOCurrencies.swift; sourceTree = ""; }; + OBJ_17 /* AnyCurrencyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnyCurrencyTests.swift; sourceTree = ""; }; + OBJ_18 /* CurrencyMintTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurrencyMintTests.swift; sourceTree = ""; }; + OBJ_19 /* XCTestManifests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = ""; }; + OBJ_23 /* Resources */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Resources; sourceTree = SOURCE_ROOT; }; + OBJ_24 /* Carthage */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Carthage; sourceTree = SOURCE_ROOT; }; + OBJ_25 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; + OBJ_9 /* ISOCurrencies.swift.gyb */ = {isa = PBXFileReference; lastKnownFileType = text; path = ISOCurrencies.swift.gyb; sourceTree = ""; }; + "swift-currency::Currency::Product" /* Currency.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Currency.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + "swift-currency::CurrencyTests::Product" /* CurrencyTests.xctest */ = {isa = PBXFileReference; lastKnownFileType = file; path = CurrencyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + OBJ_35 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_44 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 0; + files = ( + OBJ_45 /* Currency.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + OBJ_15 /* Tests */ = { + isa = PBXGroup; + children = ( + OBJ_16 /* CurrencyTests */, + ); + name = Tests; + sourceTree = SOURCE_ROOT; + }; + OBJ_16 /* CurrencyTests */ = { + isa = PBXGroup; + children = ( + OBJ_17 /* AnyCurrencyTests.swift */, + OBJ_18 /* CurrencyMintTests.swift */, + OBJ_19 /* XCTestManifests.swift */, + ); + name = CurrencyTests; + path = Tests/CurrencyTests; + sourceTree = SOURCE_ROOT; + }; + OBJ_20 /* Products */ = { + isa = PBXGroup; + children = ( + "swift-currency::CurrencyTests::Product" /* CurrencyTests.xctest */, + "swift-currency::Currency::Product" /* Currency.framework */, + ); + name = Products; + sourceTree = BUILT_PRODUCTS_DIR; + }; + OBJ_5 /* */ = { + isa = PBXGroup; + children = ( + OBJ_6 /* Package.swift */, + OBJ_7 /* Sources */, + OBJ_15 /* Tests */, + OBJ_20 /* Products */, + OBJ_23 /* Resources */, + OBJ_24 /* Carthage */, + OBJ_25 /* README.md */, + ); + name = ""; + sourceTree = ""; + }; + OBJ_7 /* Sources */ = { + isa = PBXGroup; + children = ( + OBJ_8 /* Currency */, + ); + name = Sources; + sourceTree = SOURCE_ROOT; + }; + OBJ_8 /* Currency */ = { + isa = PBXGroup; + children = ( + OBJ_9 /* ISOCurrencies.swift.gyb */, + OBJ_10 /* CurrencyMint.swift.gyb */, + OBJ_11 /* AnyCurrency.swift */, + D838378A23CEBF2D0017B4D2 /* AnyCurrency+Sequence.swift */, + OBJ_12 /* CurrencyMetadata.swift */, + OBJ_13 /* CurrencyMint.swift */, + OBJ_14 /* ISOCurrencies.swift */, + ); + name = Currency; + path = Sources/Currency; + sourceTree = SOURCE_ROOT; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + "swift-currency::Currency" /* Currency */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "Currency" */; + buildPhases = ( + OBJ_30 /* Sources */, + OBJ_35 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Currency; + productName = Currency; + productReference = "swift-currency::Currency::Product" /* Currency.framework */; + productType = "com.apple.product-type.framework"; + }; + "swift-currency::CurrencyTests" /* CurrencyTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_37 /* Build configuration list for PBXNativeTarget "CurrencyTests" */; + buildPhases = ( + OBJ_40 /* Sources */, + OBJ_44 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + OBJ_46 /* PBXTargetDependency */, + ); + name = CurrencyTests; + productName = CurrencyTests; + productReference = "swift-currency::CurrencyTests::Product" /* CurrencyTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + "swift-currency::SwiftPMPackageDescription" /* swift-currencyPackageDescription */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_48 /* Build configuration list for PBXNativeTarget "swift-currencyPackageDescription" */; + buildPhases = ( + OBJ_51 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "swift-currencyPackageDescription"; + productName = "swift-currencyPackageDescription"; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + OBJ_1 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftMigration = 9999; + LastUpgradeCheck = 9999; + }; + buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "swift-currency" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = OBJ_5 /* */; + productRefGroup = OBJ_20 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + "swift-currency::Currency" /* Currency */, + "swift-currency::CurrencyTests" /* CurrencyTests */, + "swift-currency::SwiftPMPackageDescription" /* swift-currencyPackageDescription */, + "swift-currency::swift-currencyPackageTests::ProductTarget" /* swift-currencyPackageTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + OBJ_30 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_31 /* AnyCurrency.swift in Sources */, + OBJ_32 /* CurrencyMetadata.swift in Sources */, + D838378B23CEBF2D0017B4D2 /* AnyCurrency+Sequence.swift in Sources */, + OBJ_33 /* CurrencyMint.swift in Sources */, + OBJ_34 /* ISOCurrencies.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_40 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_41 /* AnyCurrencyTests.swift in Sources */, + OBJ_42 /* CurrencyMintTests.swift in Sources */, + OBJ_43 /* XCTestManifests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_51 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_52 /* Package.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + OBJ_46 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = "swift-currency::Currency" /* Currency */; + targetProxy = D838378823CEBF1C0017B4D2 /* PBXContainerItemProxy */; + }; + OBJ_57 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = "swift-currency::CurrencyTests" /* CurrencyTests */; + targetProxy = D838378923CEBF1D0017B4D2 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + OBJ_28 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = "swift-currency.xcodeproj/Currency_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = Currency; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 5.0; + TARGET_NAME = Currency; + TVOS_DEPLOYMENT_TARGET = 9.0; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + OBJ_29 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = "swift-currency.xcodeproj/Currency_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = Currency; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 5.0; + TARGET_NAME = Currency; + TVOS_DEPLOYMENT_TARGET = 9.0; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; + OBJ_3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = YES; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1", + "DEBUG=1", + ); + MACOSX_DEPLOYMENT_TARGET = 10.10; + ONLY_ACTIVE_ARCH = YES; + OTHER_SWIFT_FLAGS = "$(inherited) -DXcode"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + USE_HEADERMAP = NO; + }; + name = Debug; + }; + OBJ_38 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + EMBEDDED_CONTENT_CONTAINS_SWIFT = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = "swift-currency.xcodeproj/CurrencyTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 5.0; + TARGET_NAME = CurrencyTests; + TVOS_DEPLOYMENT_TARGET = 9.0; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + OBJ_39 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + EMBEDDED_CONTENT_CONTAINS_SWIFT = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = "swift-currency.xcodeproj/CurrencyTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.10; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 5.0; + TARGET_NAME = CurrencyTests; + TVOS_DEPLOYMENT_TARGET = 9.0; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; + OBJ_4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = YES; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1", + ); + MACOSX_DEPLOYMENT_TARGET = 10.10; + OTHER_SWIFT_FLAGS = "$(inherited) -DXcode"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = NO; + }; + name = Release; + }; + OBJ_49 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + LD = /usr/bin/true; + OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -package-description-version 5"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + OBJ_50 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + LD = /usr/bin/true; + OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -package-description-version 5"; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + OBJ_55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + OBJ_56 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + OBJ_2 /* Build configuration list for PBXProject "swift-currency" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_3 /* Debug */, + OBJ_4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_27 /* Build configuration list for PBXNativeTarget "Currency" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_28 /* Debug */, + OBJ_29 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_37 /* Build configuration list for PBXNativeTarget "CurrencyTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_38 /* Debug */, + OBJ_39 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_48 /* Build configuration list for PBXNativeTarget "swift-currencyPackageDescription" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_49 /* Debug */, + OBJ_50 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_54 /* Build configuration list for PBXAggregateTarget "swift-currencyPackageTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_55 /* Debug */, + OBJ_56 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = OBJ_1 /* Project object */; } diff --git a/swift-currency.xcodeproj/xcshareddata/xcschemes/swift-currency-Package.xcscheme b/swift-currency.xcodeproj/xcshareddata/xcschemes/swift-currency-Package.xcscheme index f4f5ac7..4712d7d 100644 --- a/swift-currency.xcodeproj/xcshareddata/xcschemes/swift-currency-Package.xcscheme +++ b/swift-currency.xcodeproj/xcshareddata/xcschemes/swift-currency-Package.xcscheme @@ -1,33 +1,69 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +