cocoapods-generate 2.2.2 → 2.2.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: 8ec807085c21de2232ba62daad8b1a5cb014904ac95082163de14e1ee46cc9fc
4
- data.tar.gz: f03150d21af7d856c665e421ea98a37ec5114d622f0d775dc9e674a2c72ff5b3
3
+ metadata.gz: f4bfa2c31a2e64dd3923f9413cac796a3857e8693c1e4b437dd8d6caa118cfd5
4
+ data.tar.gz: 83a3ab70639016cfb600c0958d79288dfbaad3d9df8a43d0f50e11edfc52fc53
5
5
  SHA512:
6
- metadata.gz: 620f5d4fb25024442f8e697b47bfa1d30f47933e06d5467ade270b25a00fdce9f2de492bbbd3706674893ae30cf4c9633d25420e356933cbb83df7cff9820d94
7
- data.tar.gz: 5470965cdcdc8a68dba3bd14051ec0d6a819363b19440e2f1ad9ef42622036e839bb188a3e4eb2655b1a7d2739eda697382c1053d17a2078c71f02bbb3ff9d1c
6
+ metadata.gz: a5ac204b50794cb297184858ddba52a80357dd6da2c5f22654a27e8baabbca14e5903837b6c4789385c3fa5d11b9de3f00fb2089e27c06fb0102bc5652720e4f
7
+ data.tar.gz: 62ec11956e6af98a32665665f9db92fd9b57175edeb4d17dace834e248025060afdf1e68758bad6b0b5e7ab959a91cf4b6f92c8ff0901d3b47ab3d0de61bed58
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.2
1
+ 2.2.3
@@ -234,9 +234,13 @@ module Pod
234
234
  bc.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = 'org.cocoapods-generate.${PRODUCT_NAME:rfc1034identifier}'
235
235
  end
236
236
 
237
- case native_app_target.platform_name
237
+ case native_app_target.platform_name.to_sym
238
238
  when :ios
239
239
  make_ios_app_launchable(app_project, native_app_target)
240
+ when :osx
241
+ generate_infoplist_file(app_project, native_app_target)
242
+ when :tvos
243
+ generate_infoplist_file(app_project, native_app_target)
240
244
  end
241
245
 
242
246
  swift_version = pod_targets.map { |pt| Pod::Version.new(pt.swift_version) }.max.to_s
@@ -391,6 +395,15 @@ module Pod
391
395
  native_app_target.resources_build_phase.add_file_reference(launch_storyboard_file_ref)
392
396
  end
393
397
 
398
+ def generate_infoplist_file(app_project, native_app_target)
399
+ # Starting in Xcode 14, there is an error when you build the macOS or
400
+ # tvOS app that is generated from cocoapods-generate. This implements
401
+ # the suggested change.
402
+ native_app_target.build_configurations.each do |bc|
403
+ bc.build_settings['GENERATE_INFOPLIST_FILE'] = "YES"
404
+ end
405
+ end
406
+
394
407
  def group_for_platform_name(project, platform_name, should_create = true)
395
408
  project.main_group.find_subpath("App-#{platform_name}", should_create)
396
409
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-generate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-09 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods-disable-podfile-validations
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.1.1
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 0.3.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.1.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 0.3.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -101,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
107
  - !ruby/object:Gem::Version
102
108
  version: '0'
103
109
  requirements: []
104
- rubygems_version: 3.0.1
110
+ rubygems_version: 3.2.3
105
111
  signing_key:
106
112
  specification_version: 4
107
113
  summary: Generates Xcode workspaces from a podspec.