cocoapods-packager-bj 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed2097e8d0fc071d4bf2a46e548c503dd5b5acc0b8f59e0f8f89d61d1e9d469a
4
- data.tar.gz: cb4a1761722fdbbbf4e43c988077ef66f278984caeec0eb98c51d57c81745ab5
3
+ metadata.gz: ca9a48165bcbc2e15651427790b34271a9e4a2cc0e4ea17d16aa6802a2a3278d
4
+ data.tar.gz: f9d5e7a98a52ba02567b9b833cc7d50fffa551adb9f0d79df5f9cfc21d1f23ff
5
5
  SHA512:
6
- metadata.gz: fe52668ac1e317b0ef7f76ef679195ba8ba23de349f8e589d6d2d7f44aae0699c8aa4c2e6f37d3347b006a7f97235e32483ad967087020e869b0be065b8f97f9
7
- data.tar.gz: 166f239364d60f2d00e115d13673595f8af0aad92f8c4bfe429907ca8e43d0606991129e88124cd1032067ca6cb8211fd8eeaf9e58b2d57b63233b640fa302fe
6
+ metadata.gz: '08795f4162c27b51898adf95094f450fde09893f8f22e5c3f7b0c4565df0b88694488485c25d7c12fb45069db62c8b145b80f6fee60ca2d116ee71da528355f3'
7
+ data.tar.gz: b42bd769b036c19bfb2ad4bfaf0fa3a3c641f6e3978d091cd520f5b4b469c3ec3b271845e1d6fbf4de4fd346db898602838649fa95b74f1f93de59283309c742
data/README.md CHANGED
@@ -1,2 +1,39 @@
1
1
  # cocoapods_packager-bj
2
+
2
3
  Based on cocoapods-package, support build swift framework
4
+
5
+ ## usage
6
+
7
+ pod bjpackage yourRepo.podspec
8
+
9
+ ## argv
10
+
11
+ ['--force', 'Overwrite existing files.'],
12
+
13
+ ['--no-mangle', 'Do not mangle symbols of depedendant Pods.'],
14
+
15
+ ['--embedded', 'Generate embedded frameworks.'],
16
+
17
+ ['--library', 'Generate static libraries.'],
18
+
19
+ ['--dynamic', 'Generate dynamic framework.'],
20
+
21
+ ['--modules', 'Generate static swift framework use modules.'],
22
+
23
+ ['--local', 'Use local state rather than published versions.'],
24
+
25
+ ['--bundle-identifier', 'Bundle identifier for dynamic framework'],
26
+
27
+ ['--exclude-deps', 'Exclude symbols from dependencies.'],
28
+
29
+ ['--configuration', 'Build the specified configuration (e.g. Debug). Defaults to Release'],
30
+
31
+ ['--subspecs', 'Only include the given subspecs'],
32
+
33
+ ['--usetrunk', 'Use trunk to install project'],
34
+
35
+ ['--spec-sources=private,https://github.com/CocoaPods/Specs.git', 'The sources to pull dependent ' 'pods from (defaults to https://github.com/CocoaPods/Specs.git)']
36
+
37
+ ## normal usage
38
+
39
+ pod bjpackage yourRepo.podspec --embedded --no-mangle --exclude-deps --spec-sources=https://github.com/CocoaPods/Specs.git —verbose
@@ -306,7 +306,7 @@ MAP
306
306
  end
307
307
 
308
308
  def ios_architectures
309
- archs = %w(x86_64 i386 arm64 armv7 armv7s)
309
+ archs = %w(x86_64 arm64)
310
310
  vendored_libraries.each do |library|
311
311
  archs = `lipo -info #{library}`.split & archs
312
312
  end
@@ -20,7 +20,8 @@ module Pod
20
20
  @spec.deployment_target(platform_name),
21
21
  @subspecs,
22
22
  @spec_sources,
23
- modules
23
+ modules,
24
+ @usetrunk
24
25
  )
25
26
 
26
27
  static_installer = Installer.new(sandbox, podfile)
@@ -46,7 +47,7 @@ module Pod
46
47
  static_installer
47
48
  end
48
49
 
49
- def podfile_from_spec(path, spec_name, platform_name, deployment_target, subspecs, sources, modules)
50
+ def podfile_from_spec(path, spec_name, platform_name, deployment_target, subspecs, sources, modules, usetrunk)
50
51
  options = {}
51
52
  if path
52
53
  if @local
@@ -61,7 +62,9 @@ module Pod
61
62
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
62
63
  use_frameworks!(:linkage => :static)
63
64
  end
64
- sources.each { |s| source s }
65
+ if !usetrunk
66
+ sources.each { |s| source s }
67
+ end
65
68
  platform(platform_name, deployment_target)
66
69
  pod(spec_name, options)
67
70
 
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  module BJPackager
3
- VERSION = '1.5.2'.freeze
3
+ VERSION = '1.5.3'.freeze
4
4
  end
5
5
  end
@@ -21,6 +21,7 @@ module Pod
21
21
  ['--exclude-deps', 'Exclude symbols from dependencies.'],
22
22
  ['--configuration', 'Build the specified configuration (e.g. Debug). Defaults to Release'],
23
23
  ['--subspecs', 'Only include the given subspecs'],
24
+ ['--usetrunk', 'Use trunk to install project'],
24
25
  ['--spec-sources=private,https://github.com/CocoaPods/Specs.git', 'The sources to pull dependent ' \
25
26
  'pods from (defaults to https://github.com/CocoaPods/Specs.git)']
26
27
  ]
@@ -49,6 +50,7 @@ module Pod
49
50
  @exclude_deps = argv.flag?('exclude-deps', false)
50
51
  @name = argv.shift_argument
51
52
  @source = argv.shift_argument
53
+ @usetrunk = argv.flag?('usetrunk')
52
54
  @spec_sources = argv.option('spec-sources', 'https://github.com/CocoaPods/Specs.git').split(',')
53
55
 
54
56
  subspecs = argv.option('subspecs')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-packager-bj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fuller
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-03-30 00:00:00.000000000 Z
12
+ date: 2024-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.0.3
101
+ rubygems_version: 3.5.3
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Based on cocoapods-packager code, support swift framework, generate a framework