Browse Source

修改 podspec file

jsonwang 3 years ago
parent
commit
c2286ac290
1 changed files with 8 additions and 4 deletions
  1. 8 4
      BFFramework.podspec

+ 8 - 4
BFFramework.podspec

@@ -25,7 +25,7 @@ TODO: Add long description of the pod here.
   # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
   s.license          = { :type => 'MIT', :file => 'LICENSE' }
   s.author           = { '287971051@qq.com' => '287971051@qq.com' }
-  s.source           = { :git => 'https://git.yishihui.comiOS/BFFramework.git', :git => 'https://github.com/jsonwang/NXFramework-Swift.git' , :tag => s.version.to_s   }
+  s.source           = { :git => 'https://git.yishihui.comiOS/BFFramework.git'}
   # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
 
   s.ios.deployment_target = '10.0'
@@ -33,14 +33,18 @@ TODO: Add long description of the pod here.
   s.source_files = 'BFFramework/Classes/**/*'
 
    s.resource_bundles = {
-     'BFFramework' => ['BFFramework/Assets/*.png']
+     'BFFramework' => ['BFFramework/Assets/**/*.png','BFFramework/Assets/**/*.gif']
    }
    s.static_framework = true
 
    s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
-                         'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES"}
-
+                  'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
+                   'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
+                 }
+   s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load' }
    s.public_header_files = 'BFFramework/Classes/**/*.h'
+   # s.private_header_files = 'BFFramework/Classes/SupportFiles/AliyunOSSiOSAK_umbrella.h'
+   # s.preserve_paths = ['BFFramework/Classes/BFFrameworkPodHeader.h']
    s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
     # 排除非 ios 平台的文件
     # s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'