diff --git a/.gitignore b/.gitignore index e4b3369..3fe658a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,10 @@ - Created by http://www.gitignore.io +# Created by http://www.gitignore.io ### SwiftPackageManager ### Packages .build/ xcuserdata DerivedData/ -*.xcodeproj ### OSX ### .DS_Store diff --git a/.travis.yml b/.travis.yml index fdc3197..746a92d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,21 +12,29 @@ before_install: jobs: include: - - stage: Build - Swift Package Manager - script: - - swift test - stage: Build - CocoaPods + install: + - brew outdated cocoapods || brew upgrade cocoapods script: - - brew outdated cocoapods || brew upgrade cocoapods - pod lib lint - stage: Build - Carthage And Code Coverage - script: - - brew outdated carthage || brew upgrade carthage + install: + - brew outdated carthage || brew upgrade carthage - brew install xcodegen - - gem install slather + - gem install slather + script: + # Carthage requires that XCode project files are checked in. Project.yml is + # the canonical definition for the .xcodeproj file. Remove the .xcodeproj file + # and regenerate it. + # See: https://github.com/Carthage/Carthage/issues/2684 + - rm -rf Base58Swift.xcodeproj - xcodegen generate + + # Build with Carthage - travis_wait 500 carthage bootstrap --platform iOS --no-use-binaries --verbose - set -o pipefail && xcodebuild test -scheme Base58Swift_iOS -destination 'platform=iOS Simulator,name=iPhone XS,OS=12.2' ONLY_ACTIVE_ARCH=YES | xcpretty + + # Generate and Upload Code Coverage - slather - bash <(curl -s https://codecov.io/bash) - stage: Build and Push Release if tagged commit @@ -42,7 +50,14 @@ jobs: - echo "Deploying Carthage" - brew outdated carthage || brew upgrade carthage - brew install xcodegen + + # Carthage requires that XCode project files are checked in. Project.yml is + # the canonical definition for the .xcodeproj file. Remove the .xcodeproj file + # and regenerate it. + # See: https://github.com/Carthage/Carthage/issues/2684 + - rm -rf Base58Swift.xcodeproj - xcodegen generate + - carthage build --no-skip-current --platform iOS,mac --cache-builds - carthage archive $FRAMEWORK_NAME deploy: diff --git a/Base58Swift.xcodeproj/project.pbxproj b/Base58Swift.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2718081 --- /dev/null +++ b/Base58Swift.xcodeproj/project.pbxproj @@ -0,0 +1,747 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 51; + objects = { + +/* Begin PBXBuildFile section */ + 195B8674C525FC927DA0061B /* SipHash.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6CD77D1BE5D2AE478714D545 /* SipHash.framework */; }; + 24A562C2A2514DC514907440 /* SipHash.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4576115A8EB92FEF91A1F130 /* SipHash.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 2B2B1789E887A630326219CC /* Base58.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51EF5B6E683B82620590F3AD /* Base58.swift */; }; + 66B96B37A456293E57DED690 /* BigInt.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = CE269206C148FADF6BF500A6 /* BigInt.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 68ECD9A721F5D09F0749AE42 /* Base58Swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FC5D5694FA28B3CF29CDCA11 /* Base58Swift.framework */; }; + 6D51A30CECF4D275D160F81F /* SipHash.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4576115A8EB92FEF91A1F130 /* SipHash.framework */; }; + 6F7CBD76D9A8AE61157D2886 /* Base58.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51EF5B6E683B82620590F3AD /* Base58.swift */; }; + 7298F6648C159B94417741E7 /* Base58Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C44B5ABFF15EC45F22CDAD /* Base58Tests.swift */; }; + A67B14E677B340BB289C1C51 /* SipHash.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6CD77D1BE5D2AE478714D545 /* SipHash.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + B0232B95BF642225E870D36E /* BigInt.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CE269206C148FADF6BF500A6 /* BigInt.framework */; }; + B83506B723681742A8D07872 /* Base58Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24C44B5ABFF15EC45F22CDAD /* Base58Tests.swift */; }; + BFEC1554799B24B556ACD794 /* Base58Swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E0FE375CAF81D15BA90E113B /* Base58Swift.framework */; }; + CC9E7EC879AD738B5E7EF12B /* BigInt.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E59E287740D294E84DCF4580 /* BigInt.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + CD08468EE971322521114B0D /* BigInt.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E59E287740D294E84DCF4580 /* BigInt.framework */; }; + E6FA113E1AE9AC8F95D397E9 /* Base58Swift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E0FE375CAF81D15BA90E113B /* Base58Swift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + FA41C17B8662B5C0AEA7E097 /* Base58Swift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = FC5D5694FA28B3CF29CDCA11 /* Base58Swift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 4C0D5DFD30E33ACFE1646456 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 93D86F207E5DC94AA3F6EB28 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A42D3656560EFB1598FB594D; + remoteInfo = Base58Swift_macOS; + }; + DBAAC1FB2443E922F7A37B22 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 93D86F207E5DC94AA3F6EB28 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6E48872D9249965C98B8751B; + remoteInfo = Base58Swift_iOS; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 9F629B574157067FBF765320 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + E6FA113E1AE9AC8F95D397E9 /* Base58Swift.framework in Embed Frameworks */, + 66B96B37A456293E57DED690 /* BigInt.framework in Embed Frameworks */, + A67B14E677B340BB289C1C51 /* SipHash.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; + D7BBE3C099CC08B8D270E82D /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + FA41C17B8662B5C0AEA7E097 /* Base58Swift.framework in Embed Frameworks */, + CC9E7EC879AD738B5E7EF12B /* BigInt.framework in Embed Frameworks */, + 24A562C2A2514DC514907440 /* SipHash.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 24C44B5ABFF15EC45F22CDAD /* Base58Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Base58Tests.swift; sourceTree = ""; }; + 4576115A8EB92FEF91A1F130 /* SipHash.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SipHash.framework; sourceTree = ""; }; + 51EF5B6E683B82620590F3AD /* Base58.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Base58.swift; sourceTree = ""; }; + 6CD77D1BE5D2AE478714D545 /* SipHash.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SipHash.framework; sourceTree = ""; }; + AAA548395120FE2402DA48FB /* Base58SwiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Base58SwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + C07CFC244A7B03A4CC5C3D2B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + CE269206C148FADF6BF500A6 /* BigInt.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BigInt.framework; sourceTree = ""; }; + DCF47794ED0F93AB7D49C9A7 /* Base58SwiftTests.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.cfbundle; path = Base58SwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E0FE375CAF81D15BA90E113B /* Base58Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Base58Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E59E287740D294E84DCF4580 /* BigInt.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = BigInt.framework; sourceTree = ""; }; + FB6AA61A3436FAF13DC31B92 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FC5D5694FA28B3CF29CDCA11 /* Base58Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Base58Swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 403911B50639884DE244F409 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 68ECD9A721F5D09F0749AE42 /* Base58Swift.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7CB7320AE821AA28D5401BD3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B0232B95BF642225E870D36E /* BigInt.framework in Frameworks */, + 195B8674C525FC927DA0061B /* SipHash.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7E2AF63E1C5EB2DAE050ED08 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BFEC1554799B24B556ACD794 /* Base58Swift.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C857B736B3B7CBE25DF422F2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CD08468EE971322521114B0D /* BigInt.framework in Frameworks */, + 6D51A30CECF4D275D160F81F /* SipHash.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0A372ADD1303548BBB50EC88 /* Base58SwiftTests */ = { + isa = PBXGroup; + children = ( + 24C44B5ABFF15EC45F22CDAD /* Base58Tests.swift */, + C07CFC244A7B03A4CC5C3D2B /* Info.plist */, + ); + path = Base58SwiftTests; + sourceTree = ""; + }; + 1837F4FBB1B749FE425C0DD6 = { + isa = PBXGroup; + children = ( + 1883D37765FC050FF3582A2D /* Base58Swift */, + 0A372ADD1303548BBB50EC88 /* Base58SwiftTests */, + D3161D729F95B707FE81EB80 /* Frameworks */, + 6359C8BD66F4631DCA4915B6 /* Products */, + ); + sourceTree = ""; + }; + 1883D37765FC050FF3582A2D /* Base58Swift */ = { + isa = PBXGroup; + children = ( + 51EF5B6E683B82620590F3AD /* Base58.swift */, + FB6AA61A3436FAF13DC31B92 /* Info.plist */, + ); + path = Base58Swift; + sourceTree = ""; + }; + 3E4D4A94506F0BD81B976899 /* Mac */ = { + isa = PBXGroup; + children = ( + CE269206C148FADF6BF500A6 /* BigInt.framework */, + 6CD77D1BE5D2AE478714D545 /* SipHash.framework */, + ); + path = Mac; + sourceTree = ""; + }; + 6359C8BD66F4631DCA4915B6 /* Products */ = { + isa = PBXGroup; + children = ( + FC5D5694FA28B3CF29CDCA11 /* Base58Swift.framework */, + E0FE375CAF81D15BA90E113B /* Base58Swift.framework */, + DCF47794ED0F93AB7D49C9A7 /* Base58SwiftTests.xctest */, + AAA548395120FE2402DA48FB /* Base58SwiftTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 7264BDECA9691BFF4D2DC641 /* Carthage */ = { + isa = PBXGroup; + children = ( + A628D693D7D998D8DC441416 /* iOS */, + 3E4D4A94506F0BD81B976899 /* Mac */, + ); + name = Carthage; + path = Carthage/Build; + sourceTree = ""; + }; + A628D693D7D998D8DC441416 /* iOS */ = { + isa = PBXGroup; + children = ( + E59E287740D294E84DCF4580 /* BigInt.framework */, + 4576115A8EB92FEF91A1F130 /* SipHash.framework */, + ); + path = iOS; + sourceTree = ""; + }; + D3161D729F95B707FE81EB80 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7264BDECA9691BFF4D2DC641 /* Carthage */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 6E48872D9249965C98B8751B /* Base58Swift_iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 062A4166BE2024BFFC98D6E1 /* Build configuration list for PBXNativeTarget "Base58Swift_iOS" */; + buildPhases = ( + D8BC984CACB99386D835A8F6 /* Sources */, + 18CB18A85326E442538CF978 /* SwiftLint */, + C857B736B3B7CBE25DF422F2 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Base58Swift_iOS; + productName = Base58Swift_iOS; + productReference = FC5D5694FA28B3CF29CDCA11 /* Base58Swift.framework */; + productType = "com.apple.product-type.framework"; + }; + 7D672358838D1DB7E172BE19 /* Base58SwiftTests_iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = D28551A4E9E535A00F163C98 /* Build configuration list for PBXNativeTarget "Base58SwiftTests_iOS" */; + buildPhases = ( + E30EC032FBB22EBDC3C594FA /* Sources */, + 403911B50639884DE244F409 /* Frameworks */, + D7BBE3C099CC08B8D270E82D /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 6E347C7829C9E00E1B09B537 /* PBXTargetDependency */, + ); + name = Base58SwiftTests_iOS; + productName = Base58SwiftTests_iOS; + productReference = DCF47794ED0F93AB7D49C9A7 /* Base58SwiftTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + A42D3656560EFB1598FB594D /* Base58Swift_macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3CC931D3193A837B20D46BC3 /* Build configuration list for PBXNativeTarget "Base58Swift_macOS" */; + buildPhases = ( + 13BEB8437A355B0F63CA5186 /* Sources */, + 836D7AF445A97E1216598BA1 /* SwiftLint */, + 7CB7320AE821AA28D5401BD3 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Base58Swift_macOS; + productName = Base58Swift_macOS; + productReference = E0FE375CAF81D15BA90E113B /* Base58Swift.framework */; + productType = "com.apple.product-type.framework"; + }; + F16F6BB4A6A9ED0AF8AA1279 /* Base58SwiftTests_macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 90F642E510E744A1C78F0B0A /* Build configuration list for PBXNativeTarget "Base58SwiftTests_macOS" */; + buildPhases = ( + 6720107AFD1F352B358594E6 /* Sources */, + 7E2AF63E1C5EB2DAE050ED08 /* Frameworks */, + 9F629B574157067FBF765320 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 6B2BD7789E91C5E483A6D0A3 /* PBXTargetDependency */, + ); + name = Base58SwiftTests_macOS; + productName = Base58SwiftTests_macOS; + productReference = AAA548395120FE2402DA48FB /* Base58SwiftTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 93D86F207E5DC94AA3F6EB28 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1020; + }; + buildConfigurationList = 96988A46702FDFE010B86F64 /* Build configuration list for PBXProject "Base58Swift" */; + compatibilityVersion = "Xcode 10.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 1837F4FBB1B749FE425C0DD6; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 7D672358838D1DB7E172BE19 /* Base58SwiftTests_iOS */, + F16F6BB4A6A9ED0AF8AA1279 /* Base58SwiftTests_macOS */, + 6E48872D9249965C98B8751B /* Base58Swift_iOS */, + A42D3656560EFB1598FB594D /* Base58Swift_macOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 18CB18A85326E442538CF978 /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "swiftlint autocorrect --config .swiftlint.yml"; + }; + 836D7AF445A97E1216598BA1 /* SwiftLint */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = SwiftLint; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "swiftlint autocorrect --config .swiftlint.yml"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 13BEB8437A355B0F63CA5186 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6F7CBD76D9A8AE61157D2886 /* Base58.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6720107AFD1F352B358594E6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B83506B723681742A8D07872 /* Base58Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D8BC984CACB99386D835A8F6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2B2B1789E887A630326219CC /* Base58.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E30EC032FBB22EBDC3C594FA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7298F6648C159B94417741E7 /* Base58Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6B2BD7789E91C5E483A6D0A3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A42D3656560EFB1598FB594D /* Base58Swift_macOS */; + targetProxy = 4C0D5DFD30E33ACFE1646456 /* PBXContainerItemProxy */; + }; + 6E347C7829C9E00E1B09B537 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6E48872D9249965C98B8751B /* Base58Swift_iOS */; + targetProxy = DBAAC1FB2443E922F7A37B22 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 03169C1DFA0A187EE88E73D0 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks $(PROJECT_DIR)/Carthage/Build/iOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_VERSION = 5.0; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 0FA4A3F4D01626A0BF458AD1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = Base58SwiftTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58SwiftTests-iOS"; + PRODUCT_NAME = Base58SwiftTests; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 15416736931B3E0FF2C01A48 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = Base58Swift/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58Swift-iOS"; + PRODUCT_NAME = Base58Swift; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 15C037A95A4C7648FE1E5BC5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = Base58Swift/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58Swift-iOS"; + PRODUCT_NAME = Base58Swift; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 83A1925C155627AF96ED8EC7 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/Mac", + ); + INFOPLIST_FILE = Base58Swift/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58Swift-macOS"; + PRODUCT_NAME = Base58Swift; + SDKROOT = macosx; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 940EA803E420517045CC5A48 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/Mac", + ); + INFOPLIST_FILE = Base58SwiftTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58SwiftTests-macOS"; + PRODUCT_NAME = Base58SwiftTests; + SDKROOT = macosx; + }; + name = Release; + }; + 9DBB6A6A811E7199CE249D57 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/Mac", + ); + INFOPLIST_FILE = Base58Swift/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58Swift-macOS"; + PRODUCT_NAME = Base58Swift; + SDKROOT = macosx; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + D0DBF18422F801E09D8CD4B1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/iOS", + ); + INFOPLIST_FILE = Base58SwiftTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58SwiftTests-iOS"; + PRODUCT_NAME = Base58SwiftTests; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + D3015AAD265EFFA6D87F1540 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Carthage/Build/Mac", + ); + INFOPLIST_FILE = Base58SwiftTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.keefertaylor.Base58SwiftTests-macOS"; + PRODUCT_NAME = Base58SwiftTests; + SDKROOT = macosx; + }; + name = Debug; + }; + E1CD350BFF233B508F6E3696 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "DEBUG=1", + ); + 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; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks $(PROJECT_DIR)/Carthage/Build/iOS"; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 062A4166BE2024BFFC98D6E1 /* Build configuration list for PBXNativeTarget "Base58Swift_iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15416736931B3E0FF2C01A48 /* Debug */, + 15C037A95A4C7648FE1E5BC5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + 3CC931D3193A837B20D46BC3 /* Build configuration list for PBXNativeTarget "Base58Swift_macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9DBB6A6A811E7199CE249D57 /* Debug */, + 83A1925C155627AF96ED8EC7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + 90F642E510E744A1C78F0B0A /* Build configuration list for PBXNativeTarget "Base58SwiftTests_macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D3015AAD265EFFA6D87F1540 /* Debug */, + 940EA803E420517045CC5A48 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + 96988A46702FDFE010B86F64 /* Build configuration list for PBXProject "Base58Swift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E1CD350BFF233B508F6E3696 /* Debug */, + 03169C1DFA0A187EE88E73D0 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + D28551A4E9E535A00F163C98 /* Build configuration list for PBXNativeTarget "Base58SwiftTests_iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D0DBF18422F801E09D8CD4B1 /* Debug */, + 0FA4A3F4D01626A0BF458AD1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; +/* End XCConfigurationList section */ + }; + rootObject = 93D86F207E5DC94AA3F6EB28 /* Project object */; +} diff --git a/Base58Swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Base58Swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Base58Swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_iOS.xcscheme b/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_iOS.xcscheme new file mode 100644 index 0000000..43463c8 --- /dev/null +++ b/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_iOS.xcscheme @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_macOS.xcscheme b/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_macOS.xcscheme new file mode 100644 index 0000000..1b32ca2 --- /dev/null +++ b/Base58Swift.xcodeproj/xcshareddata/xcschemes/Base58Swift_macOS.xcscheme @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +