Skip to content

Commit 4dc5e15

Browse files
committed
Migration Texture2.8
1 parent 8a14d93 commit 4dc5e15

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

Example/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ inhibit_all_warnings!
33

44
target 'VEditorKit_Example' do
55
pod 'VEditorKit', :path => '../'
6-
pod 'Texture', '2.7'
6+
pod 'Texture', '2.8'
77
pod 'RxSwift'
88
pod 'RxCocoa'
99

Example/VEditorKit.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@
702702
GCC_PREPROCESSOR_DEFINITIONS = (
703703
"DEBUG=1",
704704
"$(inherited)",
705+
"AS_USE_VIDEO=1",
705706
);
706707
INFOPLIST_FILE = Tests/Info.plist;
707708
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
@@ -722,6 +723,11 @@
722723
"$(SDKROOT)/Developer/Library/Frameworks",
723724
"$(inherited)",
724725
);
726+
GCC_PREPROCESSOR_DEFINITIONS = (
727+
"$(inherited)",
728+
"COCOAPODS=1",
729+
"AS_USE_VIDEO=1",
730+
);
725731
INFOPLIST_FILE = Tests/Info.plist;
726732
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
727733
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";

VEditorKit.podspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'VEditorKit'
4-
s.version = '1.3.8'
4+
s.version = '1.4.0'
55
s.summary = 'Lightweight and Powerful Editor Kit'
66

77
s.description = 'Lightweight and Powerful Editor Kit built on Texture(AsyncDisplayKit)'
@@ -12,9 +12,10 @@ Pod::Spec.new do |s|
1212

1313
s.ios.deployment_target = '9.0'
1414
s.requires_arc = true
15-
15+
s.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AS_USE_VIDEO=1' }
16+
1617
s.source_files = 'VEditorKit/**/*'
17-
s.dependency 'Texture', '~> 2.7'
18+
s.dependency 'Texture', '2.8'
1819
s.dependency 'BonMot'
1920
s.dependency 'RxSwift'
2021
s.dependency 'RxCocoa'

0 commit comments

Comments
 (0)