From 4dc5e152af1eb1902ee47f3a7975c22bc80f798c Mon Sep 17 00:00:00 2001 From: Geektree0101 Date: Tue, 19 Feb 2019 17:00:01 +0900 Subject: [PATCH] Migration Texture2.8 --- Example/Podfile | 2 +- Example/VEditorKit.xcodeproj/project.pbxproj | 6 ++++++ VEditorKit.podspec | 7 ++++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Example/Podfile b/Example/Podfile index bec6918..ef83a61 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -3,7 +3,7 @@ inhibit_all_warnings! target 'VEditorKit_Example' do pod 'VEditorKit', :path => '../' - pod 'Texture', '2.7' + pod 'Texture', '2.8' pod 'RxSwift' pod 'RxCocoa' diff --git a/Example/VEditorKit.xcodeproj/project.pbxproj b/Example/VEditorKit.xcodeproj/project.pbxproj index 699c832..9320870 100644 --- a/Example/VEditorKit.xcodeproj/project.pbxproj +++ b/Example/VEditorKit.xcodeproj/project.pbxproj @@ -702,6 +702,7 @@ GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", + "AS_USE_VIDEO=1", ); INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; @@ -722,6 +723,11 @@ "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "COCOAPODS=1", + "AS_USE_VIDEO=1", + ); INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; diff --git a/VEditorKit.podspec b/VEditorKit.podspec index a00b5a4..e9c8e9b 100644 --- a/VEditorKit.podspec +++ b/VEditorKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'VEditorKit' - s.version = '1.3.8' + s.version = '1.4.0' s.summary = 'Lightweight and Powerful Editor Kit' s.description = 'Lightweight and Powerful Editor Kit built on Texture(AsyncDisplayKit)' @@ -12,9 +12,10 @@ Pod::Spec.new do |s| s.ios.deployment_target = '9.0' s.requires_arc = true - + s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AS_USE_VIDEO=1' } + s.source_files = 'VEditorKit/**/*' - s.dependency 'Texture', '~> 2.7' + s.dependency 'Texture', '2.8' s.dependency 'BonMot' s.dependency 'RxSwift' s.dependency 'RxCocoa'