Skip to content

Commit 89bee63

Browse files
committed
2 parents ec6f256 + fbf2ddc commit 89bee63

4 files changed

Lines changed: 77 additions & 64 deletions

File tree

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
source "https://rubygems.org"
22

3-
gem "fastlane"
3+
# gem "fastlane"
4+
5+
# This branch uses fastlane 2.228.0 plus pr 29596
6+
gem "fastlane", git: "https://github.com/loopandlearn/fastlane.git", ref: "a670d4b092b274d58ebb5497126e47fc6a84f533"

Gemfile.lock

Lines changed: 63 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
GIT
2+
remote: https://github.com/loopandlearn/fastlane.git
3+
revision: a670d4b092b274d58ebb5497126e47fc6a84f533
4+
ref: a670d4b092b274d58ebb5497126e47fc6a84f533
5+
specs:
6+
fastlane (2.228.0)
7+
CFPropertyList (>= 2.3, < 4.0.0)
8+
addressable (>= 2.8, < 3.0.0)
9+
artifactory (~> 3.0)
10+
aws-sdk-s3 (~> 1.0)
11+
babosa (>= 1.0.3, < 2.0.0)
12+
bundler (>= 1.12.0, < 3.0.0)
13+
colored (~> 1.2)
14+
commander (~> 4.6)
15+
dotenv (>= 2.1.1, < 3.0.0)
16+
emoji_regex (>= 0.1, < 4.0)
17+
excon (>= 0.71.0, < 1.0.0)
18+
faraday (~> 1.0)
19+
faraday-cookie_jar (~> 0.0.6)
20+
faraday_middleware (~> 1.0)
21+
fastimage (>= 2.1.0, < 3.0.0)
22+
fastlane-sirp (>= 1.0.0)
23+
gh_inspector (>= 1.1.2, < 2.0.0)
24+
google-apis-androidpublisher_v3 (~> 0.3)
25+
google-apis-playcustomapp_v1 (~> 0.1)
26+
google-cloud-env (>= 1.6.0, < 2.0.0)
27+
google-cloud-storage (~> 1.31)
28+
highline (~> 2.0)
29+
http-cookie (~> 1.0.5)
30+
json (< 3.0.0)
31+
jwt (>= 2.1.0, < 3)
32+
mini_magick (>= 4.9.4, < 5.0.0)
33+
multipart-post (>= 2.0.0, < 3.0.0)
34+
naturally (~> 2.2)
35+
optparse (>= 0.1.1, < 1.0.0)
36+
plist (>= 3.1.0, < 4.0.0)
37+
rubyzip (>= 2.0.0, < 3.0.0)
38+
security (= 0.1.5)
39+
simctl (~> 1.6.3)
40+
terminal-notifier (>= 2.0.0, < 3.0.0)
41+
terminal-table (~> 3)
42+
tty-screen (>= 0.6.3, < 1.0.0)
43+
tty-spinner (>= 0.8.0, < 1.0.0)
44+
word_wrap (~> 1.0.0)
45+
xcodeproj (>= 1.13.0, < 2.0.0)
46+
xcpretty (~> 0.4.1)
47+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
48+
149
GEM
250
remote: https://rubygems.org/
351
specs:
@@ -9,26 +57,26 @@ GEM
957
public_suffix (>= 2.0.2, < 7.0)
1058
artifactory (3.0.17)
1159
atomos (0.1.3)
12-
aws-eventstream (1.3.2)
13-
aws-partitions (1.1086.0)
14-
aws-sdk-core (3.222.1)
60+
aws-eventstream (1.4.0)
61+
aws-partitions (1.1116.0)
62+
aws-sdk-core (3.225.2)
1563
aws-eventstream (~> 1, >= 1.3.0)
1664
aws-partitions (~> 1, >= 1.992.0)
1765
aws-sigv4 (~> 1.9)
1866
base64
1967
jmespath (~> 1, >= 1.6.1)
2068
logger
21-
aws-sdk-kms (1.99.0)
22-
aws-sdk-core (~> 3, >= 3.216.0)
69+
aws-sdk-kms (1.105.0)
70+
aws-sdk-core (~> 3, >= 3.225.0)
2371
aws-sigv4 (~> 1.5)
24-
aws-sdk-s3 (1.183.0)
25-
aws-sdk-core (~> 3, >= 3.216.0)
72+
aws-sdk-s3 (1.189.1)
73+
aws-sdk-core (~> 3, >= 3.225.0)
2674
aws-sdk-kms (~> 1)
2775
aws-sigv4 (~> 1.5)
28-
aws-sigv4 (1.11.0)
76+
aws-sigv4 (1.12.1)
2977
aws-eventstream (~> 1, >= 1.0.2)
3078
babosa (1.0.4)
31-
base64 (0.2.0)
79+
base64 (0.3.0)
3280
claide (1.1.0)
3381
colored (1.2)
3482
colored2 (3.1.2)
@@ -70,48 +118,6 @@ GEM
70118
faraday_middleware (1.2.1)
71119
faraday (~> 1.0)
72120
fastimage (2.4.0)
73-
fastlane (2.227.1)
74-
CFPropertyList (>= 2.3, < 4.0.0)
75-
addressable (>= 2.8, < 3.0.0)
76-
artifactory (~> 3.0)
77-
aws-sdk-s3 (~> 1.0)
78-
babosa (>= 1.0.3, < 2.0.0)
79-
bundler (>= 1.12.0, < 3.0.0)
80-
colored (~> 1.2)
81-
commander (~> 4.6)
82-
dotenv (>= 2.1.1, < 3.0.0)
83-
emoji_regex (>= 0.1, < 4.0)
84-
excon (>= 0.71.0, < 1.0.0)
85-
faraday (~> 1.0)
86-
faraday-cookie_jar (~> 0.0.6)
87-
faraday_middleware (~> 1.0)
88-
fastimage (>= 2.1.0, < 3.0.0)
89-
fastlane-sirp (>= 1.0.0)
90-
gh_inspector (>= 1.1.2, < 2.0.0)
91-
google-apis-androidpublisher_v3 (~> 0.3)
92-
google-apis-playcustomapp_v1 (~> 0.1)
93-
google-cloud-env (>= 1.6.0, < 2.0.0)
94-
google-cloud-storage (~> 1.31)
95-
highline (~> 2.0)
96-
http-cookie (~> 1.0.5)
97-
json (< 3.0.0)
98-
jwt (>= 2.1.0, < 3)
99-
mini_magick (>= 4.9.4, < 5.0.0)
100-
multipart-post (>= 2.0.0, < 3.0.0)
101-
naturally (~> 2.2)
102-
optparse (>= 0.1.1, < 1.0.0)
103-
plist (>= 3.1.0, < 4.0.0)
104-
rubyzip (>= 2.0.0, < 3.0.0)
105-
security (= 0.1.5)
106-
simctl (~> 1.6.3)
107-
terminal-notifier (>= 2.0.0, < 3.0.0)
108-
terminal-table (~> 3)
109-
tty-screen (>= 0.6.3, < 1.0.0)
110-
tty-spinner (>= 0.8.0, < 1.0.0)
111-
word_wrap (~> 1.0.0)
112-
xcodeproj (>= 1.13.0, < 2.0.0)
113-
xcpretty (~> 0.4.1)
114-
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
115121
fastlane-sirp (1.0.0)
116122
sysrandom (~> 1.0)
117123
gh_inspector (1.1.3)
@@ -157,7 +163,7 @@ GEM
157163
httpclient (2.9.0)
158164
mutex_m
159165
jmespath (1.6.2)
160-
json (2.10.2)
166+
json (2.12.2)
161167
jwt (2.10.1)
162168
base64
163169
logger (1.7.0)
@@ -167,13 +173,13 @@ GEM
167173
multipart-post (2.4.1)
168174
mutex_m (0.3.0)
169175
nanaimo (0.4.0)
170-
naturally (2.2.1)
176+
naturally (2.3.0)
171177
nkf (0.2.0)
172178
optparse (0.6.0)
173179
os (1.1.4)
174180
plist (3.7.2)
175-
public_suffix (6.0.1)
176-
rake (13.2.1)
181+
public_suffix (6.0.2)
182+
rake (13.3.0)
177183
representable (3.2.0)
178184
declarative (< 0.1.0)
179185
trailblazer-option (>= 0.1.1, < 0.2.0)
@@ -184,7 +190,7 @@ GEM
184190
ruby2_keywords (0.0.5)
185191
rubyzip (2.4.1)
186192
security (0.1.5)
187-
signet (0.19.0)
193+
signet (0.20.0)
188194
addressable (~> 2.8)
189195
faraday (>= 0.17.5, < 3.a)
190196
jwt (>= 1.5, < 3.0)
@@ -226,7 +232,7 @@ PLATFORMS
226232
x86_64-linux
227233

228234
DEPENDENCIES
229-
fastlane
235+
fastlane!
230236

231237
BUNDLED WITH
232238
2.6.2

VersionOverride.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
// Version [for DIY Loop]
1010
// configure the version number in LoopWorkspace
11-
LOOP_MARKETING_VERSION = 3.6.0
11+
LOOP_MARKETING_VERSION = 3.6.2
1212
CURRENT_PROJECT_VERSION = 57

fastlane/Fastfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,22 @@ platform :ios do
171171
)
172172

173173
def configure_bundle_id(name, identifier, capabilities)
174-
bundle_id = Spaceship::ConnectAPI::BundleId.find(identifier) || Spaceship::ConnectAPI::BundleId.create(name: name, identifier: identifier)
175-
capabilities.each { |capability|
176-
bundle_id.create_capability(capability)
177-
}
174+
bundle_id = Spaceship::ConnectAPI::BundleId.find(identifier) || Spaceship::ConnectAPI::BundleId.create(
175+
name: name,
176+
identifier: identifier,
177+
platform: "IOS"
178+
)
179+
existing = bundle_id.get_capabilities.map(&:capability_type)
180+
capabilities.reject { |c| existing.include?(c) }.each do |cap|
181+
bundle_id.create_capability(cap)
182+
end
178183
end
179184

180185
configure_bundle_id("Loop", "com.#{TEAMID}.loopkit.Loop", [
181186
Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS,
182187
Spaceship::ConnectAPI::BundleIdCapability::Type::HEALTHKIT,
183188
Spaceship::ConnectAPI::BundleIdCapability::Type::PUSH_NOTIFICATIONS,
184189
Spaceship::ConnectAPI::BundleIdCapability::Type::SIRIKIT,
185-
Spaceship::ConnectAPI::BundleIdCapability::Type::USERNOTIFICATIONS_TIMESENSITIVE,
186190
Spaceship::ConnectAPI::BundleIdCapability::Type::NFC_TAG_READING
187191
])
188192

0 commit comments

Comments
 (0)