adsedare 0.0.9 → 0.0.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d212379c20e5b617e72240f0c85a3e278dc3224900aa1396eeab4f6285cf515
4
- data.tar.gz: 605549cc1f8c4a293e900b961cc0a53b58157cbdddbb84f08847e8a98fa5da67
3
+ metadata.gz: d3ac38b5f1f3cf548eb58c27a2db983cc3e97cd99652aec82198906dee5d2ba1
4
+ data.tar.gz: eec1c6d947e1f94ed07d35a4ddae5a5918c24cf96d5bf92c51ec81f19cdf7310
5
5
  SHA512:
6
- metadata.gz: 95628e4cf84b9f1ecef880c892c6367549a07d136169f2dda1308fc79dd2e8bba326f25157391f875fe1ef1a08e05731115075982279aa471bf3e1cf351d3b67
7
- data.tar.gz: e6e72667b14c6f705b14321380ee64b29a791c64b7b64167d36334a70429029d2424c3520ecc1b1107a565e084c13cd16011c8d6d9b731fd455f61ddd17de250
6
+ metadata.gz: 8ea609f14837a585f27bfd3507f6430b814004aa72f83f3a242403973bce85819c538b618e2cc667c9d554b9f2c9f837f20ed6b01d86ad612c6724252e7461cf
7
+ data.tar.gz: b82fdb1d28f39c0e923e918538acdcc11d41fa9fea49169408afe75255d35b186a016fdcaccd25a0f63248fb4e731721c50c5968cb305e1146f822956e2df944
@@ -77,6 +77,12 @@ module Adsedare
77
77
  profile_id = profile["id"]
78
78
  profile = profiles_by_id[profile_id]
79
79
 
80
+ profile_name = profile["attributes"]["name"]
81
+ # Xcode managed profiles can't be used for signing
82
+ if profile_name.start_with?("iOS Team Ad Hoc Provisioning Profile") || profile_name.start_with?("XC")
83
+ next
84
+ end
85
+
80
86
  if profile["attributes"]["profileType"] == "IOS_APP_ADHOC" && profile["attributes"]["profileState"] == "ACTIVE"
81
87
  ad_hoc_profile = profile
82
88
  break
@@ -26,8 +26,6 @@ module Adsedare
26
26
  end
27
27
  end.flatten.uniq
28
28
 
29
- puts project_bundles
30
-
31
29
  bundles_with_profiles = AppStoreConnect::Client.get_bundles_with_profiles(project_bundles)
32
30
  bundle_by_identifier = {}
33
31
  profiles_by_id = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Adsedare
4
- VERSION = "0.0.9"
4
+ VERSION = "0.0.10"
5
5
  end
@@ -63,6 +63,12 @@ module Adsedare
63
63
  profile_id = profile["id"]
64
64
  profile = profiles_by_id[profile_id]
65
65
 
66
+ profile_name = profile["attributes"]["name"]
67
+ # Xcode managed profiles can't be used for signing
68
+ if profile_name.start_with?("iOS Team Ad Hoc Provisioning Profile") || profile_name.start_with?("XC")
69
+ next
70
+ end
71
+
66
72
  if profile["attributes"]["profileType"] == "IOS_APP_ADHOC" && profile["attributes"]["profileState"] == "ACTIVE"
67
73
  ad_hoc_profile = profile
68
74
  break
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adsedare
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - alexstrnik