From d584c9101d5045af93832af903410407babafd3d Mon Sep 17 00:00:00 2001 From: Vadym Markov Date: Tue, 15 Dec 2015 10:02:46 +0100 Subject: [PATCH 1/5] Move project --- Compass.xcodeproj/project.pbxproj | 389 ++++++++++++++++++ .../contents.xcworkspacedata | 2 +- .../xcschemes/Compass iOS.xcscheme | 60 +-- Pod/Pod.xcodeproj/project.pbxproj | 306 -------------- Pod/Podfile | 7 - SupportFiles/Info.plist | 26 ++ {Pod/Tests => Tests}/Info.plist | 2 +- {Pod/Tests => Tests}/TestCompass.swift | 1 + 8 files changed, 440 insertions(+), 353 deletions(-) create mode 100644 Compass.xcodeproj/project.pbxproj rename {Pod/Pod.xcodeproj => Compass.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (71%) rename Pod/Pod.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme => Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme (55%) delete mode 100644 Pod/Pod.xcodeproj/project.pbxproj delete mode 100644 Pod/Podfile create mode 100644 SupportFiles/Info.plist rename {Pod/Tests => Tests}/Info.plist (91%) rename {Pod/Tests => Tests}/TestCompass.swift (99%) diff --git a/Compass.xcodeproj/project.pbxproj b/Compass.xcodeproj/project.pbxproj new file mode 100644 index 0000000..cb4acc2 --- /dev/null +++ b/Compass.xcodeproj/project.pbxproj @@ -0,0 +1,389 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + D5DC59641C200D55003BD79B /* Compass.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D5DC59591C200D55003BD79B /* Compass.framework */; }; + D5DC597B1C200DF1003BD79B /* TestCompass.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5DC59751C200DEC003BD79B /* TestCompass.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D5DC59651C200D55003BD79B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D5DC59501C200D55003BD79B /* Project object */; + proxyType = 1; + remoteGlobalIDString = D5DC59581C200D55003BD79B; + remoteInfo = Compass; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + D5DC59591C200D55003BD79B /* Compass.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Compass.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D5DC59631C200D55003BD79B /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D5DC59741C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D5DC59751C200DEC003BD79B /* TestCompass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestCompass.swift; sourceTree = ""; }; + D5DC59771C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D5DC59551C200D55003BD79B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D5DC59601C200D55003BD79B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D5DC59641C200D55003BD79B /* Compass.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + D5DC594F1C200D55003BD79B = { + isa = PBXGroup; + children = ( + D5DC59731C200DEC003BD79B /* Tests */, + D5DC59761C200DEC003BD79B /* SupportFiles */, + D5DC595A1C200D55003BD79B /* Products */, + ); + sourceTree = ""; + }; + D5DC595A1C200D55003BD79B /* Products */ = { + isa = PBXGroup; + children = ( + D5DC59591C200D55003BD79B /* Compass.framework */, + D5DC59631C200D55003BD79B /* Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + D5DC59731C200DEC003BD79B /* Tests */ = { + isa = PBXGroup; + children = ( + D5DC59741C200DEC003BD79B /* Info.plist */, + D5DC59751C200DEC003BD79B /* TestCompass.swift */, + ); + path = Tests; + sourceTree = ""; + }; + D5DC59761C200DEC003BD79B /* SupportFiles */ = { + isa = PBXGroup; + children = ( + D5DC59771C200DEC003BD79B /* Info.plist */, + ); + path = SupportFiles; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + D5DC59561C200D55003BD79B /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + D5DC59581C200D55003BD79B /* Compass iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass iOS" */; + buildPhases = ( + D5DC59541C200D55003BD79B /* Sources */, + D5DC59551C200D55003BD79B /* Frameworks */, + D5DC59561C200D55003BD79B /* Headers */, + D5DC59571C200D55003BD79B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Compass iOS"; + productName = Compass; + productReference = D5DC59591C200D55003BD79B /* Compass.framework */; + productType = "com.apple.product-type.framework"; + }; + D5DC59621C200D55003BD79B /* Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Tests" */; + buildPhases = ( + D5DC595F1C200D55003BD79B /* Sources */, + D5DC59601C200D55003BD79B /* Frameworks */, + D5DC59611C200D55003BD79B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + D5DC59661C200D55003BD79B /* PBXTargetDependency */, + ); + name = Tests; + productName = CompassTests; + productReference = D5DC59631C200D55003BD79B /* Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D5DC59501C200D55003BD79B /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = "Hyper Interaktiv AS"; + TargetAttributes = { + D5DC59581C200D55003BD79B = { + CreatedOnToolsVersion = 7.2; + }; + D5DC59621C200D55003BD79B = { + CreatedOnToolsVersion = 7.2; + }; + }; + }; + buildConfigurationList = D5DC59531C200D55003BD79B /* Build configuration list for PBXProject "Compass" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = D5DC594F1C200D55003BD79B; + productRefGroup = D5DC595A1C200D55003BD79B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D5DC59581C200D55003BD79B /* Compass iOS */, + D5DC59621C200D55003BD79B /* Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + D5DC59571C200D55003BD79B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D5DC59611C200D55003BD79B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + D5DC59541C200D55003BD79B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D5DC595F1C200D55003BD79B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D5DC597B1C200DF1003BD79B /* TestCompass.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + D5DC59661C200D55003BD79B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D5DC59581C200D55003BD79B /* Compass iOS */; + targetProxy = D5DC59651C200D55003BD79B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + D5DC596B1C200D55003BD79B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + D5DC596C1C200D55003BD79B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "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 = 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; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + D5DC596E1C200D55003BD79B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/SupportFiles/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Compass; + PRODUCT_NAME = Compass; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + D5DC596F1C200D55003BD79B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/SupportFiles/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Compass; + PRODUCT_NAME = Compass; + SKIP_INSTALL = YES; + }; + name = Release; + }; + D5DC59711C200D55003BD79B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = no.hyper.CompassTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + D5DC59721C200D55003BD79B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = "$(SRCROOT)/Tests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = no.hyper.CompassTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D5DC59531C200D55003BD79B /* Build configuration list for PBXProject "Compass" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D5DC596B1C200D55003BD79B /* Debug */, + D5DC596C1C200D55003BD79B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D5DC596E1C200D55003BD79B /* Debug */, + D5DC596F1C200D55003BD79B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D5DC59711C200D55003BD79B /* Debug */, + D5DC59721C200D55003BD79B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D5DC59501C200D55003BD79B /* Project object */; +} diff --git a/Pod/Pod.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Compass.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 71% rename from Pod/Pod.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Compass.xcodeproj/project.xcworkspace/contents.xcworkspacedata index f63ae21..1a1ffd3 100644 --- a/Pod/Pod.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Compass.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:Compass.xcodeproj"> diff --git a/Pod/Pod.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme b/Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme similarity index 55% rename from Pod/Pod.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme rename to Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme index 55fcf52..67ad3ec 100644 --- a/Pod/Pod.xcodeproj/xcshareddata/xcschemes/Tests.xcscheme +++ b/Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme @@ -1,6 +1,6 @@ + BlueprintIdentifier = "D5DC59581C200D55003BD79B" + BuildableName = "Compass.framework" + BlueprintName = "Compass iOS" + ReferencedContainer = "container:Compass.xcodeproj"> + shouldUseLaunchSchemeArgsEnv = "YES"> - - - - - - - - + + + BlueprintIdentifier = "D5DC59581C200D55003BD79B" + BuildableName = "Compass.framework" + BlueprintName = "Compass iOS" + ReferencedContainer = "container:Compass.xcodeproj"> + BlueprintIdentifier = "D5DC59581C200D55003BD79B" + BuildableName = "Compass.framework" + BlueprintName = "Compass iOS" + ReferencedContainer = "container:Compass.xcodeproj"> diff --git a/Pod/Pod.xcodeproj/project.pbxproj b/Pod/Pod.xcodeproj/project.pbxproj deleted file mode 100644 index 5e75782..0000000 --- a/Pod/Pod.xcodeproj/project.pbxproj +++ /dev/null @@ -1,306 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - BD6929341BC528C60063E97E /* TestCompass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD6929331BC528C60063E97E /* TestCompass.swift */; }; - BD93420C1BC4FCF200F25395 /* Compass.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD93420B1BC4FCF200F25395 /* Compass.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 146D72AC1AB782920058798C /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 146D72B11AB782920058798C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 14C136511AB784B200B7B07A /* .travis.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = .travis.yml; path = ../.travis.yml; sourceTree = ""; }; - 14C136521AB784B200B7B07A /* CONTRIBUTING.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = CONTRIBUTING.md; path = ../CONTRIBUTING.md; sourceTree = ""; }; - 14C136541AB784B200B7B07A /* LICENSE.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = LICENSE.md; path = ../LICENSE.md; sourceTree = ""; }; - 14C136551AB784B200B7B07A /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; - BD6929331BC528C60063E97E /* TestCompass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestCompass.swift; sourceTree = ""; }; - BD93420B1BC4FCF200F25395 /* Compass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Compass.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 146D72A91AB782920058798C /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 146D728A1AB782920058798C = { - isa = PBXGroup; - children = ( - 14C1365B1AB784BC00B7B07A /* Source */, - 14C136501AB7849300B7B07A /* Metadata */, - 146D72AF1AB782920058798C /* Tests */, - 146D72941AB782920058798C /* Products */, - ); - indentWidth = 2; - sourceTree = ""; - tabWidth = 2; - }; - 146D72941AB782920058798C /* Products */ = { - isa = PBXGroup; - children = ( - 146D72AC1AB782920058798C /* Tests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 146D72AF1AB782920058798C /* Tests */ = { - isa = PBXGroup; - children = ( - 146D72B01AB782920058798C /* Supporting Files */, - BD6929331BC528C60063E97E /* TestCompass.swift */, - ); - path = Tests; - sourceTree = ""; - }; - 146D72B01AB782920058798C /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 146D72B11AB782920058798C /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - 14C136501AB7849300B7B07A /* Metadata */ = { - isa = PBXGroup; - children = ( - 14C136511AB784B200B7B07A /* .travis.yml */, - 14C136521AB784B200B7B07A /* CONTRIBUTING.md */, - 14C136541AB784B200B7B07A /* LICENSE.md */, - 14C136551AB784B200B7B07A /* README.md */, - ); - name = Metadata; - sourceTree = ""; - }; - 14C1365B1AB784BC00B7B07A /* Source */ = { - isa = PBXGroup; - children = ( - BD93420B1BC4FCF200F25395 /* Compass.swift */, - ); - name = Source; - path = ../Source; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 146D72AB1AB782920058798C /* Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 146D72B91AB782920058798C /* Build configuration list for PBXNativeTarget "Tests" */; - buildPhases = ( - 146D72A81AB782920058798C /* Sources */, - 146D72A91AB782920058798C /* Frameworks */, - 146D72AA1AB782920058798C /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Tests; - productName = PodTests; - productReference = 146D72AC1AB782920058798C /* Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 146D728B1AB782920058798C /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0620; - ORGANIZATIONNAME = Example; - TargetAttributes = { - 146D72AB1AB782920058798C = { - CreatedOnToolsVersion = 6.2; - }; - }; - }; - buildConfigurationList = 146D728E1AB782920058798C /* Build configuration list for PBXProject "Pod" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 146D728A1AB782920058798C; - productRefGroup = 146D72941AB782920058798C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 146D72AB1AB782920058798C /* Tests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 146D72AA1AB782920058798C /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 146D72A81AB782920058798C /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - BD6929341BC528C60063E97E /* TestCompass.swift in Sources */, - BD93420C1BC4FCF200F25395 /* Compass.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 146D72B41AB782920058798C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - 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 = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - }; - name = Debug; - }; - 146D72B51AB782920058798C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - 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 = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 146D72BA1AB782920058798C /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_OBJC_BRIDGING_HEADER = ""; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 146D72BB1AB782920058798C /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_OBJC_BRIDGING_HEADER = ""; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 146D728E1AB782920058798C /* Build configuration list for PBXProject "Pod" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 146D72B41AB782920058798C /* Debug */, - 146D72B51AB782920058798C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 146D72B91AB782920058798C /* Build configuration list for PBXNativeTarget "Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 146D72BA1AB782920058798C /* Debug */, - 146D72BB1AB782920058798C /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 146D728B1AB782920058798C /* Project object */; -} diff --git a/Pod/Podfile b/Pod/Podfile deleted file mode 100644 index 648ccb1..0000000 --- a/Pod/Podfile +++ /dev/null @@ -1,7 +0,0 @@ -platform :ios, '8.0' -use_frameworks! - -# When using more than one target in your project -# link_with 'Demo', 'Tests' - -# pod 'Sample' diff --git a/SupportFiles/Info.plist b/SupportFiles/Info.plist new file mode 100644 index 0000000..d3de8ee --- /dev/null +++ b/SupportFiles/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/Pod/Tests/Info.plist b/Tests/Info.plist similarity index 91% rename from Pod/Tests/Info.plist rename to Tests/Info.plist index 15204bd..ba72822 100644 --- a/Pod/Tests/Info.plist +++ b/Tests/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.example.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Pod/Tests/TestCompass.swift b/Tests/TestCompass.swift similarity index 99% rename from Pod/Tests/TestCompass.swift rename to Tests/TestCompass.swift index f864746..3f63f22 100644 --- a/Pod/Tests/TestCompass.swift +++ b/Tests/TestCompass.swift @@ -1,5 +1,6 @@ import UIKit import XCTest +import Compass class TestCompass: XCTestCase { From 3176734a736679b60a8eea83ecac749e3acd27c3 Mon Sep 17 00:00:00 2001 From: Vadym Markov Date: Tue, 15 Dec 2015 10:03:44 +0100 Subject: [PATCH 2/5] Add Sources to framework target --- Compass.xcodeproj/project.pbxproj | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Compass.xcodeproj/project.pbxproj b/Compass.xcodeproj/project.pbxproj index cb4acc2..3e6dee1 100644 --- a/Compass.xcodeproj/project.pbxproj +++ b/Compass.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ D5DC59641C200D55003BD79B /* Compass.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D5DC59591C200D55003BD79B /* Compass.framework */; }; D5DC597B1C200DF1003BD79B /* TestCompass.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5DC59751C200DEC003BD79B /* TestCompass.swift */; }; + D5DC597E1C200EC7003BD79B /* Compass.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5DC597D1C200EC7003BD79B /* Compass.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -27,6 +28,7 @@ D5DC59741C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D5DC59751C200DEC003BD79B /* TestCompass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestCompass.swift; sourceTree = ""; }; D5DC59771C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D5DC597D1C200EC7003BD79B /* Compass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Compass.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -51,6 +53,7 @@ D5DC594F1C200D55003BD79B = { isa = PBXGroup; children = ( + D5DC597C1C200EC7003BD79B /* Source */, D5DC59731C200DEC003BD79B /* Tests */, D5DC59761C200DEC003BD79B /* SupportFiles */, D5DC595A1C200D55003BD79B /* Products */, @@ -83,6 +86,14 @@ path = SupportFiles; sourceTree = ""; }; + D5DC597C1C200EC7003BD79B /* Source */ = { + isa = PBXGroup; + children = ( + D5DC597D1C200EC7003BD79B /* Compass.swift */, + ); + path = Source; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -190,6 +201,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + D5DC597E1C200EC7003BD79B /* Compass.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; From 44815096e0909a9e2c450ac745c5871a6d232c1d Mon Sep 17 00:00:00 2001 From: Vadym Markov Date: Tue, 15 Dec 2015 10:04:04 +0100 Subject: [PATCH 3/5] Set target to 8.0 --- Compass.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Compass.xcodeproj/project.pbxproj b/Compass.xcodeproj/project.pbxproj index 3e6dee1..0a4f27d 100644 --- a/Compass.xcodeproj/project.pbxproj +++ b/Compass.xcodeproj/project.pbxproj @@ -322,6 +322,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "$(SRCROOT)/SupportFiles/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Compass; PRODUCT_NAME = Compass; @@ -338,6 +339,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "$(SRCROOT)/SupportFiles/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = no.hyper.Compass; PRODUCT_NAME = Compass; From 31eadbb975547c2669f683ed876f77dd0138c922 Mon Sep 17 00:00:00 2001 From: Vadym Markov Date: Tue, 15 Dec 2015 10:51:15 +0100 Subject: [PATCH 4/5] Add tests for framework schema --- Compass.xcodeproj/project.pbxproj | 28 ++++++------- ...pass iOS.xcscheme => Compass-iOS.xcscheme} | 39 +++++++++++++++++-- 2 files changed, 50 insertions(+), 17 deletions(-) rename Compass.xcodeproj/xcshareddata/xcschemes/{Compass iOS.xcscheme => Compass-iOS.xcscheme} (64%) diff --git a/Compass.xcodeproj/project.pbxproj b/Compass.xcodeproj/project.pbxproj index 0a4f27d..fe3219b 100644 --- a/Compass.xcodeproj/project.pbxproj +++ b/Compass.xcodeproj/project.pbxproj @@ -24,7 +24,7 @@ /* Begin PBXFileReference section */ D5DC59591C200D55003BD79B /* Compass.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Compass.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D5DC59631C200D55003BD79B /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D5DC59631C200D55003BD79B /* Compass-iOS-Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Compass-iOS-Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; D5DC59741C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D5DC59751C200DEC003BD79B /* TestCompass.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestCompass.swift; sourceTree = ""; }; D5DC59771C200DEC003BD79B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -64,7 +64,7 @@ isa = PBXGroup; children = ( D5DC59591C200D55003BD79B /* Compass.framework */, - D5DC59631C200D55003BD79B /* Tests.xctest */, + D5DC59631C200D55003BD79B /* Compass-iOS-Tests.xctest */, ); name = Products; sourceTree = ""; @@ -107,9 +107,9 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - D5DC59581C200D55003BD79B /* Compass iOS */ = { + D5DC59581C200D55003BD79B /* Compass-iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass iOS" */; + buildConfigurationList = D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass-iOS" */; buildPhases = ( D5DC59541C200D55003BD79B /* Sources */, D5DC59551C200D55003BD79B /* Frameworks */, @@ -120,14 +120,14 @@ ); dependencies = ( ); - name = "Compass iOS"; + name = "Compass-iOS"; productName = Compass; productReference = D5DC59591C200D55003BD79B /* Compass.framework */; productType = "com.apple.product-type.framework"; }; - D5DC59621C200D55003BD79B /* Tests */ = { + D5DC59621C200D55003BD79B /* Compass-iOS-Tests */ = { isa = PBXNativeTarget; - buildConfigurationList = D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Tests" */; + buildConfigurationList = D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass-iOS-Tests" */; buildPhases = ( D5DC595F1C200D55003BD79B /* Sources */, D5DC59601C200D55003BD79B /* Frameworks */, @@ -138,9 +138,9 @@ dependencies = ( D5DC59661C200D55003BD79B /* PBXTargetDependency */, ); - name = Tests; + name = "Compass-iOS-Tests"; productName = CompassTests; - productReference = D5DC59631C200D55003BD79B /* Tests.xctest */; + productReference = D5DC59631C200D55003BD79B /* Compass-iOS-Tests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -173,8 +173,8 @@ projectDirPath = ""; projectRoot = ""; targets = ( - D5DC59581C200D55003BD79B /* Compass iOS */, - D5DC59621C200D55003BD79B /* Tests */, + D5DC59581C200D55003BD79B /* Compass-iOS */, + D5DC59621C200D55003BD79B /* Compass-iOS-Tests */, ); }; /* End PBXProject section */ @@ -218,7 +218,7 @@ /* Begin PBXTargetDependency section */ D5DC59661C200D55003BD79B /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = D5DC59581C200D55003BD79B /* Compass iOS */; + target = D5DC59581C200D55003BD79B /* Compass-iOS */; targetProxy = D5DC59651C200D55003BD79B /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -379,7 +379,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass iOS" */ = { + D5DC596D1C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass-iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( D5DC596E1C200D55003BD79B /* Debug */, @@ -388,7 +388,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Tests" */ = { + D5DC59701C200D55003BD79B /* Build configuration list for PBXNativeTarget "Compass-iOS-Tests" */ = { isa = XCConfigurationList; buildConfigurations = ( D5DC59711C200D55003BD79B /* Debug */, diff --git a/Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme b/Compass.xcodeproj/xcshareddata/xcschemes/Compass-iOS.xcscheme similarity index 64% rename from Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme rename to Compass.xcodeproj/xcshareddata/xcschemes/Compass-iOS.xcscheme index 67ad3ec..bfd512f 100644 --- a/Compass.xcodeproj/xcshareddata/xcschemes/Compass iOS.xcscheme +++ b/Compass.xcodeproj/xcshareddata/xcschemes/Compass-iOS.xcscheme @@ -16,7 +16,21 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "D5DC59581C200D55003BD79B" BuildableName = "Compass.framework" - BlueprintName = "Compass iOS" + BlueprintName = "Compass-iOS" + ReferencedContainer = "container:Compass.xcodeproj"> + + + + @@ -28,7 +42,26 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + + + + + @@ -47,7 +80,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "D5DC59581C200D55003BD79B" BuildableName = "Compass.framework" - BlueprintName = "Compass iOS" + BlueprintName = "Compass-iOS" ReferencedContainer = "container:Compass.xcodeproj"> @@ -65,7 +98,7 @@ BuildableIdentifier = "primary" BlueprintIdentifier = "D5DC59581C200D55003BD79B" BuildableName = "Compass.framework" - BlueprintName = "Compass iOS" + BlueprintName = "Compass-iOS" ReferencedContainer = "container:Compass.xcodeproj"> From 45412477ba56cce17f4232ba4bfb5097cb8c66a3 Mon Sep 17 00:00:00 2001 From: Vadym Markov Date: Tue, 15 Dec 2015 10:54:09 +0100 Subject: [PATCH 5/5] Add Carthage compatible --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 81fb0fa..82c458b 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,30 @@ ![Compass logo](https://raw.githubusercontent.com/hyperoslo/Compass/master/Images/logo_v1.png) [![Version](https://img.shields.io/cocoapods/v/Compass.svg?style=flat)](http://cocoadocs.org/docsets/Compass) +[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/Compass.svg?style=flat)](http://cocoadocs.org/docsets/Compass) [![Platform](https://img.shields.io/cocoapods/p/Compass.svg?style=flat)](http://cocoadocs.org/docsets/Compass) Compass helps you setup a central navigation system for your application. This has many benefits, one of them being that controllers can now be -decoupled, meaning that the list that presents the detail no longer knows -about what its presenting. Controllers become agnostic and views stay +decoupled, meaning that the list that presents the detail no longer knows +about what its presenting. Controllers become agnostic and views stay stupid. The user experience stays the same but the logic and separation of -concerns become clearer. The outcome is that your application will become -more modular by default. Anything could potentially be presented from +concerns become clearer. The outcome is that your application will become +more modular by default. Anything could potentially be presented from anywhere, but remember, with great power comes great responsibility. ## Setup #### Step 1 First you need to register a URL scheme for your application - + #### Step 2 Now you need to configure Compass to use that URL scheme, a good place to do this is in your `AppDelegate` ```swift -func application(application: UIApplication, +func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { Compass.scheme = "compass" return true @@ -32,7 +33,7 @@ func application(application: UIApplication, #### Step 3 Configure your application routes ```swift -func application(application: UIApplication, +func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { Compass.scheme = "compass" Compass.routes = ["profile:{username}", "login:{username}", "logout"] @@ -42,18 +43,18 @@ func application(application: UIApplication, #### Step 4 Set up your application to respond to the URLs, this can be done in the `AppDelegate` but its up to you to find a more suitable place for it depending on the size of your implementation. ```swift -func application(app: UIApplication, - openURL url: NSURL, +func application(app: UIApplication, + openURL url: NSURL, options: [String : AnyObject]) -> Bool { return Compass.parse(url) { route, arguments in switch route { case "profile:{username}": let profileController = profileController(title: arguments["{username}"]) - self.navigationController?.pushViewController(profileController, + self.navigationController?.pushViewController(profileController, animated: true) case "login:{username}": let loginController = LoginController(title: arguments["{username}"]) - self.navigationController?.pushViewController(loginController, + self.navigationController?.pushViewController(loginController, animated: true) case "logout": logout()