From 1f26f6db7a7e8782fce38d2bc17ee0f00817b951 Mon Sep 17 00:00:00 2001 From: Ian G Date: Tue, 4 Sep 2018 16:44:23 -0400 Subject: [PATCH 1/2] Dynamic Framework support --- Framework Support/GeoJSON.h | 18 + Framework Support/Info.plist | 24 + GeoJSON.swift.xcodeproj/project.pbxproj | 493 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/GeoJSON.swift.xcscheme | 99 ++++ .../xcschemes/GeoJSON.swiftTests.xcscheme | 56 ++ 7 files changed, 705 insertions(+) create mode 100644 Framework Support/GeoJSON.h create mode 100644 Framework Support/Info.plist create mode 100644 GeoJSON.swift.xcodeproj/project.pbxproj create mode 100644 GeoJSON.swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 GeoJSON.swift.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme create mode 100644 GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme diff --git a/Framework Support/GeoJSON.h b/Framework Support/GeoJSON.h new file mode 100644 index 0000000..7f90491 --- /dev/null +++ b/Framework Support/GeoJSON.h @@ -0,0 +1,18 @@ +// +// GeoJSON.h +// GeoJSON +// +// Created by Ian Grossberg on 9/4/18. +// + +#import + +//! Project version number for GeoJSON. +FOUNDATION_EXPORT double GeoJSONVersionNumber; + +//! Project version string for GeoJSON. +FOUNDATION_EXPORT const unsigned char GeoJSONVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Framework Support/Info.plist b/Framework Support/Info.plist new file mode 100644 index 0000000..da2cb9e --- /dev/null +++ b/Framework Support/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.3.2 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/GeoJSON.swift.xcodeproj/project.pbxproj b/GeoJSON.swift.xcodeproj/project.pbxproj new file mode 100644 index 0000000..45a3801 --- /dev/null +++ b/GeoJSON.swift.xcodeproj/project.pbxproj @@ -0,0 +1,493 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 3C7E3FA4213F24F500BED762 /* GeoJSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C7E3FA2213F24F500BED762 /* GeoJSON.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3C7E3FC1213F260000BED762 /* .gitkeep in Resources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBA213F260000BED762 /* .gitkeep */; }; + 3C7E3FC2213F260000BED762 /* GeoJSONLineString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBB213F260000BED762 /* GeoJSONLineString.swift */; }; + 3C7E3FC3213F260000BED762 /* GeoJSONMulti.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBC213F260000BED762 /* GeoJSONMulti.swift */; }; + 3C7E3FC4213F260000BED762 /* GeoJSONFeature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBD213F260000BED762 /* GeoJSONFeature.swift */; }; + 3C7E3FC5213F260000BED762 /* GeoJSONPolygon.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBE213F260000BED762 /* GeoJSONPolygon.swift */; }; + 3C7E3FC6213F260000BED762 /* GeoJSONFeatureCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBF213F260000BED762 /* GeoJSONFeatureCollection.swift */; }; + 3C7E3FC7213F260000BED762 /* GeoJSONPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */; }; + 3C7E3FD1213F283D00BED762 /* GeoJSON_swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */; }; + 3C7E3FDA213F285800BED762 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FD8213F285800BED762 /* Tests.swift */; }; + 3C7E3FDB213F285800BED762 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3C7E3FD9213F285800BED762 /* Info.plist */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 3C7E3FD2213F283D00BED762 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3C7E3F96213F24F500BED762 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3C7E3F9E213F24F500BED762; + remoteInfo = GeoJSON.swift; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GeoJSON_swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3C7E3FA2213F24F500BED762 /* GeoJSON.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeoJSON.h; sourceTree = ""; }; + 3C7E3FA3213F24F500BED762 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3C7E3FBA213F260000BED762 /* .gitkeep */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitkeep; sourceTree = ""; }; + 3C7E3FBB213F260000BED762 /* GeoJSONLineString.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONLineString.swift; sourceTree = ""; }; + 3C7E3FBC213F260000BED762 /* GeoJSONMulti.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONMulti.swift; sourceTree = ""; }; + 3C7E3FBD213F260000BED762 /* GeoJSONFeature.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONFeature.swift; sourceTree = ""; }; + 3C7E3FBE213F260000BED762 /* GeoJSONPolygon.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONPolygon.swift; sourceTree = ""; }; + 3C7E3FBF213F260000BED762 /* GeoJSONFeatureCollection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONFeatureCollection.swift; sourceTree = ""; }; + 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONPoint.swift; sourceTree = ""; }; + 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GeoJSON.swiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 3C7E3FD8213F285800BED762 /* Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; + 3C7E3FD9213F285800BED762 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3C7E3F9B213F24F500BED762 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3C7E3FC9213F283D00BED762 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FD1213F283D00BED762 /* GeoJSON_swift.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3C7E3F95213F24F500BED762 = { + isa = PBXGroup; + children = ( + 3C7E3FB9213F260000BED762 /* Classes */, + 3C7E3FA1213F24F500BED762 /* Framework Support */, + 3C7E3FD7213F285800BED762 /* Tests */, + 3C7E3FA0213F24F500BED762 /* Products */, + ); + sourceTree = ""; + }; + 3C7E3FA0213F24F500BED762 /* Products */ = { + isa = PBXGroup; + children = ( + 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */, + 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 3C7E3FA1213F24F500BED762 /* Framework Support */ = { + isa = PBXGroup; + children = ( + 3C7E3FA2213F24F500BED762 /* GeoJSON.h */, + 3C7E3FA3213F24F500BED762 /* Info.plist */, + ); + path = "Framework Support"; + sourceTree = ""; + }; + 3C7E3FB9213F260000BED762 /* Classes */ = { + isa = PBXGroup; + children = ( + 3C7E3FBA213F260000BED762 /* .gitkeep */, + 3C7E3FBB213F260000BED762 /* GeoJSONLineString.swift */, + 3C7E3FBC213F260000BED762 /* GeoJSONMulti.swift */, + 3C7E3FBD213F260000BED762 /* GeoJSONFeature.swift */, + 3C7E3FBE213F260000BED762 /* GeoJSONPolygon.swift */, + 3C7E3FBF213F260000BED762 /* GeoJSONFeatureCollection.swift */, + 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */, + ); + name = Classes; + path = Pod/Classes; + sourceTree = ""; + }; + 3C7E3FD7213F285800BED762 /* Tests */ = { + isa = PBXGroup; + children = ( + 3C7E3FD8213F285800BED762 /* Tests.swift */, + 3C7E3FD9213F285800BED762 /* Info.plist */, + ); + name = Tests; + path = ../../Adorkable/Tracks/repo/Carthage/Checkouts/GeoJSON.swift/Example/Tests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 3C7E3F9C213F24F500BED762 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FA4213F24F500BED762 /* GeoJSON.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift" */; + buildPhases = ( + 3C7E3F9A213F24F500BED762 /* Sources */, + 3C7E3F9B213F24F500BED762 /* Frameworks */, + 3C7E3F9C213F24F500BED762 /* Headers */, + 3C7E3F9D213F24F500BED762 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = GeoJSON.swift; + productName = GeoJSON; + productReference = 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */; + productType = "com.apple.product-type.framework"; + }; + 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests" */; + buildPhases = ( + 3C7E3FC8213F283D00BED762 /* Sources */, + 3C7E3FC9213F283D00BED762 /* Frameworks */, + 3C7E3FCA213F283D00BED762 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3C7E3FD3213F283D00BED762 /* PBXTargetDependency */, + ); + name = GeoJSON.swiftTests; + productName = GeoJSON_swiftTests; + productReference = 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3C7E3F96213F24F500BED762 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0940; + LastUpgradeCheck = 0940; + TargetAttributes = { + 3C7E3F9E213F24F500BED762 = { + CreatedOnToolsVersion = 9.4.1; + }; + 3C7E3FCB213F283D00BED762 = { + CreatedOnToolsVersion = 9.4.1; + }; + }; + }; + buildConfigurationList = 3C7E3F99213F24F500BED762 /* Build configuration list for PBXProject "GeoJSON.swift" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 3C7E3F95213F24F500BED762; + productRefGroup = 3C7E3FA0213F24F500BED762 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */, + 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3C7E3F9D213F24F500BED762 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FC1213F260000BED762 /* .gitkeep in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3C7E3FCA213F283D00BED762 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FDB213F285800BED762 /* Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3C7E3F9A213F24F500BED762 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FC5213F260000BED762 /* GeoJSONPolygon.swift in Sources */, + 3C7E3FC2213F260000BED762 /* GeoJSONLineString.swift in Sources */, + 3C7E3FC3213F260000BED762 /* GeoJSONMulti.swift in Sources */, + 3C7E3FC6213F260000BED762 /* GeoJSONFeatureCollection.swift in Sources */, + 3C7E3FC7213F260000BED762 /* GeoJSONPoint.swift in Sources */, + 3C7E3FC4213F260000BED762 /* GeoJSONFeature.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3C7E3FC8213F283D00BED762 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C7E3FDA213F285800BED762 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 3C7E3FD3213F283D00BED762 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */; + targetProxy = 3C7E3FD2213F283D00BED762 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 3C7E3FA5213F24F500BED762 /* 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_ENABLE_OBJC_WEAK = 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; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + 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 = ( + "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; + IPHONEOS_DEPLOYMENT_TARGET = 11.4; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 3C7E3FA6213F24F500BED762 /* 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_ENABLE_OBJC_WEAK = 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; + CODE_SIGN_IDENTITY = "iPhone Developer"; + 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 = 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; + IPHONEOS_DEPLOYMENT_TARGET = 11.4; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 3C7E3FA8213F24F500BED762 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Framework Support/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 3C7E3FA9213F24F500BED762 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Framework Support/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 3C7E3FD5213F283D00BED762 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = Example/Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.harlanhaskins.GeoJSON.swift.GeoJSON-swiftTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 3C7E3FD6213F283D00BED762 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = Example/Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "com.harlanhaskins.GeoJSON.swift.GeoJSON-swiftTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3C7E3F99213F24F500BED762 /* Build configuration list for PBXProject "GeoJSON.swift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3C7E3FA5213F24F500BED762 /* Debug */, + 3C7E3FA6213F24F500BED762 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3C7E3FA8213F24F500BED762 /* Debug */, + 3C7E3FA9213F24F500BED762 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3C7E3FD5213F283D00BED762 /* Debug */, + 3C7E3FD6213F283D00BED762 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3C7E3F96213F24F500BED762 /* Project object */; +} diff --git a/GeoJSON.swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/GeoJSON.swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b68aa41 --- /dev/null +++ b/GeoJSON.swift.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/GeoJSON.swift.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/GeoJSON.swift.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/GeoJSON.swift.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme new file mode 100644 index 0000000..3b54546 --- /dev/null +++ b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme new file mode 100644 index 0000000..01a088f --- /dev/null +++ b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + From ed9a489b1c684838a04d6ab8ad39176c56e9b6fb Mon Sep 17 00:00:00 2001 From: Ian G Date: Wed, 10 Oct 2018 19:41:10 -0400 Subject: [PATCH 2/2] macOS support --- Framework Support/GeoJSON.h | 2 +- GeoJSON.swift.xcodeproj/project.pbxproj | 287 ++++++++++++++++-- ...ft.xcscheme => GeoJSON.swift-iOS.xcscheme} | 20 +- .../xcschemes/GeoJSON.swift-macOS.xcscheme | 99 ++++++ .../xcschemes/GeoJSON.swiftTests.xcscheme | 56 ---- 5 files changed, 376 insertions(+), 88 deletions(-) rename GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/{GeoJSON.swift.xcscheme => GeoJSON.swift-iOS.xcscheme} (85%) create mode 100644 GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-macOS.xcscheme delete mode 100644 GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme diff --git a/Framework Support/GeoJSON.h b/Framework Support/GeoJSON.h index 7f90491..0a0eabf 100644 --- a/Framework Support/GeoJSON.h +++ b/Framework Support/GeoJSON.h @@ -5,7 +5,7 @@ // Created by Ian Grossberg on 9/4/18. // -#import +#import //! Project version number for GeoJSON. FOUNDATION_EXPORT double GeoJSONVersionNumber; diff --git a/GeoJSON.swift.xcodeproj/project.pbxproj b/GeoJSON.swift.xcodeproj/project.pbxproj index 45a3801..5afb169 100644 --- a/GeoJSON.swift.xcodeproj/project.pbxproj +++ b/GeoJSON.swift.xcodeproj/project.pbxproj @@ -17,7 +17,15 @@ 3C7E3FC7213F260000BED762 /* GeoJSONPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */; }; 3C7E3FD1213F283D00BED762 /* GeoJSON_swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */; }; 3C7E3FDA213F285800BED762 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FD8213F285800BED762 /* Tests.swift */; }; - 3C7E3FDB213F285800BED762 /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3C7E3FD9213F285800BED762 /* Info.plist */; }; + 3CC48A15216EC42E0088E219 /* GeoJSON_swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3CC48A0C216EC42D0088E219 /* GeoJSON_swift.framework */; }; + 3CC48A23216EC4AB0088E219 /* GeoJSONLineString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBB213F260000BED762 /* GeoJSONLineString.swift */; }; + 3CC48A24216EC4AB0088E219 /* GeoJSONMulti.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBC213F260000BED762 /* GeoJSONMulti.swift */; }; + 3CC48A25216EC4AB0088E219 /* GeoJSONFeature.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBD213F260000BED762 /* GeoJSONFeature.swift */; }; + 3CC48A26216EC4AB0088E219 /* GeoJSONPolygon.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBE213F260000BED762 /* GeoJSONPolygon.swift */; }; + 3CC48A27216EC4AB0088E219 /* GeoJSONFeatureCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FBF213F260000BED762 /* GeoJSONFeatureCollection.swift */; }; + 3CC48A28216EC4AB0088E219 /* GeoJSONPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */; }; + 3CC48A29216EC4AE0088E219 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C7E3FD8213F285800BED762 /* Tests.swift */; }; + 3CC48A2A216EC4B70088E219 /* GeoJSON.h in Headers */ = {isa = PBXBuildFile; fileRef = 3C7E3FA2213F24F500BED762 /* GeoJSON.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -28,6 +36,13 @@ remoteGlobalIDString = 3C7E3F9E213F24F500BED762; remoteInfo = GeoJSON.swift; }; + 3CC48A16216EC42E0088E219 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3C7E3F96213F24F500BED762 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3CC48A0B216EC42D0088E219; + remoteInfo = "GeoJSON.swift-macOS"; + }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -41,9 +56,11 @@ 3C7E3FBE213F260000BED762 /* GeoJSONPolygon.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONPolygon.swift; sourceTree = ""; }; 3C7E3FBF213F260000BED762 /* GeoJSONFeatureCollection.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONFeatureCollection.swift; sourceTree = ""; }; 3C7E3FC0213F260000BED762 /* GeoJSONPoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeoJSONPoint.swift; sourceTree = ""; }; - 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GeoJSON.swiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests-iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "GeoJSON.swiftTests-iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 3C7E3FD8213F285800BED762 /* Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 3C7E3FD9213F285800BED762 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 3CC48A0C216EC42D0088E219 /* GeoJSON_swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = GeoJSON_swift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3CC48A14216EC42E0088E219 /* GeoJSON.swiftTests-macOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "GeoJSON.swiftTests-macOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -62,6 +79,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 3CC48A09216EC42D0088E219 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3CC48A11216EC42E0088E219 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC48A15216EC42E0088E219 /* GeoJSON_swift.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -79,7 +111,9 @@ isa = PBXGroup; children = ( 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */, - 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */, + 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests-iOS.xctest */, + 3CC48A0C216EC42D0088E219 /* GeoJSON_swift.framework */, + 3CC48A14216EC42E0088E219 /* GeoJSON.swiftTests-macOS.xctest */, ); name = Products; sourceTree = ""; @@ -129,12 +163,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 3CC48A07216EC42D0088E219 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC48A2A216EC4B70088E219 /* GeoJSON.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */ = { + 3C7E3F9E213F24F500BED762 /* GeoJSON.swift-iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift" */; + buildConfigurationList = 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift-iOS" */; buildPhases = ( 3C7E3F9A213F24F500BED762 /* Sources */, 3C7E3F9B213F24F500BED762 /* Frameworks */, @@ -145,14 +187,14 @@ ); dependencies = ( ); - name = GeoJSON.swift; + name = "GeoJSON.swift-iOS"; productName = GeoJSON; productReference = 3C7E3F9F213F24F500BED762 /* GeoJSON_swift.framework */; productType = "com.apple.product-type.framework"; }; - 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests */ = { + 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests-iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests" */; + buildConfigurationList = 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests-iOS" */; buildPhases = ( 3C7E3FC8213F283D00BED762 /* Sources */, 3C7E3FC9213F283D00BED762 /* Frameworks */, @@ -163,9 +205,45 @@ dependencies = ( 3C7E3FD3213F283D00BED762 /* PBXTargetDependency */, ); - name = GeoJSON.swiftTests; + name = "GeoJSON.swiftTests-iOS"; productName = GeoJSON_swiftTests; - productReference = 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests.xctest */; + productReference = 3C7E3FCC213F283D00BED762 /* GeoJSON.swiftTests-iOS.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 3CC48A0B216EC42D0088E219 /* GeoJSON.swift-macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3CC48A21216EC42E0088E219 /* Build configuration list for PBXNativeTarget "GeoJSON.swift-macOS" */; + buildPhases = ( + 3CC48A07216EC42D0088E219 /* Headers */, + 3CC48A08216EC42D0088E219 /* Sources */, + 3CC48A09216EC42D0088E219 /* Frameworks */, + 3CC48A0A216EC42D0088E219 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "GeoJSON.swift-macOS"; + productName = "GeoJSON.swift-macOS"; + productReference = 3CC48A0C216EC42D0088E219 /* GeoJSON_swift.framework */; + productType = "com.apple.product-type.framework"; + }; + 3CC48A13216EC42E0088E219 /* GeoJSON.swiftTests-macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3CC48A22216EC42E0088E219 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests-macOS" */; + buildPhases = ( + 3CC48A10216EC42E0088E219 /* Sources */, + 3CC48A11216EC42E0088E219 /* Frameworks */, + 3CC48A12216EC42E0088E219 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3CC48A17216EC42E0088E219 /* PBXTargetDependency */, + ); + name = "GeoJSON.swiftTests-macOS"; + productName = "GeoJSON.swift-macOSTests"; + productReference = 3CC48A14216EC42E0088E219 /* GeoJSON.swiftTests-macOS.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -174,7 +252,7 @@ 3C7E3F96213F24F500BED762 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0940; + LastSwiftUpdateCheck = 1000; LastUpgradeCheck = 0940; TargetAttributes = { 3C7E3F9E213F24F500BED762 = { @@ -183,6 +261,12 @@ 3C7E3FCB213F283D00BED762 = { CreatedOnToolsVersion = 9.4.1; }; + 3CC48A0B216EC42D0088E219 = { + CreatedOnToolsVersion = 10.0; + }; + 3CC48A13216EC42E0088E219 = { + CreatedOnToolsVersion = 10.0; + }; }; }; buildConfigurationList = 3C7E3F99213F24F500BED762 /* Build configuration list for PBXProject "GeoJSON.swift" */; @@ -197,8 +281,10 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */, - 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests */, + 3C7E3F9E213F24F500BED762 /* GeoJSON.swift-iOS */, + 3C7E3FCB213F283D00BED762 /* GeoJSON.swiftTests-iOS */, + 3CC48A0B216EC42D0088E219 /* GeoJSON.swift-macOS */, + 3CC48A13216EC42E0088E219 /* GeoJSON.swiftTests-macOS */, ); }; /* End PBXProject section */ @@ -216,7 +302,20 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 3C7E3FDB213F285800BED762 /* Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3CC48A0A216EC42D0088E219 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3CC48A12216EC42E0088E219 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( ); runOnlyForDeploymentPostprocessing = 0; }; @@ -244,14 +343,40 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 3CC48A08216EC42D0088E219 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC48A26216EC4AB0088E219 /* GeoJSONPolygon.swift in Sources */, + 3CC48A23216EC4AB0088E219 /* GeoJSONLineString.swift in Sources */, + 3CC48A24216EC4AB0088E219 /* GeoJSONMulti.swift in Sources */, + 3CC48A27216EC4AB0088E219 /* GeoJSONFeatureCollection.swift in Sources */, + 3CC48A28216EC4AB0088E219 /* GeoJSONPoint.swift in Sources */, + 3CC48A25216EC4AB0088E219 /* GeoJSONFeature.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3CC48A10216EC42E0088E219 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3CC48A29216EC4AE0088E219 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 3C7E3FD3213F283D00BED762 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 3C7E3F9E213F24F500BED762 /* GeoJSON.swift */; + target = 3C7E3F9E213F24F500BED762 /* GeoJSON.swift-iOS */; targetProxy = 3C7E3FD2213F283D00BED762 /* PBXContainerItemProxy */; }; + 3CC48A17216EC42E0088E219 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3CC48A0B216EC42D0088E219 /* GeoJSON.swift-macOS */; + targetProxy = 3CC48A16216EC42E0088E219 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ @@ -391,8 +516,8 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift.iOS; + PRODUCT_NAME = GeoJSON_swift; SKIP_INSTALL = YES; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -415,8 +540,8 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift.iOS; + PRODUCT_NAME = GeoJSON_swift; SKIP_INSTALL = YES; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -457,6 +582,108 @@ }; name = Release; }; + 3CC48A1D216EC42E0088E219 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + 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 = "$(SRCROOT)/Framework Support/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift.macOS; + PRODUCT_NAME = GeoJSON_swift; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + }; + name = Debug; + }; + 3CC48A1E216EC42E0088E219 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + 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 = "$(SRCROOT)/Framework Support/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.harlanhaskins.GeoJSON.swift.macOS; + PRODUCT_NAME = GeoJSON_swift; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SWIFT_VERSION = 4.2; + }; + name = Release; + }; + 3CC48A1F216EC42E0088E219 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Example/Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.adorkable.GeoJSON-swift-macOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SWIFT_VERSION = 4.2; + }; + name = Debug; + }; + 3CC48A20216EC42E0088E219 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Example/Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.adorkable.GeoJSON-swift-macOSTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SWIFT_VERSION = 4.2; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -469,7 +696,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift" */ = { + 3C7E3FA7213F24F500BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swift-iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 3C7E3FA8213F24F500BED762 /* Debug */, @@ -478,7 +705,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests" */ = { + 3C7E3FD4213F283D00BED762 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests-iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 3C7E3FD5213F283D00BED762 /* Debug */, @@ -487,6 +714,24 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 3CC48A21216EC42E0088E219 /* Build configuration list for PBXNativeTarget "GeoJSON.swift-macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3CC48A1D216EC42E0088E219 /* Debug */, + 3CC48A1E216EC42E0088E219 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3CC48A22216EC42E0088E219 /* Build configuration list for PBXNativeTarget "GeoJSON.swiftTests-macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3CC48A1F216EC42E0088E219 /* Debug */, + 3CC48A20216EC42E0088E219 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 3C7E3F96213F24F500BED762 /* Project object */; diff --git a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-iOS.xcscheme similarity index 85% rename from GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme rename to GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-iOS.xcscheme index 3b54546..0107028 100644 --- a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift.xcscheme +++ b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-iOS.xcscheme @@ -15,8 +15,8 @@ @@ -33,8 +33,8 @@ @@ -43,8 +43,8 @@ @@ -65,8 +65,8 @@ @@ -83,8 +83,8 @@ diff --git a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-macOS.xcscheme b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-macOS.xcscheme new file mode 100644 index 0000000..9239cbd --- /dev/null +++ b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swift-macOS.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme b/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme deleted file mode 100644 index 01a088f..0000000 --- a/GeoJSON.swift.xcodeproj/xcshareddata/xcschemes/GeoJSON.swiftTests.xcscheme +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -