jsonwang 3 år sedan
förälder
incheckning
e7cf238f10
1 ändrade filer med 20 tillägg och 5 borttagningar
  1. 20 5
      Podfile

+ 20 - 5
Podfile

@@ -26,16 +26,16 @@ target 'Introduce' do
     
    when 0 # AppStore
    
-     pod 'BFCommonKit',           '1.5.9'
+     pod 'BFCommonKit',           '1.6.0'
      pod 'BFNetRequestKit',       '1.0.3'
      pod 'BFUIKit',               '0.1.5'
      pod 'BFMaterialKit',         '0.2.7'
      pod 'BFLogger',              '0.1.0'
-     pod 'BFMediaKit',            '0.0.2'
-     pod 'BFRecordScreenKit',     '1.0.0'
+     pod 'BFMediaKit',            '0.1.2'
+     pod 'BFRecordScreenKit',     '1.0.1'
      pod 'BFAnalyzeKit',          '0.1.0'
      pod 'BFFFmpeglib',           '1.0.3'
-     pod 'BFUploadKit',           '0.1.0'
+     pod 'BFUploadKit',           '0.1.1'
 
      
    when 1 # jenkins
@@ -48,7 +48,7 @@ target 'Introduce' do
      pod 'BFMediaKit',            :git => 'https://git.yishihui.com/iOS/BFMediaKit.git',:branch => 'dev'
      pod 'BFRecordScreenKit',     :git => 'https://git.yishihui.com/iOS/BFRecordScreenKit.git',:branch => 'dev'
      pod 'BFAnalyzeKit',          :git => 'https://git.yishihui.com/iOS/BFAnalyzeKit.git'
-     pod "BFFFmpeglib",           :git => 'https://git.yishihui.com/iOS/BFFFmpeglib.git',:branch => 'dev'
+     pod "BFFFmpeglib",           :git => 'https://git.yishihui.com/iOS/BFFFmpeglib.git' ,:branch => 'dev'
      pod "BFUploadKit",           :git => 'https://git.yishihui.com/iOS/BFUploadKit.git'
    
    when 2  # hzq
@@ -98,6 +98,9 @@ target 'Introduce' do
     remove_swift_ui("./Pods/Kingfisher/Sources/SwiftUI/KFImageOptions.swift")
     remove_swift_ui_realm("./Pods/RealmSwift/RealmSwift/SwiftUI.swift")
     remove_retaincyle("./Pods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm")
+    
+    remove_fftools("./Pods/Target Support Files/BFMediaKit/BFMediaKit-umbrella.h")
+    
 
     installer.pods_project.targets.each do |target|
       target.build_configurations.each do |config|
@@ -130,6 +133,18 @@ target 'Introduce' do
     system("rm -rf " + code_file)
     
     
+    aFile = File.new(code_file, 'w+')
+    aFile.syswrite(code_text)
+    aFile.close()
+  end
+  # add by ak remove_fftools
+  def remove_fftools (code_file)
+    code_text = File.read(code_file)
+    code_text.gsub!(/#import "cmdutils.h"/,'')
+    code_text.gsub!(/#import "config.h"/,'')
+    code_text.gsub!(/#import "ffmpeg.h"/,'')
+    system("rm -rf " + code_file)
+  
     aFile = File.new(code_file, 'w+')
     aFile.syswrite(code_text)
     aFile.close()