From f916e5a058eece72d3feba591d8a9620f63b71b7 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Mon, 5 Nov 2018 12:53:54 +0100 Subject: [PATCH 1/7] Share scheme for carthage support --- .build/regenerate-token | 1 + .gitignore | 27 +- .../SafeCollectionTests_Info.plist | 25 + .../SafeCollection_Info.plist | 25 + SafeCollection.xcodeproj/project.pbxproj | 532 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/WorkspaceSettings.xcsettings | 8 + .../xcschemes/SafeCollection-Package.xcscheme | 81 +++ 9 files changed, 704 insertions(+), 10 deletions(-) create mode 100644 .build/regenerate-token create mode 100644 SafeCollection.xcodeproj/SafeCollectionTests_Info.plist create mode 100644 SafeCollection.xcodeproj/SafeCollection_Info.plist create mode 100644 SafeCollection.xcodeproj/project.pbxproj create mode 100644 SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme diff --git a/.build/regenerate-token b/.build/regenerate-token new file mode 100644 index 0000000..573541a --- /dev/null +++ b/.build/regenerate-token @@ -0,0 +1 @@ +0 diff --git a/.gitignore b/.gitignore index 1e3b984..1c1ce44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,18 @@ -.DS_Store -sourcekitten-output.json -docs/ -/.build -/Packages -/*.xcodeproj -**/xcuserdata -**/xcshareddata +## Build generated +build/ +DerivedData/ + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ + +# Dependencies Pods/ -Carthage/ -Examples/**/Podfile.lock +Carthage/ \ No newline at end of file diff --git a/SafeCollection.xcodeproj/SafeCollectionTests_Info.plist b/SafeCollection.xcodeproj/SafeCollectionTests_Info.plist new file mode 100644 index 0000000..7c23420 --- /dev/null +++ b/SafeCollection.xcodeproj/SafeCollectionTests_Info.plist @@ -0,0 +1,25 @@ + + + + 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/SafeCollection.xcodeproj/SafeCollection_Info.plist b/SafeCollection.xcodeproj/SafeCollection_Info.plist new file mode 100644 index 0000000..57ada9f --- /dev/null +++ b/SafeCollection.xcodeproj/SafeCollection_Info.plist @@ -0,0 +1,25 @@ + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj new file mode 100644 index 0000000..10da8ab --- /dev/null +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -0,0 +1,532 @@ +// !$*UTF8*$! +{ + archiveVersion = "1"; + objectVersion = "46"; + objects = { + "OBJ_1" = { + isa = "PBXProject"; + attributes = { + LastUpgradeCheck = "9999"; + }; + buildConfigurationList = "OBJ_2"; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = "English"; + hasScannedForEncodings = "0"; + knownRegions = ( + "en" + ); + mainGroup = "OBJ_5"; + productRefGroup = "OBJ_14"; + projectDirPath = "."; + targets = ( + "SafeCollection::SafeCollection", + "SafeCollection::SwiftPMPackageDescription", + "SafeCollection::SafeCollectionPackageTests::ProductTarget", + "SafeCollection::SafeCollectionTests" + ); + }; + "OBJ_10" = { + isa = "PBXGroup"; + children = ( + "OBJ_11" + ); + name = "Tests"; + path = ""; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_11" = { + isa = "PBXGroup"; + children = ( + "OBJ_12" + ); + name = "SafeCollectionTests"; + path = "Tests/SafeCollectionTests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_12" = { + isa = "PBXFileReference"; + path = "SafeCollectionTests.swift"; + sourceTree = ""; + }; + "OBJ_13" = { + isa = "PBXFileReference"; + path = "SafeCollection"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_14" = { + isa = "PBXGroup"; + children = ( + "SafeCollection::SafeCollectionTests::Product", + "SafeCollection::SafeCollection::Product" + ); + name = "Products"; + path = ""; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "OBJ_18" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_19", + "OBJ_20" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_19" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "SafeCollection.xcodeproj/SafeCollection_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 = "SafeCollection"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "4.0"; + TARGET_NAME = "SafeCollection"; + }; + name = "Debug"; + }; + "OBJ_2" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_3", + "OBJ_4" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_20" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "SafeCollection.xcodeproj/SafeCollection_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 = "SafeCollection"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "4.0"; + TARGET_NAME = "SafeCollection"; + }; + name = "Release"; + }; + "OBJ_21" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_22" + ); + }; + "OBJ_22" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_9"; + }; + "OBJ_23" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + ); + }; + "OBJ_25" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_26", + "OBJ_27" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_26" = { + 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.14.sdk" + ); + SWIFT_VERSION = "4.0"; + }; + name = "Debug"; + }; + "OBJ_27" = { + 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.14.sdk" + ); + SWIFT_VERSION = "4.0"; + }; + name = "Release"; + }; + "OBJ_28" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_29" + ); + }; + "OBJ_29" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_6"; + }; + "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 = ( + "DEBUG=1", + "$(inherited)" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + 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", + "DEBUG" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + USE_HEADERMAP = "NO"; + }; + name = "Debug"; + }; + "OBJ_31" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_32", + "OBJ_33" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_32" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Debug"; + }; + "OBJ_33" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Release"; + }; + "OBJ_34" = { + isa = "PBXTargetDependency"; + target = "SafeCollection::SafeCollectionTests"; + }; + "OBJ_36" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_37", + "OBJ_38" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_37" = { + 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 = "SafeCollection.xcodeproj/SafeCollectionTests_Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "4.0"; + TARGET_NAME = "SafeCollectionTests"; + }; + name = "Debug"; + }; + "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 = "SafeCollection.xcodeproj/SafeCollectionTests_Info.plist"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "4.0"; + TARGET_NAME = "SafeCollectionTests"; + }; + name = "Release"; + }; + "OBJ_39" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_40" + ); + }; + "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"; + MACOSX_DEPLOYMENT_TARGET = "10.10"; + 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" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = "NO"; + }; + name = "Release"; + }; + "OBJ_40" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_12"; + }; + "OBJ_41" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + "OBJ_42" + ); + }; + "OBJ_42" = { + isa = "PBXBuildFile"; + fileRef = "SafeCollection::SafeCollection::Product"; + }; + "OBJ_43" = { + isa = "PBXTargetDependency"; + target = "SafeCollection::SafeCollection"; + }; + "OBJ_5" = { + isa = "PBXGroup"; + children = ( + "OBJ_6", + "OBJ_7", + "OBJ_10", + "OBJ_13", + "OBJ_14" + ); + path = ""; + sourceTree = ""; + }; + "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" + ); + name = "SafeCollection"; + path = "Sources/SafeCollection"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_9" = { + isa = "PBXFileReference"; + path = "SafeCollection.swift"; + sourceTree = ""; + }; + "SafeCollection::SafeCollection" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_18"; + buildPhases = ( + "OBJ_21", + "OBJ_23" + ); + dependencies = ( + ); + name = "SafeCollection"; + productName = "SafeCollection"; + productReference = "SafeCollection::SafeCollection::Product"; + productType = "com.apple.product-type.framework"; + }; + "SafeCollection::SafeCollection::Product" = { + isa = "PBXFileReference"; + path = "SafeCollection.framework"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "SafeCollection::SafeCollectionPackageTests::ProductTarget" = { + isa = "PBXAggregateTarget"; + buildConfigurationList = "OBJ_31"; + buildPhases = ( + ); + dependencies = ( + "OBJ_34" + ); + name = "SafeCollectionPackageTests"; + productName = "SafeCollectionPackageTests"; + }; + "SafeCollection::SafeCollectionTests" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_36"; + buildPhases = ( + "OBJ_39", + "OBJ_41" + ); + dependencies = ( + "OBJ_43" + ); + name = "SafeCollectionTests"; + productName = "SafeCollectionTests"; + productReference = "SafeCollection::SafeCollectionTests::Product"; + productType = "com.apple.product-type.bundle.unit-test"; + }; + "SafeCollection::SafeCollectionTests::Product" = { + isa = "PBXFileReference"; + path = "SafeCollectionTests.xctest"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "SafeCollection::SwiftPMPackageDescription" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_25"; + buildPhases = ( + "OBJ_28" + ); + dependencies = ( + ); + name = "SafeCollectionPackageDescription"; + productName = "SafeCollectionPackageDescription"; + productType = "com.apple.product-type.framework"; + }; + }; + rootObject = "OBJ_1"; +} diff --git a/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..fe1aa71 --- /dev/null +++ b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..a72dc2b --- /dev/null +++ b/SafeCollection.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded + + + \ No newline at end of file diff --git a/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme new file mode 100644 index 0000000..9d8990e --- /dev/null +++ b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 404030e40f9ca7e0b17a66beb4920272085a8fe9 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Mon, 5 Nov 2018 12:55:56 +0100 Subject: [PATCH 2/7] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f17b67d..28ec052 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ install: before_script: - set -o pipefail - - swift package generate-xcodeproj script: - if [ $TEST == 1 ]; then From 4b3b6a23f55ff2420b3b6213baba4e89c71b2772 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Tue, 6 Nov 2018 22:34:56 +0100 Subject: [PATCH 3/7] Specify xcconfig for swift package generate-xcodeproj Update .gitignore --- .build/regenerate-token | 1 - .gitignore | 4 +- Package.xcconfig | 3 + SafeCollection.xcodeproj/project.pbxproj | 247 ++++++++++-------- .../contents.xcworkspacedata | 2 +- 5 files changed, 139 insertions(+), 118 deletions(-) delete mode 100644 .build/regenerate-token create mode 100644 Package.xcconfig diff --git a/.build/regenerate-token b/.build/regenerate-token deleted file mode 100644 index 573541a..0000000 --- a/.build/regenerate-token +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/.gitignore b/.gitignore index 1c1ce44..3b384ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ ## Build generated -build/ +.build/ DerivedData/ ## Various settings @@ -15,4 +15,4 @@ xcuserdata/ # Dependencies Pods/ -Carthage/ \ No newline at end of file +Carthage/ diff --git a/Package.xcconfig b/Package.xcconfig new file mode 100644 index 0000000..ff4c41e --- /dev/null +++ b/Package.xcconfig @@ -0,0 +1,3 @@ +IPHONEOS_DEPLOYMENT_TARGET = 8.0 +MACOSX_DEPLOYMENT_TARGET = 10.9 +TVOS_DEPLOYMENT_TARGET = 9.0 diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj index 10da8ab..c9dcabf 100644 --- a/SafeCollection.xcodeproj/project.pbxproj +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -16,7 +16,7 @@ "en" ); mainGroup = "OBJ_5"; - productRefGroup = "OBJ_14"; + productRefGroup = "OBJ_16"; projectDirPath = "."; targets = ( "SafeCollection::SafeCollection", @@ -30,30 +30,44 @@ children = ( "OBJ_11" ); + name = "SafeCollection"; + path = "Sources/SafeCollection"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_11" = { + isa = "PBXFileReference"; + path = "SafeCollection.swift"; + sourceTree = ""; + }; + "OBJ_12" = { + isa = "PBXGroup"; + children = ( + "OBJ_13" + ); name = "Tests"; path = ""; sourceTree = "SOURCE_ROOT"; }; - "OBJ_11" = { + "OBJ_13" = { isa = "PBXGroup"; children = ( - "OBJ_12" + "OBJ_14" ); name = "SafeCollectionTests"; path = "Tests/SafeCollectionTests"; sourceTree = "SOURCE_ROOT"; }; - "OBJ_12" = { + "OBJ_14" = { isa = "PBXFileReference"; path = "SafeCollectionTests.swift"; sourceTree = ""; }; - "OBJ_13" = { + "OBJ_15" = { isa = "PBXFileReference"; path = "SafeCollection"; sourceTree = "SOURCE_ROOT"; }; - "OBJ_14" = { + "OBJ_16" = { isa = "PBXGroup"; children = ( "SafeCollection::SafeCollectionTests::Product", @@ -63,17 +77,27 @@ path = ""; sourceTree = "BUILT_PRODUCTS_DIR"; }; - "OBJ_18" = { + "OBJ_2" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_3", + "OBJ_4" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_20" = { isa = "XCConfigurationList"; buildConfigurations = ( - "OBJ_19", - "OBJ_20" + "OBJ_21", + "OBJ_22" ); defaultConfigurationIsVisible = "0"; defaultConfigurationName = "Release"; }; - "OBJ_19" = { + "OBJ_21" = { isa = "XCBuildConfiguration"; + baseConfigurationReference = "OBJ_8"; buildSettings = { ENABLE_TESTABILITY = "YES"; FRAMEWORK_SEARCH_PATHS = ( @@ -109,17 +133,9 @@ }; name = "Debug"; }; - "OBJ_2" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_3", - "OBJ_4" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_20" = { + "OBJ_22" = { isa = "XCBuildConfiguration"; + baseConfigurationReference = "OBJ_8"; buildSettings = { ENABLE_TESTABILITY = "YES"; FRAMEWORK_SEARCH_PATHS = ( @@ -155,31 +171,31 @@ }; name = "Release"; }; - "OBJ_21" = { + "OBJ_23" = { isa = "PBXSourcesBuildPhase"; files = ( - "OBJ_22" + "OBJ_24" ); }; - "OBJ_22" = { + "OBJ_24" = { isa = "PBXBuildFile"; - fileRef = "OBJ_9"; + fileRef = "OBJ_11"; }; - "OBJ_23" = { + "OBJ_25" = { isa = "PBXFrameworksBuildPhase"; files = ( ); }; - "OBJ_25" = { + "OBJ_27" = { isa = "XCConfigurationList"; buildConfigurations = ( - "OBJ_26", - "OBJ_27" + "OBJ_28", + "OBJ_29" ); defaultConfigurationIsVisible = "0"; defaultConfigurationName = "Release"; }; - "OBJ_26" = { + "OBJ_28" = { isa = "XCBuildConfiguration"; buildSettings = { LD = "/usr/bin/true"; @@ -197,7 +213,7 @@ }; name = "Debug"; }; - "OBJ_27" = { + "OBJ_29" = { isa = "XCBuildConfiguration"; buildSettings = { LD = "/usr/bin/true"; @@ -215,16 +231,6 @@ }; name = "Release"; }; - "OBJ_28" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_29" - ); - }; - "OBJ_29" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_6"; - }; "OBJ_3" = { isa = "XCBuildConfiguration"; buildSettings = { @@ -264,42 +270,53 @@ }; name = "Debug"; }; + "OBJ_30" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_31" + ); + }; "OBJ_31" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_6"; + }; + "OBJ_33" = { isa = "XCConfigurationList"; buildConfigurations = ( - "OBJ_32", - "OBJ_33" + "OBJ_34", + "OBJ_35" ); defaultConfigurationIsVisible = "0"; defaultConfigurationName = "Release"; }; - "OBJ_32" = { + "OBJ_34" = { isa = "XCBuildConfiguration"; buildSettings = { }; name = "Debug"; }; - "OBJ_33" = { + "OBJ_35" = { isa = "XCBuildConfiguration"; buildSettings = { }; name = "Release"; }; - "OBJ_34" = { + "OBJ_36" = { isa = "PBXTargetDependency"; target = "SafeCollection::SafeCollectionTests"; }; - "OBJ_36" = { + "OBJ_38" = { isa = "XCConfigurationList"; buildConfigurations = ( - "OBJ_37", - "OBJ_38" + "OBJ_39", + "OBJ_40" ); defaultConfigurationIsVisible = "0"; defaultConfigurationName = "Release"; }; - "OBJ_37" = { + "OBJ_39" = { isa = "XCBuildConfiguration"; + baseConfigurationReference = "OBJ_8"; buildSettings = { CLANG_ENABLE_MODULES = "YES"; EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; @@ -333,8 +350,41 @@ }; name = "Debug"; }; - "OBJ_38" = { + "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"; + MACOSX_DEPLOYMENT_TARGET = "10.10"; + 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" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = "NO"; + }; + name = "Release"; + }; + "OBJ_40" = { + isa = "XCBuildConfiguration"; + baseConfigurationReference = "OBJ_8"; buildSettings = { CLANG_ENABLE_MODULES = "YES"; EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; @@ -368,59 +418,27 @@ }; name = "Release"; }; - "OBJ_39" = { + "OBJ_41" = { isa = "PBXSourcesBuildPhase"; files = ( - "OBJ_40" + "OBJ_42" ); }; - "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"; - MACOSX_DEPLOYMENT_TARGET = "10.10"; - 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" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - USE_HEADERMAP = "NO"; - }; - name = "Release"; - }; - "OBJ_40" = { + "OBJ_42" = { isa = "PBXBuildFile"; - fileRef = "OBJ_12"; + fileRef = "OBJ_14"; }; - "OBJ_41" = { + "OBJ_43" = { isa = "PBXFrameworksBuildPhase"; files = ( - "OBJ_42" + "OBJ_44" ); }; - "OBJ_42" = { + "OBJ_44" = { isa = "PBXBuildFile"; fileRef = "SafeCollection::SafeCollection::Product"; }; - "OBJ_43" = { + "OBJ_45" = { isa = "PBXTargetDependency"; target = "SafeCollection::SafeCollection"; }; @@ -429,9 +447,10 @@ children = ( "OBJ_6", "OBJ_7", - "OBJ_10", - "OBJ_13", - "OBJ_14" + "OBJ_9", + "OBJ_12", + "OBJ_15", + "OBJ_16" ); path = ""; sourceTree = ""; @@ -447,30 +466,30 @@ children = ( "OBJ_8" ); - name = "Sources"; + name = "Configs"; path = ""; - sourceTree = "SOURCE_ROOT"; + sourceTree = ""; }; "OBJ_8" = { + isa = "PBXFileReference"; + path = "Package.xcconfig"; + sourceTree = ""; + }; + "OBJ_9" = { isa = "PBXGroup"; children = ( - "OBJ_9" + "OBJ_10" ); - name = "SafeCollection"; - path = "Sources/SafeCollection"; + name = "Sources"; + path = ""; sourceTree = "SOURCE_ROOT"; }; - "OBJ_9" = { - isa = "PBXFileReference"; - path = "SafeCollection.swift"; - sourceTree = ""; - }; "SafeCollection::SafeCollection" = { isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_18"; + buildConfigurationList = "OBJ_20"; buildPhases = ( - "OBJ_21", - "OBJ_23" + "OBJ_23", + "OBJ_25" ); dependencies = ( ); @@ -486,24 +505,24 @@ }; "SafeCollection::SafeCollectionPackageTests::ProductTarget" = { isa = "PBXAggregateTarget"; - buildConfigurationList = "OBJ_31"; + buildConfigurationList = "OBJ_33"; buildPhases = ( ); dependencies = ( - "OBJ_34" + "OBJ_36" ); name = "SafeCollectionPackageTests"; productName = "SafeCollectionPackageTests"; }; "SafeCollection::SafeCollectionTests" = { isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_36"; + buildConfigurationList = "OBJ_38"; buildPhases = ( - "OBJ_39", - "OBJ_41" + "OBJ_41", + "OBJ_43" ); dependencies = ( - "OBJ_43" + "OBJ_45" ); name = "SafeCollectionTests"; productName = "SafeCollectionTests"; @@ -517,9 +536,9 @@ }; "SafeCollection::SwiftPMPackageDescription" = { isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_25"; + buildConfigurationList = "OBJ_27"; buildPhases = ( - "OBJ_28" + "OBJ_30" ); dependencies = ( ); diff --git a/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata index fe1aa71..919434a 100644 --- a/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,4 @@ - \ No newline at end of file + From d7b37bd1602be0fae92a1f83d58ec531020fc08f Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Wed, 14 Nov 2018 22:59:41 +0100 Subject: [PATCH 4/7] Re-generate xcscheme using swift package manager --- SafeCollection.xcodeproj/project.pbxproj | 4 +- .../contents.xcworkspacedata | 2 +- .../xcschemes/SafeCollection-Package.xcscheme | 106 +++++------------- 3 files changed, 32 insertions(+), 80 deletions(-) diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj index c9dcabf..ff7731c 100644 --- a/SafeCollection.xcodeproj/project.pbxproj +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -70,8 +70,8 @@ "OBJ_16" = { isa = "PBXGroup"; children = ( - "SafeCollection::SafeCollectionTests::Product", - "SafeCollection::SafeCollection::Product" + "SafeCollection::SafeCollection::Product", + "SafeCollection::SafeCollectionTests::Product" ); name = "Products"; path = ""; diff --git a/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 919434a..fe1aa71 100644 --- a/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/SafeCollection.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,4 @@ - + \ No newline at end of file diff --git a/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme index 9d8990e..85de323 100644 --- a/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme +++ b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme @@ -1,81 +1,33 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - + + + + From 07e789795499c3fd37f4122ee02f5c8f0d816ab5 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Wed, 14 Nov 2018 23:02:51 +0100 Subject: [PATCH 5/7] Specify apple generic for versioning --- SafeCollection.xcodeproj/project.pbxproj | 1027 ++++++++--------- .../xcschemes/SafeCollection-Package.xcscheme | 106 +- 2 files changed, 556 insertions(+), 577 deletions(-) diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj index ff7731c..3089bc0 100644 --- a/SafeCollection.xcodeproj/project.pbxproj +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -1,551 +1,482 @@ // !$*UTF8*$! { - archiveVersion = "1"; - objectVersion = "46"; - objects = { - "OBJ_1" = { - isa = "PBXProject"; - attributes = { - LastUpgradeCheck = "9999"; - }; - buildConfigurationList = "OBJ_2"; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = "English"; - hasScannedForEncodings = "0"; - knownRegions = ( - "en" - ); - mainGroup = "OBJ_5"; - productRefGroup = "OBJ_16"; - projectDirPath = "."; - targets = ( - "SafeCollection::SafeCollection", - "SafeCollection::SwiftPMPackageDescription", - "SafeCollection::SafeCollectionPackageTests::ProductTarget", - "SafeCollection::SafeCollectionTests" - ); - }; - "OBJ_10" = { - isa = "PBXGroup"; - children = ( - "OBJ_11" - ); - name = "SafeCollection"; - path = "Sources/SafeCollection"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_11" = { - isa = "PBXFileReference"; - path = "SafeCollection.swift"; - sourceTree = ""; - }; - "OBJ_12" = { - isa = "PBXGroup"; - children = ( - "OBJ_13" - ); - name = "Tests"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_13" = { - isa = "PBXGroup"; - children = ( - "OBJ_14" - ); - name = "SafeCollectionTests"; - path = "Tests/SafeCollectionTests"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_14" = { - isa = "PBXFileReference"; - path = "SafeCollectionTests.swift"; - sourceTree = ""; - }; - "OBJ_15" = { - isa = "PBXFileReference"; - path = "SafeCollection"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_16" = { - isa = "PBXGroup"; - children = ( - "SafeCollection::SafeCollection::Product", - "SafeCollection::SafeCollectionTests::Product" - ); - name = "Products"; - path = ""; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "OBJ_2" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_3", - "OBJ_4" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_20" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_21", - "OBJ_22" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_21" = { - isa = "XCBuildConfiguration"; - baseConfigurationReference = "OBJ_8"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "SafeCollection.xcodeproj/SafeCollection_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 = "SafeCollection"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "4.0"; - TARGET_NAME = "SafeCollection"; - }; - name = "Debug"; - }; - "OBJ_22" = { - isa = "XCBuildConfiguration"; - baseConfigurationReference = "OBJ_8"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "SafeCollection.xcodeproj/SafeCollection_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 = "SafeCollection"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "4.0"; - TARGET_NAME = "SafeCollection"; - }; - name = "Release"; - }; - "OBJ_23" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_24" - ); - }; - "OBJ_24" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_11"; - }; - "OBJ_25" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - ); - }; - "OBJ_27" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_28", - "OBJ_29" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_28" = { - 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.14.sdk" - ); - SWIFT_VERSION = "4.0"; - }; - name = "Debug"; - }; - "OBJ_29" = { - 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.14.sdk" - ); - SWIFT_VERSION = "4.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 = ( - "DEBUG=1", - "$(inherited)" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - 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", - "DEBUG" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - USE_HEADERMAP = "NO"; - }; - name = "Debug"; - }; - "OBJ_30" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_31" - ); - }; - "OBJ_31" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_6"; - }; - "OBJ_33" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_34", - "OBJ_35" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_34" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Debug"; - }; - "OBJ_35" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Release"; - }; - "OBJ_36" = { - isa = "PBXTargetDependency"; - target = "SafeCollection::SafeCollectionTests"; - }; - "OBJ_38" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_39", - "OBJ_40" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_39" = { - isa = "XCBuildConfiguration"; - baseConfigurationReference = "OBJ_8"; - 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 = "SafeCollection.xcodeproj/SafeCollectionTests_Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "4.0"; - TARGET_NAME = "SafeCollectionTests"; - }; - name = "Debug"; - }; - "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"; - MACOSX_DEPLOYMENT_TARGET = "10.10"; - 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" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - USE_HEADERMAP = "NO"; - }; - name = "Release"; - }; - "OBJ_40" = { - isa = "XCBuildConfiguration"; - baseConfigurationReference = "OBJ_8"; - 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 = "SafeCollection.xcodeproj/SafeCollectionTests_Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "4.0"; - TARGET_NAME = "SafeCollectionTests"; - }; - name = "Release"; - }; - "OBJ_41" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_42" - ); - }; - "OBJ_42" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_14"; - }; - "OBJ_43" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - "OBJ_44" - ); - }; - "OBJ_44" = { - isa = "PBXBuildFile"; - fileRef = "SafeCollection::SafeCollection::Product"; - }; - "OBJ_45" = { - isa = "PBXTargetDependency"; - target = "SafeCollection::SafeCollection"; - }; - "OBJ_5" = { - isa = "PBXGroup"; - children = ( - "OBJ_6", - "OBJ_7", - "OBJ_9", - "OBJ_12", - "OBJ_15", - "OBJ_16" - ); - path = ""; - sourceTree = ""; - }; - "OBJ_6" = { - isa = "PBXFileReference"; - explicitFileType = "sourcecode.swift"; - path = "Package.swift"; - sourceTree = ""; - }; - "OBJ_7" = { - isa = "PBXGroup"; - children = ( - "OBJ_8" - ); - name = "Configs"; - path = ""; - sourceTree = ""; - }; - "OBJ_8" = { - isa = "PBXFileReference"; - path = "Package.xcconfig"; - sourceTree = ""; - }; - "OBJ_9" = { - isa = "PBXGroup"; - children = ( - "OBJ_10" - ); - name = "Sources"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "SafeCollection::SafeCollection" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_20"; - buildPhases = ( - "OBJ_23", - "OBJ_25" - ); - dependencies = ( - ); - name = "SafeCollection"; - productName = "SafeCollection"; - productReference = "SafeCollection::SafeCollection::Product"; - productType = "com.apple.product-type.framework"; - }; - "SafeCollection::SafeCollection::Product" = { - isa = "PBXFileReference"; - path = "SafeCollection.framework"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "SafeCollection::SafeCollectionPackageTests::ProductTarget" = { - isa = "PBXAggregateTarget"; - buildConfigurationList = "OBJ_33"; - buildPhases = ( - ); - dependencies = ( - "OBJ_36" - ); - name = "SafeCollectionPackageTests"; - productName = "SafeCollectionPackageTests"; - }; - "SafeCollection::SafeCollectionTests" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_38"; - buildPhases = ( - "OBJ_41", - "OBJ_43" - ); - dependencies = ( - "OBJ_45" - ); - name = "SafeCollectionTests"; - productName = "SafeCollectionTests"; - productReference = "SafeCollection::SafeCollectionTests::Product"; - productType = "com.apple.product-type.bundle.unit-test"; - }; - "SafeCollection::SafeCollectionTests::Product" = { - isa = "PBXFileReference"; - path = "SafeCollectionTests.xctest"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "SafeCollection::SwiftPMPackageDescription" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_27"; - buildPhases = ( - "OBJ_30" - ); - dependencies = ( - ); - name = "SafeCollectionPackageDescription"; - productName = "SafeCollectionPackageDescription"; - productType = "com.apple.product-type.framework"; - }; - }; - rootObject = "OBJ_1"; + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXAggregateTarget section */ + "SafeCollection::SafeCollectionPackageTests::ProductTarget" /* SafeCollectionPackageTests */ = { + isa = PBXAggregateTarget; + buildConfigurationList = OBJ_33 /* Build configuration list for PBXAggregateTarget "SafeCollectionPackageTests" */; + buildPhases = ( + ); + dependencies = ( + OBJ_36 /* PBXTargetDependency */, + ); + name = SafeCollectionPackageTests; + productName = SafeCollectionPackageTests; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + OBJ_24 /* SafeCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* SafeCollection.swift */; }; + OBJ_31 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; }; + OBJ_42 /* SafeCollectionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_14 /* SafeCollectionTests.swift */; }; + OBJ_44 /* SafeCollection.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "SafeCollection::SafeCollection::Product" /* SafeCollection.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4E277772219CD29B00635375 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = OBJ_1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = "SafeCollection::SafeCollection"; + remoteInfo = SafeCollection; + }; + 4E277773219CD29E00635375 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = OBJ_1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = "SafeCollection::SafeCollectionTests"; + remoteInfo = SafeCollectionTests; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + OBJ_11 /* SafeCollection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafeCollection.swift; sourceTree = ""; }; + OBJ_14 /* SafeCollectionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SafeCollectionTests.swift; sourceTree = ""; }; + OBJ_15 /* SafeCollection */ = {isa = PBXFileReference; lastKnownFileType = folder; path = SafeCollection; sourceTree = SOURCE_ROOT; }; + OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; + OBJ_8 /* Package.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Package.xcconfig; sourceTree = ""; }; + "SafeCollection::SafeCollection::Product" /* SafeCollection.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SafeCollection.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + "SafeCollection::SafeCollectionTests::Product" /* SafeCollectionTests.xctest */ = {isa = PBXFileReference; lastKnownFileType = file; path = SafeCollectionTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + OBJ_25 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 0; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_43 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 0; + files = ( + OBJ_44 /* SafeCollection.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + OBJ_10 /* SafeCollection */ = { + isa = PBXGroup; + children = ( + OBJ_11 /* SafeCollection.swift */, + ); + name = SafeCollection; + path = Sources/SafeCollection; + sourceTree = SOURCE_ROOT; + }; + OBJ_12 /* Tests */ = { + isa = PBXGroup; + children = ( + OBJ_13 /* SafeCollectionTests */, + ); + name = Tests; + sourceTree = SOURCE_ROOT; + }; + OBJ_13 /* SafeCollectionTests */ = { + isa = PBXGroup; + children = ( + OBJ_14 /* SafeCollectionTests.swift */, + ); + name = SafeCollectionTests; + path = Tests/SafeCollectionTests; + sourceTree = SOURCE_ROOT; + }; + OBJ_16 /* Products */ = { + isa = PBXGroup; + children = ( + "SafeCollection::SafeCollection::Product" /* SafeCollection.framework */, + "SafeCollection::SafeCollectionTests::Product" /* SafeCollectionTests.xctest */, + ); + name = Products; + sourceTree = BUILT_PRODUCTS_DIR; + }; + OBJ_5 /* */ = { + isa = PBXGroup; + children = ( + OBJ_6 /* Package.swift */, + OBJ_7 /* Configs */, + OBJ_9 /* Sources */, + OBJ_12 /* Tests */, + OBJ_15 /* SafeCollection */, + OBJ_16 /* Products */, + ); + name = ""; + sourceTree = ""; + }; + OBJ_7 /* Configs */ = { + isa = PBXGroup; + children = ( + OBJ_8 /* Package.xcconfig */, + ); + name = Configs; + sourceTree = ""; + }; + OBJ_9 /* Sources */ = { + isa = PBXGroup; + children = ( + OBJ_10 /* SafeCollection */, + ); + name = Sources; + sourceTree = SOURCE_ROOT; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + "SafeCollection::SafeCollection" /* SafeCollection */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_20 /* Build configuration list for PBXNativeTarget "SafeCollection" */; + buildPhases = ( + OBJ_23 /* Sources */, + OBJ_25 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SafeCollection; + productName = SafeCollection; + productReference = "SafeCollection::SafeCollection::Product" /* SafeCollection.framework */; + productType = "com.apple.product-type.framework"; + }; + "SafeCollection::SafeCollectionTests" /* SafeCollectionTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_38 /* Build configuration list for PBXNativeTarget "SafeCollectionTests" */; + buildPhases = ( + OBJ_41 /* Sources */, + OBJ_43 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + OBJ_45 /* PBXTargetDependency */, + ); + name = SafeCollectionTests; + productName = SafeCollectionTests; + productReference = "SafeCollection::SafeCollectionTests::Product" /* SafeCollectionTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + "SafeCollection::SwiftPMPackageDescription" /* SafeCollectionPackageDescription */ = { + isa = PBXNativeTarget; + buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "SafeCollectionPackageDescription" */; + buildPhases = ( + OBJ_30 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SafeCollectionPackageDescription; + productName = SafeCollectionPackageDescription; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + OBJ_1 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 9999; + }; + buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "SafeCollection" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = OBJ_5 /* */; + productRefGroup = OBJ_16 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + "SafeCollection::SafeCollection" /* SafeCollection */, + "SafeCollection::SwiftPMPackageDescription" /* SafeCollectionPackageDescription */, + "SafeCollection::SafeCollectionPackageTests::ProductTarget" /* SafeCollectionPackageTests */, + "SafeCollection::SafeCollectionTests" /* SafeCollectionTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + OBJ_23 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_24 /* SafeCollection.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_30 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_31 /* Package.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + OBJ_41 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 0; + files = ( + OBJ_42 /* SafeCollectionTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + OBJ_36 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = "SafeCollection::SafeCollectionTests" /* SafeCollectionTests */; + targetProxy = 4E277773219CD29E00635375 /* PBXContainerItemProxy */; + }; + OBJ_45 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = "SafeCollection::SafeCollection" /* SafeCollection */; + targetProxy = 4E277772219CD29B00635375 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + OBJ_21 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = OBJ_8 /* Package.xcconfig */; + buildSettings = { + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = SafeCollection.xcodeproj/SafeCollection_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 = SafeCollection; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 4.0; + TARGET_NAME = SafeCollection; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + OBJ_22 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = OBJ_8 /* Package.xcconfig */; + buildSettings = { + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); + HEADER_SEARCH_PATHS = "$(inherited)"; + INFOPLIST_FILE = SafeCollection.xcodeproj/SafeCollection_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 = SafeCollection; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 4.0; + TARGET_NAME = SafeCollection; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + OBJ_28 /* 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.14.sdk"; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + OBJ_29 /* 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.14.sdk"; + SWIFT_VERSION = 4.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 = ( + "DEBUG=1", + "$(inherited)", + ); + MACOSX_DEPLOYMENT_TARGET = 10.10; + 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 DEBUG"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + USE_HEADERMAP = NO; + }; + name = Debug; + }; + OBJ_34 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Debug; + }; + OBJ_35 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + }; + name = Release; + }; + OBJ_39 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = OBJ_8 /* Package.xcconfig */; + 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 = SafeCollection.xcodeproj/SafeCollectionTests_Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 4.0; + TARGET_NAME = SafeCollectionTests; + }; + name = Debug; + }; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.10; + 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; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = NO; + }; + name = Release; + }; + OBJ_40 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = OBJ_8 /* Package.xcconfig */; + 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 = SafeCollection.xcodeproj/SafeCollectionTests_Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; + OTHER_CFLAGS = "$(inherited)"; + OTHER_LDFLAGS = "$(inherited)"; + OTHER_SWIFT_FLAGS = "$(inherited)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; + SWIFT_VERSION = 4.0; + TARGET_NAME = SafeCollectionTests; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + OBJ_2 /* Build configuration list for PBXProject "SafeCollection" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_3 /* Debug */, + OBJ_4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_20 /* Build configuration list for PBXNativeTarget "SafeCollection" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_21 /* Debug */, + OBJ_22 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_27 /* Build configuration list for PBXNativeTarget "SafeCollectionPackageDescription" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_28 /* Debug */, + OBJ_29 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_33 /* Build configuration list for PBXAggregateTarget "SafeCollectionPackageTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_34 /* Debug */, + OBJ_35 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + OBJ_38 /* Build configuration list for PBXNativeTarget "SafeCollectionTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + OBJ_39 /* Debug */, + OBJ_40 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = OBJ_1 /* Project object */; } diff --git a/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme index 85de323..9d8990e 100644 --- a/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme +++ b/SafeCollection.xcodeproj/xcshareddata/xcschemes/SafeCollection-Package.xcscheme @@ -1,33 +1,81 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + From d768ba2b70dc75cfe1df251ebb7e956ee260b144 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Wed, 14 Nov 2018 23:05:27 +0100 Subject: [PATCH 6/7] Specify CURRENT_PROJECT_VERSION in pbxproj --- SafeCollection.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj index 3089bc0..d59a8dd 100644 --- a/SafeCollection.xcodeproj/project.pbxproj +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -260,6 +260,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = OBJ_8 /* Package.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -286,6 +287,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = OBJ_8 /* Package.xcconfig */; buildSettings = { + CURRENT_PROJECT_VERSION = 1; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", From 793c2968a3abb058b22469b3b6177c9c1a11e231 Mon Sep 17 00:00:00 2001 From: Mateusz Szklarek Date: Thu, 15 Nov 2018 00:50:07 +0100 Subject: [PATCH 7/7] Fix project version --- SafeCollection.xcodeproj/project.pbxproj | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/SafeCollection.xcodeproj/project.pbxproj b/SafeCollection.xcodeproj/project.pbxproj index d59a8dd..dbe7717 100644 --- a/SafeCollection.xcodeproj/project.pbxproj +++ b/SafeCollection.xcodeproj/project.pbxproj @@ -108,7 +108,7 @@ name = Products; sourceTree = BUILT_PRODUCTS_DIR; }; - OBJ_5 /* */ = { + OBJ_5 = { isa = PBXGroup; children = ( OBJ_6 /* Package.swift */, @@ -118,7 +118,6 @@ OBJ_15 /* SafeCollection */, OBJ_16 /* Products */, ); - name = ""; sourceTree = ""; }; OBJ_7 /* Configs */ = { @@ -202,7 +201,7 @@ knownRegions = ( en, ); - mainGroup = OBJ_5 /* */; + mainGroup = OBJ_5; productRefGroup = OBJ_16 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -260,7 +259,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = OBJ_8 /* Package.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -287,7 +285,6 @@ isa = XCBuildConfiguration; baseConfigurationReference = OBJ_8 /* Package.xcconfig */; buildSettings = { - CURRENT_PROJECT_VERSION = 1; ENABLE_TESTABILITY = YES; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -334,6 +331,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_NS_ASSERTIONS = YES; @@ -394,6 +392,7 @@ CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_OPTIMIZATION_LEVEL = s;