cocoapods-bb-bin 0.2.11.1 → 0.2.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/cocoapods-bb-bin/command/bin/archive.rb +1 -1
 - data/lib/cocoapods-bb-bin/command/bin/auto.rb +1 -1
 - data/lib/cocoapods-bb-bin/gem_version.rb +1 -1
 - data/lib/cocoapods-bb-bin/helpers/push_spec_helper.rb +1 -1
 - data/lib/cocoapods-bb-bin/helpers/xcframework_builder.rb +8 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 2557c0e6e4b07fa15768d1876528509d5bbb917503c7d63bb41118c78471bafb
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: cbb51d63b2e18c2725a3b1c807c5cb1c2417663c7e4e0e5780fcc15c4d78ff80
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c514d24c75bdc9f09c890bdd40f9bdb7ab04c99582bcdf820cde95dd6745e7c0003b4a1aa85ab3cbf95c0f891a647bec9be194139e9573ec5e81d0d0a7297645
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 926e17d5de987e55b02b4a6ec7a1204af17a7ba302332c44481b1a1ae0b457ae47debfb421596f2f1711b56d522842e6e6c8c67d0471d284a61f7368ee9a5404
         
     | 
| 
         @@ -68,7 +68,7 @@ module Pod 
     | 
|
| 
       68 
68 
     | 
    
         
             
                      @spec_sources = @sources
         
     | 
| 
       69 
69 
     | 
    
         
             
                      if @xcframework_output || @xcframework_dylib_output
         
     | 
| 
       70 
70 
     | 
    
         
             
                        # 生存xcframework优先使用源码仓库\二进制仓库
         
     | 
| 
       71 
     | 
    
         
            -
                        @spec_sources = "#{sources_optionV2(@code_dependencies, nil)} 
     | 
| 
      
 71 
     | 
    
         
            +
                        @spec_sources = "#{sources_optionV2(@code_dependencies, nil)}"
         
     | 
| 
       72 
72 
     | 
    
         
             
                      end
         
     | 
| 
       73 
73 
     | 
    
         
             
                    end
         
     | 
| 
       74 
74 
     | 
    
         | 
| 
         @@ -42,7 +42,7 @@ module CBin 
     | 
|
| 
       42 
42 
     | 
    
         
             
                    argvs = [
         
     | 
| 
       43 
43 
     | 
    
         
             
                      "#{customsource.name}",  # repo
         
     | 
| 
       44 
44 
     | 
    
         
             
                      "#{source_podsepc_json}", # spec
         
     | 
| 
       45 
     | 
    
         
            -
                      "--sources=#{customsource} 
     | 
| 
      
 45 
     | 
    
         
            +
                      "--sources=#{customsource}",
         
     | 
| 
       46 
46 
     | 
    
         
             
                      "--skip-import-validation",
         
     | 
| 
       47 
47 
     | 
    
         
             
                      "--use-libraries",
         
     | 
| 
       48 
48 
     | 
    
         
             
                      "--allow-warnings",
         
     | 
| 
         @@ -58,7 +58,9 @@ module CBin 
     | 
|
| 
       58 
58 
     | 
    
         
             
                        end
         
     | 
| 
       59 
59 
     | 
    
         | 
| 
       60 
60 
     | 
    
         
             
                        def framework_file_path
         
     | 
| 
      
 61 
     | 
    
         
            +
                            # 测试发现生成framework目录不一,需要进行兼容
         
     | 
| 
       61 
62 
     | 
    
         
             
                            target_dir = File.join(framework_folder_path,framework_name)
         
     | 
| 
      
 63 
     | 
    
         
            +
                            target_dir = "#{Dir.pwd}/#{framework_name}" unless File.exist?(target_dir)
         
     | 
| 
       62 
64 
     | 
    
         
             
                            return target_dir
         
     | 
| 
       63 
65 
     | 
    
         
             
                        end
         
     | 
| 
       64 
66 
     | 
    
         
             
                        def podspec_name
         
     | 
| 
         @@ -80,7 +82,12 @@ module CBin 
     | 
|
| 
       80 
82 
     | 
    
         
             
                                require "fileutils"
         
     | 
| 
       81 
83 
     | 
    
         
             
                                FileUtils.mkdir_p(zip_dir)
         
     | 
| 
       82 
84 
     | 
    
         
             
                            end
         
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                            # 检查 framework_file_path 是否存在
         
     | 
| 
      
 87 
     | 
    
         
            +
                            unless File.exist?(framework_file_path)
         
     | 
| 
      
 88 
     | 
    
         
            +
                                UI.puts "❌ 错误: 未找到框架文件 #{framework_file_path}".red
         
     | 
| 
      
 89 
     | 
    
         
            +
                                raise "未找到框架文件,无法执行拷贝,请检查构建是否成功"
         
     | 
| 
      
 90 
     | 
    
         
            +
                            end
         
     | 
| 
       84 
91 
     | 
    
         | 
| 
       85 
92 
     | 
    
         
             
                            UI.puts "Compressing #{framework_file_path} into #{target_dir}"
         
     | 
| 
       86 
93 
     | 
    
         | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: cocoapods-bb-bin
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2.11. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.11.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - humin
         
     | 
| 
       8 
8 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       9 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       10 
     | 
    
         
            -
            date:  
     | 
| 
      
 10 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       11 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       12 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       13 
13 
     | 
    
         
             
              name: parallel
         
     | 
| 
         @@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       218 
218 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       219 
219 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       220 
220 
     | 
    
         
             
            requirements: []
         
     | 
| 
       221 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 221 
     | 
    
         
            +
            rubygems_version: 3.7.2
         
     | 
| 
       222 
222 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       223 
223 
     | 
    
         
             
            summary: cocoapods-bb-bin is a plugin which helps develpers switching pods between
         
     | 
| 
       224 
224 
     | 
    
         
             
              source code and binary.
         
     |