From 5d2e75c192bb7cb759f091998357c4af683185d4 Mon Sep 17 00:00:00 2001 From: zhuhaow Date: Thu, 27 Feb 2020 20:57:05 +0800 Subject: [PATCH] Refactor project to support SPM --- .gitignore | 13 + Cartfile.private | 2 - Cartfile.resolved | 2 - Package.resolved | 43 + Package.swift | 27 + Resolver-iOS/Info.plist | 24 - Resolver-iOS/Resolver-iOS.h | 19 - Resolver-iOSTests/Info.plist | 22 - Resolver.xcodeproj/project.pbxproj | 787 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcschemes/Resolver-iOS.xcscheme | 100 --- .../xcschemes/Resolver-macOS.xcscheme | 100 --- Resolver/Info.plist | 26 - Resolver/Resolver.h | 19 - ResolverTests/Info.plist | 22 - {Resolver => Sources/Resolver}/Resolver.swift | 0 {Resolver => Sources/Resolver}/SafeDict.swift | 0 .../ResolverTests}/ResolverTests.swift | 0 bin/bootstrap | 4 - bin/bootstrap-if-needed | 5 - bin/release_framework | 21 - circle.yml | 23 - 23 files changed, 83 insertions(+), 1191 deletions(-) delete mode 100644 Cartfile.private delete mode 100644 Cartfile.resolved create mode 100644 Package.resolved create mode 100644 Package.swift delete mode 100644 Resolver-iOS/Info.plist delete mode 100644 Resolver-iOS/Resolver-iOS.h delete mode 100644 Resolver-iOSTests/Info.plist delete mode 100644 Resolver.xcodeproj/project.pbxproj delete mode 100644 Resolver.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 Resolver.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-iOS.xcscheme delete mode 100644 Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-macOS.xcscheme delete mode 100644 Resolver/Info.plist delete mode 100644 Resolver/Resolver.h delete mode 100644 ResolverTests/Info.plist rename {Resolver => Sources/Resolver}/Resolver.swift (100%) rename {Resolver => Sources/Resolver}/SafeDict.swift (100%) rename {ResolverTests => Tests/ResolverTests}/ResolverTests.swift (100%) delete mode 100755 bin/bootstrap delete mode 100755 bin/bootstrap-if-needed delete mode 100755 bin/release_framework delete mode 100644 circle.yml diff --git a/.gitignore b/.gitignore index 99dcc7b..72e73ad 100644 --- a/.gitignore +++ b/.gitignore @@ -157,3 +157,16 @@ Icon Network Trash Folder Temporary Items .apdisk + +# Created by https://www.gitignore.io/api/swiftpackagemanager +# Edit at https://www.gitignore.io/?templates=swiftpackagemanager + +### SwiftPackageManager ### +Packages +.build/ +xcuserdata +DerivedData/ +*.xcodeproj + + +# End of https://www.gitignore.io/api/swiftpackagemanager diff --git a/Cartfile.private b/Cartfile.private deleted file mode 100644 index c2786fb..0000000 --- a/Cartfile.private +++ /dev/null @@ -1,2 +0,0 @@ -github "Quick/Quick" -github "Quick/Nimble" diff --git a/Cartfile.resolved b/Cartfile.resolved deleted file mode 100644 index 2bbbe22..0000000 --- a/Cartfile.resolved +++ /dev/null @@ -1,2 +0,0 @@ -github "Quick/Nimble" "v8.0.1" -github "Quick/Quick" "v2.0.0" diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..9720cb4 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,43 @@ +{ + "object": { + "pins": [ + { + "package": "CwlCatchException", + "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", + "state": { + "branch": null, + "revision": "7cd2f8cacc4d22f21bc0b2309c3b18acf7957b66", + "version": "1.2.0" + } + }, + { + "package": "CwlPreconditionTesting", + "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", + "state": { + "branch": null, + "revision": "c228db5d2ad1b01ebc84435e823e6cca4e3db98b", + "version": "1.2.0" + } + }, + { + "package": "Nimble", + "repositoryURL": "https://github.com/Quick/Nimble", + "state": { + "branch": null, + "revision": "b02b00b30b6353632aa4a5fb6124f8147f7140c0", + "version": "8.0.5" + } + }, + { + "package": "Quick", + "repositoryURL": "https://github.com/Quick/Quick", + "state": { + "branch": null, + "revision": "33682c2f6230c60614861dfc61df267e11a1602f", + "version": "2.2.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..464f862 --- /dev/null +++ b/Package.swift @@ -0,0 +1,27 @@ +// swift-tools-version:5.1 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Resolver", + products: [ + .library( + name: "Resolver", + targets: ["Resolver"] + ), + ], + dependencies: [ + .package(url: "https://github.com/Quick/Quick", from: "2.2.0"), + .package(url: "https://github.com/Quick/Nimble", from: "8.0.0"), + ], + targets: [ + .target( + name: "Resolver" + ), + .testTarget( + name: "ResolverTests", + dependencies: ["Resolver", "Quick", "Nimble"] + ), + ] +) diff --git a/Resolver-iOS/Info.plist b/Resolver-iOS/Info.plist deleted file mode 100644 index fbe1e6b..0000000 --- a/Resolver-iOS/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/Resolver-iOS/Resolver-iOS.h b/Resolver-iOS/Resolver-iOS.h deleted file mode 100644 index 66bc4c6..0000000 --- a/Resolver-iOS/Resolver-iOS.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// Resolver.h -// Resolver -// -// Created by Zhuhao Wang on 07/11/2016. -// Copyright © 2016 Zhuhao Wang. All rights reserved. -// - -#import - -//! Project version number for Resolver. -FOUNDATION_EXPORT double ResolverVersionNumber; - -//! Project version string for Resolver. -FOUNDATION_EXPORT const unsigned char ResolverVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/Resolver-iOSTests/Info.plist b/Resolver-iOSTests/Info.plist deleted file mode 100644 index 6c6c23c..0000000 --- a/Resolver-iOSTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Resolver.xcodeproj/project.pbxproj b/Resolver.xcodeproj/project.pbxproj deleted file mode 100644 index 45c8a29..0000000 --- a/Resolver.xcodeproj/project.pbxproj +++ /dev/null @@ -1,787 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 363429D71DCE017A0062EF75 /* Resolver.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 363429CD1DCE017A0062EF75 /* Resolver.framework */; }; - 363429DC1DCE017A0062EF75 /* ResolverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429DB1DCE017A0062EF75 /* ResolverTests.swift */; }; - 363429DE1DCE017A0062EF75 /* Resolver.h in Headers */ = {isa = PBXBuildFile; fileRef = 363429D01DCE017A0062EF75 /* Resolver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 363429E81DCE01940062EF75 /* Resolver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429E71DCE01940062EF75 /* Resolver.swift */; }; - 363429EA1DCE135D0062EF75 /* SafeDict.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429E91DCE135D0062EF75 /* SafeDict.swift */; }; - 363429EF1DCF7AC20062EF75 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 363429ED1DCF7AC20062EF75 /* Quick.framework */; }; - 363429F01DCF7AC20062EF75 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 363429EE1DCF7AC20062EF75 /* Nimble.framework */; }; - 363429F41DCF7ED00062EF75 /* Quick.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 363429ED1DCF7AC20062EF75 /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 363429F51DCF7ED00062EF75 /* Nimble.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 363429EE1DCF7AC20062EF75 /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 36342A041DD0CE0F0062EF75 /* Resolver.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 363429FB1DD0CE0F0062EF75 /* Resolver.framework */; }; - 36342A0B1DD0CE0F0062EF75 /* Resolver-iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 363429FD1DD0CE0F0062EF75 /* Resolver-iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 36342A121DD0CE1F0062EF75 /* Resolver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429E71DCE01940062EF75 /* Resolver.swift */; }; - 36342A131DD0CE1F0062EF75 /* SafeDict.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429E91DCE135D0062EF75 /* SafeDict.swift */; }; - 36342A141DD0CE220062EF75 /* ResolverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 363429DB1DCE017A0062EF75 /* ResolverTests.swift */; }; - 36342A171DD0CE4C0062EF75 /* Quick.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 36342A151DD0CE4C0062EF75 /* Quick.framework */; }; - 36342A181DD0CE4C0062EF75 /* Nimble.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 36342A161DD0CE4C0062EF75 /* Nimble.framework */; }; - 36342A1C1DD0CE630062EF75 /* Quick.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 36342A151DD0CE4C0062EF75 /* Quick.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 36342A1D1DD0CE630062EF75 /* Nimble.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 36342A161DD0CE4C0062EF75 /* Nimble.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 363429D81DCE017A0062EF75 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 363429C41DCE017A0062EF75 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 363429CC1DCE017A0062EF75; - remoteInfo = Resolver; - }; - 36342A051DD0CE0F0062EF75 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 363429C41DCE017A0062EF75 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 363429FA1DD0CE0F0062EF75; - remoteInfo = "Resolver-iOS"; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 363429F31DCF7EC40062EF75 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 363429F41DCF7ED00062EF75 /* Quick.framework in CopyFiles */, - 363429F51DCF7ED00062EF75 /* Nimble.framework in CopyFiles */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 36342A191DD0CE500062EF75 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 36342A1C1DD0CE630062EF75 /* Quick.framework in CopyFiles */, - 36342A1D1DD0CE630062EF75 /* Nimble.framework in CopyFiles */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 363429CD1DCE017A0062EF75 /* Resolver.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Resolver.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 363429D01DCE017A0062EF75 /* Resolver.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Resolver.h; sourceTree = ""; }; - 363429D11DCE017A0062EF75 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 363429D61DCE017A0062EF75 /* Resolver-macOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Resolver-macOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 363429DB1DCE017A0062EF75 /* ResolverTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResolverTests.swift; sourceTree = ""; }; - 363429DD1DCE017A0062EF75 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 363429E71DCE01940062EF75 /* Resolver.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Resolver.swift; sourceTree = ""; }; - 363429E91DCE135D0062EF75 /* SafeDict.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SafeDict.swift; sourceTree = ""; }; - 363429EB1DCF79B00062EF75 /* Cartfile.private */ = {isa = PBXFileReference; lastKnownFileType = text; path = Cartfile.private; sourceTree = ""; }; - 363429ED1DCF7AC20062EF75 /* Quick.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quick.framework; path = Carthage/Build/Mac/Quick.framework; sourceTree = ""; }; - 363429EE1DCF7AC20062EF75 /* Nimble.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nimble.framework; path = Carthage/Build/Mac/Nimble.framework; sourceTree = ""; }; - 363429F11DCF7D4E0062EF75 /* libsystem_dnssd.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsystem_dnssd.tbd; path = usr/lib/system/libsystem_dnssd.tbd; sourceTree = SDKROOT; }; - 363429FB1DD0CE0F0062EF75 /* Resolver.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Resolver.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 363429FD1DD0CE0F0062EF75 /* Resolver-iOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Resolver-iOS.h"; sourceTree = ""; }; - 363429FE1DD0CE0F0062EF75 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 36342A031DD0CE0F0062EF75 /* Resolver-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Resolver-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - 36342A0A1DD0CE0F0062EF75 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 36342A151DD0CE4C0062EF75 /* Quick.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quick.framework; path = Carthage/Build/iOS/Quick.framework; sourceTree = ""; }; - 36342A161DD0CE4C0062EF75 /* Nimble.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Nimble.framework; path = Carthage/Build/iOS/Nimble.framework; sourceTree = ""; }; - 36342A201DD0D0740062EF75 /* bootstrap */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = bootstrap; sourceTree = ""; }; - 36342A211DD0D0740062EF75 /* bootstrap-if-needed */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "bootstrap-if-needed"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 363429C91DCE017A0062EF75 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429D31DCE017A0062EF75 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 363429EF1DCF7AC20062EF75 /* Quick.framework in Frameworks */, - 363429F01DCF7AC20062EF75 /* Nimble.framework in Frameworks */, - 363429D71DCE017A0062EF75 /* Resolver.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429F71DD0CE0F0062EF75 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 36342A001DD0CE0F0062EF75 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 36342A171DD0CE4C0062EF75 /* Quick.framework in Frameworks */, - 36342A181DD0CE4C0062EF75 /* Nimble.framework in Frameworks */, - 36342A041DD0CE0F0062EF75 /* Resolver.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 363429C31DCE017A0062EF75 = { - isa = PBXGroup; - children = ( - 363429EB1DCF79B00062EF75 /* Cartfile.private */, - 36342A1F1DD0D0740062EF75 /* bin */, - 363429CF1DCE017A0062EF75 /* Resolver */, - 363429DA1DCE017A0062EF75 /* ResolverTests */, - 363429FC1DD0CE0F0062EF75 /* Resolver-iOS */, - 36342A071DD0CE0F0062EF75 /* Resolver-iOSTests */, - 363429CE1DCE017A0062EF75 /* Products */, - 363429EC1DCF7AC20062EF75 /* Frameworks */, - ); - sourceTree = ""; - }; - 363429CE1DCE017A0062EF75 /* Products */ = { - isa = PBXGroup; - children = ( - 363429CD1DCE017A0062EF75 /* Resolver.framework */, - 363429D61DCE017A0062EF75 /* Resolver-macOSTests.xctest */, - 363429FB1DD0CE0F0062EF75 /* Resolver.framework */, - 36342A031DD0CE0F0062EF75 /* Resolver-iOSTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 363429CF1DCE017A0062EF75 /* Resolver */ = { - isa = PBXGroup; - children = ( - 363429D01DCE017A0062EF75 /* Resolver.h */, - 363429D11DCE017A0062EF75 /* Info.plist */, - 363429E71DCE01940062EF75 /* Resolver.swift */, - 363429E91DCE135D0062EF75 /* SafeDict.swift */, - ); - path = Resolver; - sourceTree = ""; - }; - 363429DA1DCE017A0062EF75 /* ResolverTests */ = { - isa = PBXGroup; - children = ( - 363429DB1DCE017A0062EF75 /* ResolverTests.swift */, - 363429DD1DCE017A0062EF75 /* Info.plist */, - ); - path = ResolverTests; - sourceTree = ""; - }; - 363429EC1DCF7AC20062EF75 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 36342A151DD0CE4C0062EF75 /* Quick.framework */, - 36342A161DD0CE4C0062EF75 /* Nimble.framework */, - 363429F11DCF7D4E0062EF75 /* libsystem_dnssd.tbd */, - 363429ED1DCF7AC20062EF75 /* Quick.framework */, - 363429EE1DCF7AC20062EF75 /* Nimble.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 363429FC1DD0CE0F0062EF75 /* Resolver-iOS */ = { - isa = PBXGroup; - children = ( - 363429FD1DD0CE0F0062EF75 /* Resolver-iOS.h */, - 363429FE1DD0CE0F0062EF75 /* Info.plist */, - ); - path = "Resolver-iOS"; - sourceTree = ""; - }; - 36342A071DD0CE0F0062EF75 /* Resolver-iOSTests */ = { - isa = PBXGroup; - children = ( - 36342A0A1DD0CE0F0062EF75 /* Info.plist */, - ); - path = "Resolver-iOSTests"; - sourceTree = ""; - }; - 36342A1F1DD0D0740062EF75 /* bin */ = { - isa = PBXGroup; - children = ( - 36342A201DD0D0740062EF75 /* bootstrap */, - 36342A211DD0D0740062EF75 /* bootstrap-if-needed */, - ); - path = bin; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 363429CA1DCE017A0062EF75 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 363429DE1DCE017A0062EF75 /* Resolver.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429F81DD0CE0F0062EF75 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 36342A0B1DD0CE0F0062EF75 /* Resolver-iOS.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 363429CC1DCE017A0062EF75 /* Resolver-macOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 363429E11DCE017A0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-macOS" */; - buildPhases = ( - 363429C81DCE017A0062EF75 /* Sources */, - 363429C91DCE017A0062EF75 /* Frameworks */, - 363429CA1DCE017A0062EF75 /* Headers */, - 363429CB1DCE017A0062EF75 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Resolver-macOS"; - productName = Resolver; - productReference = 363429CD1DCE017A0062EF75 /* Resolver.framework */; - productType = "com.apple.product-type.framework"; - }; - 363429D51DCE017A0062EF75 /* Resolver-macOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 363429E41DCE017A0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-macOSTests" */; - buildPhases = ( - 363429D21DCE017A0062EF75 /* Sources */, - 363429D31DCE017A0062EF75 /* Frameworks */, - 363429D41DCE017A0062EF75 /* Resources */, - 363429F31DCF7EC40062EF75 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - 363429D91DCE017A0062EF75 /* PBXTargetDependency */, - ); - name = "Resolver-macOSTests"; - productName = ResolverTests; - productReference = 363429D61DCE017A0062EF75 /* Resolver-macOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 363429FA1DD0CE0F0062EF75 /* Resolver-iOS */ = { - isa = PBXNativeTarget; - buildConfigurationList = 36342A101DD0CE0F0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-iOS" */; - buildPhases = ( - 363429F61DD0CE0F0062EF75 /* Sources */, - 363429F71DD0CE0F0062EF75 /* Frameworks */, - 363429F81DD0CE0F0062EF75 /* Headers */, - 363429F91DD0CE0F0062EF75 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Resolver-iOS"; - productName = "Resolver-iOS"; - productReference = 363429FB1DD0CE0F0062EF75 /* Resolver.framework */; - productType = "com.apple.product-type.framework"; - }; - 36342A021DD0CE0F0062EF75 /* Resolver-iOSTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 36342A111DD0CE0F0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-iOSTests" */; - buildPhases = ( - 363429FF1DD0CE0F0062EF75 /* Sources */, - 36342A001DD0CE0F0062EF75 /* Frameworks */, - 36342A011DD0CE0F0062EF75 /* Resources */, - 36342A191DD0CE500062EF75 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - 36342A061DD0CE0F0062EF75 /* PBXTargetDependency */, - ); - name = "Resolver-iOSTests"; - productName = "Resolver-iOSTests"; - productReference = 36342A031DD0CE0F0062EF75 /* Resolver-iOSTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 363429C41DCE017A0062EF75 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0810; - LastUpgradeCheck = 1020; - ORGANIZATIONNAME = "Zhuhao Wang"; - TargetAttributes = { - 363429CC1DCE017A0062EF75 = { - CreatedOnToolsVersion = 8.1; - LastSwiftMigration = 0810; - ProvisioningStyle = Automatic; - }; - 363429D51DCE017A0062EF75 = { - CreatedOnToolsVersion = 8.1; - ProvisioningStyle = Automatic; - }; - 363429FA1DD0CE0F0062EF75 = { - CreatedOnToolsVersion = 8.1; - ProvisioningStyle = Automatic; - }; - 36342A021DD0CE0F0062EF75 = { - CreatedOnToolsVersion = 8.1; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = 363429C71DCE017A0062EF75 /* Build configuration list for PBXProject "Resolver" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 363429C31DCE017A0062EF75; - productRefGroup = 363429CE1DCE017A0062EF75 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 363429CC1DCE017A0062EF75 /* Resolver-macOS */, - 363429D51DCE017A0062EF75 /* Resolver-macOSTests */, - 363429FA1DD0CE0F0062EF75 /* Resolver-iOS */, - 36342A021DD0CE0F0062EF75 /* Resolver-iOSTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 363429CB1DCE017A0062EF75 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429D41DCE017A0062EF75 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429F91DD0CE0F0062EF75 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 36342A011DD0CE0F0062EF75 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 363429C81DCE017A0062EF75 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 363429EA1DCE135D0062EF75 /* SafeDict.swift in Sources */, - 363429E81DCE01940062EF75 /* Resolver.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429D21DCE017A0062EF75 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 363429DC1DCE017A0062EF75 /* ResolverTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429F61DD0CE0F0062EF75 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 36342A131DD0CE1F0062EF75 /* SafeDict.swift in Sources */, - 36342A121DD0CE1F0062EF75 /* Resolver.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 363429FF1DD0CE0F0062EF75 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 36342A141DD0CE220062EF75 /* ResolverTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 363429D91DCE017A0062EF75 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 363429CC1DCE017A0062EF75 /* Resolver-macOS */; - targetProxy = 363429D81DCE017A0062EF75 /* PBXContainerItemProxy */; - }; - 36342A061DD0CE0F0062EF75 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 363429FA1DD0CE0F0062EF75 /* Resolver-iOS */; - targetProxy = 36342A051DD0CE0F0062EF75 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 363429DF1DCE017A0062EF75 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 363429E01DCE017A0062EF75 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_SUSPICIOUS_MOVES = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "-"; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.12; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = macosx; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 363429E21DCE017A0062EF75 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = Resolver/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(SDKROOT)/usr/lib/system", - ); - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = me.zhuhaow.osx.Resolver; - PRODUCT_NAME = Resolver; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 363429E31DCE017A0062EF75 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_IDENTITY = ""; - COMBINE_HIDPI_IMAGES = YES; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; - INFOPLIST_FILE = Resolver/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(SDKROOT)/usr/lib/system", - ); - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = me.zhuhaow.osx.Resolver; - PRODUCT_NAME = Resolver; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 363429E51DCE017A0062EF75 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Carthage/Build/Mac", - ); - INFOPLIST_FILE = ResolverTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = me.zhuhaow.osx.ResolverTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 363429E61DCE017A0062EF75 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - COMBINE_HIDPI_IMAGES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Carthage/Build/Mac", - ); - INFOPLIST_FILE = ResolverTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.11; - PRODUCT_BUNDLE_IDENTIFIER = me.zhuhaow.osx.ResolverTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - }; - name = Release; - }; - 36342A0C1DD0CE0F0062EF75 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Resolver-iOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.zhuhaow.ios.Resolver-iOS"; - PRODUCT_NAME = Resolver; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 36342A0D1DD0CE0F0062EF75 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - APPLICATION_EXTENSION_API_ONLY = YES; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Resolver-iOS/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.zhuhaow.ios.Resolver-iOS"; - PRODUCT_NAME = Resolver; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 36342A0E1DD0CE0F0062EF75 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Carthage/Build/iOS", - ); - INFOPLIST_FILE = "Resolver-iOSTests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.zhuhaow.ios.Resolver-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; - }; - name = Debug; - }; - 36342A0F1DD0CE0F0062EF75 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Carthage/Build/iOS", - ); - INFOPLIST_FILE = "Resolver-iOSTests/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.zhuhaow.ios.Resolver-iOSTests"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SWIFT_VERSION = 5.0; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 363429C71DCE017A0062EF75 /* Build configuration list for PBXProject "Resolver" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 363429DF1DCE017A0062EF75 /* Debug */, - 363429E01DCE017A0062EF75 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 363429E11DCE017A0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-macOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 363429E21DCE017A0062EF75 /* Debug */, - 363429E31DCE017A0062EF75 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 363429E41DCE017A0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-macOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 363429E51DCE017A0062EF75 /* Debug */, - 363429E61DCE017A0062EF75 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 36342A101DD0CE0F0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-iOS" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 36342A0C1DD0CE0F0062EF75 /* Debug */, - 36342A0D1DD0CE0F0062EF75 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 36342A111DD0CE0F0062EF75 /* Build configuration list for PBXNativeTarget "Resolver-iOSTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 36342A0E1DD0CE0F0062EF75 /* Debug */, - 36342A0F1DD0CE0F0062EF75 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 363429C41DCE017A0062EF75 /* Project object */; -} diff --git a/Resolver.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Resolver.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 603b56d..0000000 --- a/Resolver.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Resolver.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Resolver.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/Resolver.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-iOS.xcscheme b/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-iOS.xcscheme deleted file mode 100644 index b72a95a..0000000 --- a/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-iOS.xcscheme +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-macOS.xcscheme b/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-macOS.xcscheme deleted file mode 100644 index 0102bea..0000000 --- a/Resolver.xcodeproj/xcshareddata/xcschemes/Resolver-macOS.xcscheme +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Resolver/Info.plist b/Resolver/Info.plist deleted file mode 100644 index 053fe33..0000000 --- a/Resolver/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSHumanReadableCopyright - Copyright © 2016 Zhuhao Wang. All rights reserved. - NSPrincipalClass - - - diff --git a/Resolver/Resolver.h b/Resolver/Resolver.h deleted file mode 100644 index 8551b4b..0000000 --- a/Resolver/Resolver.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// Resolver.h -// Resolver -// -// Created by Zhuhao Wang on 05/11/2016. -// Copyright © 2016 Zhuhao Wang. All rights reserved. -// - -#import - -//! Project version number for Resolver. -FOUNDATION_EXPORT double ResolverVersionNumber; - -//! Project version string for Resolver. -FOUNDATION_EXPORT const unsigned char ResolverVersionString[]; - -// In this header, you should import all the public headers of your framework using statements like #import - - diff --git a/ResolverTests/Info.plist b/ResolverTests/Info.plist deleted file mode 100644 index 6c6c23c..0000000 --- a/ResolverTests/Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - - diff --git a/Resolver/Resolver.swift b/Sources/Resolver/Resolver.swift similarity index 100% rename from Resolver/Resolver.swift rename to Sources/Resolver/Resolver.swift diff --git a/Resolver/SafeDict.swift b/Sources/Resolver/SafeDict.swift similarity index 100% rename from Resolver/SafeDict.swift rename to Sources/Resolver/SafeDict.swift diff --git a/ResolverTests/ResolverTests.swift b/Tests/ResolverTests/ResolverTests.swift similarity index 100% rename from ResolverTests/ResolverTests.swift rename to Tests/ResolverTests/ResolverTests.swift diff --git a/bin/bootstrap b/bin/bootstrap deleted file mode 100755 index a302a7e..0000000 --- a/bin/bootstrap +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -carthage bootstrap --no-use-binaries --platform mac,ios -cp Cartfile.resolved Carthage diff --git a/bin/bootstrap-if-needed b/bin/bootstrap-if-needed deleted file mode 100755 index c49a31d..0000000 --- a/bin/bootstrap-if-needed +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -if ! cmp -s Cartfile.resolved Carthage/Cartfile.resolved; then - bin/bootstrap -fi diff --git a/bin/release_framework b/bin/release_framework deleted file mode 100755 index b975cd2..0000000 --- a/bin/release_framework +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/env sh - -carthage build --no-skip-current -carthage archive Resolver - -export GOPATH=$HOME/golang -export PATH=$PATH:$GOPATH/bin -go get github.com/aktau/github-release -github-release release \ - --user zhuhaow \ - --repo Resolver \ - --tag $CIRCLE_TAG \ - --name $CIRCLE_TAG \ - --description $CIRCLE_TAG - -github-release upload \ - --user zhuhaow \ - --repo Resolver \ - --tag $CIRCLE_TAG \ - --name Resolver.framework.zip \ - --file Resolver.framework.zip diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 60e66ae..0000000 --- a/circle.yml +++ /dev/null @@ -1,23 +0,0 @@ -machine: - xcode: - version: "8.1" -dependencies: - pre: - - echo "2.3.1" > .ruby-version - override: - - bin/bootstrap-if-needed - - gem install scan - cache_directories: - - "Carthage" -test: - override: - - scan --scheme Resolver-macOS - - scan --scheme Resolver-iOS - post: - - bash <(curl -s https://codecov.io/bash) -deployment: - release: - tag: /.*/ - owner: zhuhaow - commands: - - bin/release_framework