From cca8522beaba55127ea72414ef65e6b525d52d0e Mon Sep 17 00:00:00 2001 From: Quanlong He Date: Mon, 8 Jun 2015 11:05:43 +0800 Subject: [PATCH 1/2] Add xcodeproject to build MMMaterialDesignSpinner as framework --- .../project.pbxproj | 295 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../MMMaterialDesignSpinner.xcscheme | 110 +++++++ Pod/Info.plist | 26 ++ 4 files changed, 438 insertions(+) create mode 100644 MMMaterialDesignSpinner.xcodeproj/project.pbxproj create mode 100644 MMMaterialDesignSpinner.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 MMMaterialDesignSpinner.xcodeproj/xcshareddata/xcschemes/MMMaterialDesignSpinner.xcscheme create mode 100644 Pod/Info.plist diff --git a/MMMaterialDesignSpinner.xcodeproj/project.pbxproj b/MMMaterialDesignSpinner.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6ab5ed8 --- /dev/null +++ b/MMMaterialDesignSpinner.xcodeproj/project.pbxproj @@ -0,0 +1,295 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 9295C9501B253D8900C388EB /* MMMaterialDesignSpinner.h in Headers */ = {isa = PBXBuildFile; fileRef = 9295C94E1B253D8900C388EB /* MMMaterialDesignSpinner.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9295C9511B253D8900C388EB /* MMMaterialDesignSpinner.m in Sources */ = {isa = PBXBuildFile; fileRef = 9295C94F1B253D8900C388EB /* MMMaterialDesignSpinner.m */; }; + 9295C9531B253D9F00C388EB /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 9295C9521B253D9F00C388EB /* Info.plist */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 9295C9321B253D2D00C388EB /* MMMaterialDesignSpinner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MMMaterialDesignSpinner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 9295C94E1B253D8900C388EB /* MMMaterialDesignSpinner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MMMaterialDesignSpinner.h; path = Pod/Classes/MMMaterialDesignSpinner.h; sourceTree = SOURCE_ROOT; }; + 9295C94F1B253D8900C388EB /* MMMaterialDesignSpinner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = MMMaterialDesignSpinner.m; path = Pod/Classes/MMMaterialDesignSpinner.m; sourceTree = SOURCE_ROOT; }; + 9295C9521B253D9F00C388EB /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Pod/Info.plist; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 9295C92E1B253D2D00C388EB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 9295C9281B253D2D00C388EB = { + isa = PBXGroup; + children = ( + 9295C9341B253D2D00C388EB /* MMMaterialDesignSpinner */, + 9295C9331B253D2D00C388EB /* Products */, + ); + sourceTree = ""; + }; + 9295C9331B253D2D00C388EB /* Products */ = { + isa = PBXGroup; + children = ( + 9295C9321B253D2D00C388EB /* MMMaterialDesignSpinner.framework */, + ); + name = Products; + sourceTree = ""; + }; + 9295C9341B253D2D00C388EB /* MMMaterialDesignSpinner */ = { + isa = PBXGroup; + children = ( + 9295C94E1B253D8900C388EB /* MMMaterialDesignSpinner.h */, + 9295C94F1B253D8900C388EB /* MMMaterialDesignSpinner.m */, + 9295C9351B253D2D00C388EB /* Supporting Files */, + ); + path = MMMaterialDesignSpinner; + sourceTree = ""; + }; + 9295C9351B253D2D00C388EB /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 9295C9521B253D9F00C388EB /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 9295C92F1B253D2D00C388EB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 9295C9501B253D8900C388EB /* MMMaterialDesignSpinner.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 9295C9311B253D2D00C388EB /* MMMaterialDesignSpinner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9295C9481B253D2D00C388EB /* Build configuration list for PBXNativeTarget "MMMaterialDesignSpinner" */; + buildPhases = ( + 9295C92D1B253D2D00C388EB /* Sources */, + 9295C92E1B253D2D00C388EB /* Frameworks */, + 9295C92F1B253D2D00C388EB /* Headers */, + 9295C9301B253D2D00C388EB /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MMMaterialDesignSpinner; + productName = MMMaterialDesignSpinner; + productReference = 9295C9321B253D2D00C388EB /* MMMaterialDesignSpinner.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 9295C9291B253D2D00C388EB /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0630; + ORGANIZATIONNAME = misterwell; + TargetAttributes = { + 9295C9311B253D2D00C388EB = { + CreatedOnToolsVersion = 6.3.1; + }; + }; + }; + buildConfigurationList = 9295C92C1B253D2D00C388EB /* Build configuration list for PBXProject "MMMaterialDesignSpinner" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 9295C9281B253D2D00C388EB; + productRefGroup = 9295C9331B253D2D00C388EB /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 9295C9311B253D2D00C388EB /* MMMaterialDesignSpinner */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 9295C9301B253D2D00C388EB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9295C9531B253D9F00C388EB /* Info.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 9295C92D1B253D2D00C388EB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9295C9511B253D8900C388EB /* MMMaterialDesignSpinner.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 9295C9461B253D2D00C388EB /* 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-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = 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_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.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 9295C9471B253D2D00C388EB /* 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 = 8.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 9295C9491B253D2D00C388EB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Pod/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 9295C94A1B253D2D00C388EB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "$(SRCROOT)/Pod/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 9295C92C1B253D2D00C388EB /* Build configuration list for PBXProject "MMMaterialDesignSpinner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9295C9461B253D2D00C388EB /* Debug */, + 9295C9471B253D2D00C388EB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9295C9481B253D2D00C388EB /* Build configuration list for PBXNativeTarget "MMMaterialDesignSpinner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9295C9491B253D2D00C388EB /* Debug */, + 9295C94A1B253D2D00C388EB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 9295C9291B253D2D00C388EB /* Project object */; +} diff --git a/MMMaterialDesignSpinner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MMMaterialDesignSpinner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..34f2712 --- /dev/null +++ b/MMMaterialDesignSpinner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MMMaterialDesignSpinner.xcodeproj/xcshareddata/xcschemes/MMMaterialDesignSpinner.xcscheme b/MMMaterialDesignSpinner.xcodeproj/xcshareddata/xcschemes/MMMaterialDesignSpinner.xcscheme new file mode 100644 index 0000000..3dbfca1 --- /dev/null +++ b/MMMaterialDesignSpinner.xcodeproj/xcshareddata/xcschemes/MMMaterialDesignSpinner.xcscheme @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Pod/Info.plist b/Pod/Info.plist new file mode 100644 index 0000000..1a902c6 --- /dev/null +++ b/Pod/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + misterwell.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + From d655fa608df2d66fa1c424560056cb1a71fcb763 Mon Sep 17 00:00:00 2001 From: Quanlong He Date: Mon, 8 Jun 2015 11:09:07 +0800 Subject: [PATCH 2/2] Support carthage --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 30c80e8..ebcebca 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Version](https://img.shields.io/cocoapods/v/MMMaterialDesignSpinner.svg?style=flat)](http://cocoadocs.org/docsets/MMMaterialDesignSpinner) [![License](https://img.shields.io/cocoapods/l/MMMaterialDesignSpinner.svg?style=flat)](http://cocoadocs.org/docsets/MMMaterialDesignSpinner) [![Platform](https://img.shields.io/cocoapods/p/MMMaterialDesignSpinner.svg?style=flat)](http://cocoadocs.org/docsets/MMMaterialDesignSpinner) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) ![Demo](https://raw.githubusercontent.com/misterwell/MMMaterialDesignSpinner/master/Demo.gif "Pod Demo") @@ -42,6 +43,10 @@ it, simply add the following line to your Podfile: pod "MMMaterialDesignSpinner" +MaterialDesignSpinner is also [Carthage](https://github.com/Carthage/Carthage) compatible, add the following line to your Cartfile: + + github "misterwell/MMMaterialDesignSpinner" + ## Author Mike Maxwell, mmaxwell@vertical.com