From f969f3e11e298b4ef5e82173a59ea57cd5a94bbf Mon Sep 17 00:00:00 2001 From: Cezary Kopacz Date: Fri, 6 May 2016 16:49:37 +0200 Subject: [PATCH] Added Carthage support --- Action.xcodeproj/project.pbxproj | 345 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/xcschemes/Action.xcscheme | 80 ++++ Action/Action.h | 19 + Action/Info.plist | 26 ++ Cartfile | 1 + 6 files changed, 478 insertions(+) create mode 100644 Action.xcodeproj/project.pbxproj create mode 100644 Action.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Action.xcodeproj/xcshareddata/xcschemes/Action.xcscheme create mode 100644 Action/Action.h create mode 100644 Action/Info.plist create mode 100644 Cartfile diff --git a/Action.xcodeproj/project.pbxproj b/Action.xcodeproj/project.pbxproj new file mode 100644 index 00000000..26cd008e --- /dev/null +++ b/Action.xcodeproj/project.pbxproj @@ -0,0 +1,345 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + BE73AD241CDCD102006F8B98 /* Action.h in Headers */ = {isa = PBXBuildFile; fileRef = BE73AD231CDCD102006F8B98 /* Action.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BE73AD371CDCEAE0006F8B98 /* Action.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD331CDCEAE0006F8B98 /* Action.swift */; }; + BE73AD381CDCEAE0006F8B98 /* AlertAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD341CDCEAE0006F8B98 /* AlertAction.swift */; }; + BE73AD391CDCEAE0006F8B98 /* UIBarButtonItem+Action.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD351CDCEAE0006F8B98 /* UIBarButtonItem+Action.swift */; }; + BE73AD3A1CDCEAE0006F8B98 /* UIButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE73AD361CDCEAE0006F8B98 /* UIButton+Rx.swift */; }; + BE73AD3D1CDCF5E0006F8B98 /* RxBlocking.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE73AD3C1CDCF5E0006F8B98 /* RxBlocking.framework */; }; + BE73AD3F1CDCF5F0006F8B98 /* RxCocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE73AD3E1CDCF5F0006F8B98 /* RxCocoa.framework */; }; + BE73AD411CDCF5FE006F8B98 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE73AD401CDCF5FE006F8B98 /* RxSwift.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + BE73AD201CDCD101006F8B98 /* Action.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Action.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BE73AD231CDCD102006F8B98 /* Action.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Action.h; sourceTree = ""; }; + BE73AD251CDCD102006F8B98 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + BE73AD331CDCEAE0006F8B98 /* Action.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Action.swift; sourceTree = SOURCE_ROOT; }; + BE73AD341CDCEAE0006F8B98 /* AlertAction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AlertAction.swift; sourceTree = SOURCE_ROOT; }; + BE73AD351CDCEAE0006F8B98 /* UIBarButtonItem+Action.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIBarButtonItem+Action.swift"; sourceTree = SOURCE_ROOT; }; + BE73AD361CDCEAE0006F8B98 /* UIButton+Rx.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIButton+Rx.swift"; sourceTree = SOURCE_ROOT; }; + BE73AD3C1CDCF5E0006F8B98 /* RxBlocking.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxBlocking.framework; path = Carthage/Build/iOS/RxBlocking.framework; sourceTree = ""; }; + BE73AD3E1CDCF5F0006F8B98 /* RxCocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxCocoa.framework; path = Carthage/Build/iOS/RxCocoa.framework; sourceTree = ""; }; + BE73AD401CDCF5FE006F8B98 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = Carthage/Build/iOS/RxSwift.framework; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + BE73AD1C1CDCD101006F8B98 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BE73AD411CDCF5FE006F8B98 /* RxSwift.framework in Frameworks */, + BE73AD3F1CDCF5F0006F8B98 /* RxCocoa.framework in Frameworks */, + BE73AD3D1CDCF5E0006F8B98 /* RxBlocking.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + BE73AD161CDCD101006F8B98 = { + isa = PBXGroup; + children = ( + BE73AD401CDCF5FE006F8B98 /* RxSwift.framework */, + BE73AD3E1CDCF5F0006F8B98 /* RxCocoa.framework */, + BE73AD3C1CDCF5E0006F8B98 /* RxBlocking.framework */, + BE73AD221CDCD102006F8B98 /* Action */, + BE73AD211CDCD101006F8B98 /* Products */, + ); + sourceTree = ""; + }; + BE73AD211CDCD101006F8B98 /* Products */ = { + isa = PBXGroup; + children = ( + BE73AD201CDCD101006F8B98 /* Action.framework */, + ); + name = Products; + sourceTree = ""; + }; + BE73AD221CDCD102006F8B98 /* Action */ = { + isa = PBXGroup; + children = ( + BE73AD331CDCEAE0006F8B98 /* Action.swift */, + BE73AD341CDCEAE0006F8B98 /* AlertAction.swift */, + BE73AD351CDCEAE0006F8B98 /* UIBarButtonItem+Action.swift */, + BE73AD361CDCEAE0006F8B98 /* UIButton+Rx.swift */, + BE73AD231CDCD102006F8B98 /* Action.h */, + BE73AD251CDCD102006F8B98 /* Info.plist */, + ); + path = Action; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + BE73AD1D1CDCD101006F8B98 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + BE73AD241CDCD102006F8B98 /* Action.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + BE73AD1F1CDCD101006F8B98 /* Action */ = { + isa = PBXNativeTarget; + buildConfigurationList = BE73AD281CDCD102006F8B98 /* Build configuration list for PBXNativeTarget "Action" */; + buildPhases = ( + BE73AD1B1CDCD101006F8B98 /* Sources */, + BE73AD1C1CDCD101006F8B98 /* Frameworks */, + BE73AD1D1CDCD101006F8B98 /* Headers */, + BE73AD1E1CDCD101006F8B98 /* Resources */, + BE73AD3B1CDCF52C006F8B98 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Action; + productName = Action; + productReference = BE73AD201CDCD101006F8B98 /* Action.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BE73AD171CDCD101006F8B98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = CezaryKopacz; + TargetAttributes = { + BE73AD1F1CDCD101006F8B98 = { + CreatedOnToolsVersion = 7.3; + }; + }; + }; + buildConfigurationList = BE73AD1A1CDCD101006F8B98 /* Build configuration list for PBXProject "Action" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = BE73AD161CDCD101006F8B98; + productRefGroup = BE73AD211CDCD101006F8B98 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + BE73AD1F1CDCD101006F8B98 /* Action */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + BE73AD1E1CDCD101006F8B98 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + BE73AD3B1CDCF52C006F8B98 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/Carthage/Build/iOS/RxCocoa.framework", + "$(SRCROOT)/Carthage/Build/iOS/RxSwift.framework", + "$(SRCROOT)/Carthage/Build/iOS/RxBlocking.framework", + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/usr/local/bin/carthage copy-frameworks"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + BE73AD1B1CDCD101006F8B98 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BE73AD381CDCEAE0006F8B98 /* AlertAction.swift in Sources */, + BE73AD391CDCEAE0006F8B98 /* UIBarButtonItem+Action.swift in Sources */, + BE73AD371CDCEAE0006F8B98 /* Action.swift in Sources */, + BE73AD3A1CDCEAE0006F8B98 /* UIButton+Rx.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + BE73AD261CDCD102006F8B98 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_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 = 8.0; + 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; + }; + BE73AD271CDCD102006F8B98 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_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 = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + BE73AD291CDCD102006F8B98 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + 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 = Action/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ashfurrow.Action; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + BE73AD2A1CDCD102006F8B98 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + 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 = Action/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.ashfurrow.Action; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + BE73AD1A1CDCD101006F8B98 /* Build configuration list for PBXProject "Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BE73AD261CDCD102006F8B98 /* Debug */, + BE73AD271CDCD102006F8B98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BE73AD281CDCD102006F8B98 /* Build configuration list for PBXNativeTarget "Action" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BE73AD291CDCD102006F8B98 /* Debug */, + BE73AD2A1CDCD102006F8B98 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BE73AD171CDCD101006F8B98 /* Project object */; +} diff --git a/Action.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Action.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..c8913475 --- /dev/null +++ b/Action.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Action.xcodeproj/xcshareddata/xcschemes/Action.xcscheme b/Action.xcodeproj/xcshareddata/xcschemes/Action.xcscheme new file mode 100644 index 00000000..d49c6ec9 --- /dev/null +++ b/Action.xcodeproj/xcshareddata/xcschemes/Action.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Action/Action.h b/Action/Action.h new file mode 100644 index 00000000..07c5925e --- /dev/null +++ b/Action/Action.h @@ -0,0 +1,19 @@ +// +// Action.h +// Action +// +// Created by Cezary Kopacz on 06.05.2016. +// Copyright © 2016 CezaryKopacz. All rights reserved. +// + +#import + +//! Project version number for Action. +FOUNDATION_EXPORT double ActionVersionNumber; + +//! Project version string for Action. +FOUNDATION_EXPORT const unsigned char ActionVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/Action/Info.plist b/Action/Info.plist new file mode 100644 index 00000000..ae2dbbbf --- /dev/null +++ b/Action/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.2.1 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/Cartfile b/Cartfile new file mode 100644 index 00000000..b4dbcc0a --- /dev/null +++ b/Cartfile @@ -0,0 +1 @@ +github "ReactiveX/RxSwift" ~> 2.0