diff --git a/.github/workflows/deploy_to_cocoapods.yml b/.github/workflows/deploy_to_cocoapods.yml new file mode 100644 index 0000000..cdcee24 --- /dev/null +++ b/.github/workflows/deploy_to_cocoapods.yml @@ -0,0 +1,26 @@ +name: deploy_to_cocoapods + +on: + push: + tags: + - '*' + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + + - name: Install Cocoapods + run: gem install cocoapods + + - name: Deploy to Cocoapods + run: | + set -eo pipefail + export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`) + pod lib lint --allow-warnings + pod trunk push --allow-warnings + env: + COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} \ No newline at end of file diff --git a/EPLogger.podspec b/EPLogger.podspec index 00558dd..af6a281 100755 --- a/EPLogger.podspec +++ b/EPLogger.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'EPLogger' - s.version = '1.3.6' + s.version = ENV['LIB_VERSION'] || '1.0.0' s.summary = 'Just simple Logger' # This description is used to generate tags and improve search results. @@ -39,8 +39,8 @@ Just simple Logger s.author = { 'Elon Park' => 'sungwoon.park92@gmail.com' } s.source = { :git => 'https://github.com/ElonPark/EPLogger.git', :tag => s.version.to_s } - s.ios.deployment_target = '8.0' - s.swift_versions = '5.0' + s.ios.deployment_target = '9.3' + s.swift_versions = '5.5' s.source_files = 'EPLogger/Classes/*' end diff --git a/EPLogger.xcodeproj/project.pbxproj b/EPLogger.xcodeproj/project.pbxproj index e34215c..904265a 100644 --- a/EPLogger.xcodeproj/project.pbxproj +++ b/EPLogger.xcodeproj/project.pbxproj @@ -276,9 +276,9 @@ DB301BD82440748B00055C77 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = M77W68G9P5; + DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -289,9 +289,11 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.6; + MARKETING_VERSION = 1.3.7; PRODUCT_BUNDLE_IDENTIFIER = com.elonparks.EPLogger; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -301,9 +303,9 @@ DB301BD92440748B00055C77 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = M77W68G9P5; + DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -314,9 +316,11 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.3.6; + MARKETING_VERSION = 1.3.7; PRODUCT_BUNDLE_IDENTIFIER = com.elonparks.EPLogger; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SKIP_INSTALL = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index b4b68f7..136d988 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -37,7 +37,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 08763280452C9FE5661ABA1713419D77 /* EPLogger.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = EPLogger.framework; path = EPLogger.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 08763280452C9FE5661ABA1713419D77 /* EPLogger.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EPLogger.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 0D501CA998D5A628212AC936C4A173E7 /* Pods-EPLogger_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-EPLogger_Tests-acknowledgements.plist"; sourceTree = ""; }; 181576E04D9C7A4691F0F56679E1F59B /* Pods-EPLogger_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-EPLogger_Example-acknowledgements.markdown"; sourceTree = ""; }; 221C1870F04258B7BFA9666059B03843 /* Pods-EPLogger_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-EPLogger_Tests-acknowledgements.markdown"; sourceTree = ""; }; @@ -48,15 +48,15 @@ 4185DA2D1C4D8F89B22453D28142615A /* EPLogger.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = EPLogger.modulemap; sourceTree = ""; }; 43E2A157D9EE2F3CC5DDD5D40CC33162 /* Pods-EPLogger_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-EPLogger_Example.debug.xcconfig"; sourceTree = ""; }; 50035379BE1B54D0F3CDA9B8B20F5CBF /* Pods-EPLogger_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-EPLogger_Tests-dummy.m"; sourceTree = ""; }; - 549A74996B97017958145FCC636B7810 /* Pods_EPLogger_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_EPLogger_Example.framework; path = "Pods-EPLogger_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 549A74996B97017958145FCC636B7810 /* Pods_EPLogger_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_EPLogger_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5BD9953BB4BF8DD5670F9DD2ECEA6583 /* Pods-EPLogger_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-EPLogger_Tests-Info.plist"; sourceTree = ""; }; - 66F4747DBB8AF5CA91A27266E44DFF55 /* EPLogger.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = EPLogger.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 66F4747DBB8AF5CA91A27266E44DFF55 /* EPLogger.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = EPLogger.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 6B908DD34A685419841713A23C5F766A /* EPLogger.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EPLogger.release.xcconfig; sourceTree = ""; }; - 8186663337DA3B63AC6F11EA3B820D04 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; path = LICENSE; sourceTree = ""; }; + 8186663337DA3B63AC6F11EA3B820D04 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 919D9E5121A0B87AF11804C3E81295A8 /* EPLogger.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = EPLogger.debug.xcconfig; sourceTree = ""; }; 9292DF01E63EDF9B136D9F8E3CBD965C /* Pods-EPLogger_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-EPLogger_Example.release.xcconfig"; sourceTree = ""; }; 9A6B53294F5AB67844237B0E35485038 /* EPLogger-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "EPLogger-dummy.m"; sourceTree = ""; }; - 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; AD870321B03D09DB3096F24D956DB3F4 /* Pods-EPLogger_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-EPLogger_Tests.modulemap"; sourceTree = ""; }; B1DB0AB0DFF605B74A5141A5F301A4A9 /* EPLogger-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EPLogger-prefix.pch"; sourceTree = ""; }; B3BEAE81DD52B26DF3A9799CF4AC0592 /* Pods-EPLogger_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-EPLogger_Tests-umbrella.h"; sourceTree = ""; }; @@ -67,8 +67,8 @@ E671D4029BA3F2D3A46F49ED845A0311 /* Pods-EPLogger_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-EPLogger_Example-dummy.m"; sourceTree = ""; }; E77D780AD94BAF662EE3C594B6B520FD /* Pods-EPLogger_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-EPLogger_Example-acknowledgements.plist"; sourceTree = ""; }; EEA64FF9BB29E806139336B09A64787D /* Pods-EPLogger_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-EPLogger_Example-umbrella.h"; sourceTree = ""; }; - F87029CCD3C7CE11313F7487AD7736E1 /* Pods_EPLogger_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_EPLogger_Tests.framework; path = "Pods-EPLogger_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - FE979EC5D3244566BA1A39F6A29C202E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; path = README.md; sourceTree = ""; }; + F87029CCD3C7CE11313F7487AD7736E1 /* Pods_EPLogger_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_EPLogger_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FE979EC5D3244566BA1A39F6A29C202E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; FF0AE144B678AB1F87D5CD7ADC07A86C /* Pods-EPLogger_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-EPLogger_Tests.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -458,6 +458,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MARKETING_VERSION = 1.3.7; MODULEMAP_FILE = "Target Support Files/EPLogger/EPLogger.modulemap"; PRODUCT_MODULE_NAME = EPLogger; PRODUCT_NAME = EPLogger; @@ -557,6 +558,7 @@ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MARKETING_VERSION = 1.3.7; MODULEMAP_FILE = "Target Support Files/EPLogger/EPLogger.modulemap"; PRODUCT_MODULE_NAME = EPLogger; PRODUCT_NAME = EPLogger; @@ -623,8 +625,7 @@ MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; diff --git a/Example/Pods/Target Support Files/EPLogger/EPLogger-Info.plist b/Example/Pods/Target Support Files/EPLogger/EPLogger-Info.plist index d7863a0..1f91650 100755 --- a/Example/Pods/Target Support Files/EPLogger/EPLogger-Info.plist +++ b/Example/Pods/Target Support Files/EPLogger/EPLogger-Info.plist @@ -2,25 +2,25 @@ - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.3.5 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass +