Skip to content

Commit 974057b

Browse files
committed
fix: remove PNDecryptionService from WalletApp scheme and fix code signing
1 parent d0204b6 commit 974057b

File tree

5 files changed

+346
-19
lines changed

5 files changed

+346
-19
lines changed

Example/ExampleApp.xcodeproj/xcshareddata/xcschemes/WalletApp.xcscheme

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,6 @@
2020
ReferencedContainer = "container:ExampleApp.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
23-
<BuildActionEntry
24-
buildForTesting = "YES"
25-
buildForRunning = "YES"
26-
buildForProfiling = "YES"
27-
buildForArchiving = "YES"
28-
buildForAnalyzing = "YES">
29-
<BuildableReference
30-
BuildableIdentifier = "primary"
31-
BlueprintIdentifier = "84E6B84629787A8000428BAF"
32-
BuildableName = "PNDecryptionService.appex"
33-
BlueprintName = "PNDecryptionService"
34-
ReferencedContainer = "container:ExampleApp.xcodeproj">
35-
</BuildableReference>
36-
</BuildActionEntry>
3723
</BuildActionEntries>
3824
</BuildAction>
3925
<TestAction

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem "fastlane"

Gemfile.lock

Lines changed: 330 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,330 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.8)
5+
abbrev (0.1.2)
6+
addressable (2.8.8)
7+
public_suffix (>= 2.0.2, < 8.0)
8+
artifactory (3.0.17)
9+
atomos (0.1.3)
10+
aws-eventstream (1.4.0)
11+
aws-partitions (1.1207.0)
12+
aws-sdk-core (3.241.4)
13+
aws-eventstream (~> 1, >= 1.3.0)
14+
aws-partitions (~> 1, >= 1.992.0)
15+
aws-sigv4 (~> 1.9)
16+
base64
17+
bigdecimal
18+
jmespath (~> 1, >= 1.6.1)
19+
logger
20+
aws-sdk-kms (1.121.0)
21+
aws-sdk-core (~> 3, >= 3.241.4)
22+
aws-sigv4 (~> 1.5)
23+
aws-sdk-s3 (1.212.0)
24+
aws-sdk-core (~> 3, >= 3.241.4)
25+
aws-sdk-kms (~> 1)
26+
aws-sigv4 (~> 1.5)
27+
aws-sigv4 (1.12.1)
28+
aws-eventstream (~> 1, >= 1.0.2)
29+
babosa (1.0.4)
30+
base64 (0.2.0)
31+
benchmark (0.5.0)
32+
bigdecimal (4.0.1)
33+
claide (1.1.0)
34+
colored (1.2)
35+
colored2 (3.1.2)
36+
commander (4.6.0)
37+
highline (~> 2.0.0)
38+
csv (3.3.5)
39+
declarative (0.0.20)
40+
digest-crc (0.7.0)
41+
rake (>= 12.0.0, < 14.0.0)
42+
domain_name (0.6.20240107)
43+
dotenv (2.8.1)
44+
emoji_regex (3.2.3)
45+
excon (0.112.0)
46+
faraday (1.8.0)
47+
faraday-em_http (~> 1.0)
48+
faraday-em_synchrony (~> 1.0)
49+
faraday-excon (~> 1.1)
50+
faraday-httpclient (~> 1.0.1)
51+
faraday-net_http (~> 1.0)
52+
faraday-net_http_persistent (~> 1.1)
53+
faraday-patron (~> 1.0)
54+
faraday-rack (~> 1.0)
55+
multipart-post (>= 1.2, < 3)
56+
ruby2_keywords (>= 0.0.4)
57+
faraday-cookie_jar (0.0.8)
58+
faraday (>= 0.8.0)
59+
http-cookie (>= 1.0.0)
60+
faraday-em_http (1.0.0)
61+
faraday-em_synchrony (1.0.1)
62+
faraday-excon (1.1.0)
63+
faraday-httpclient (1.0.1)
64+
faraday-net_http (1.0.2)
65+
faraday-net_http_persistent (1.2.0)
66+
faraday-patron (1.0.0)
67+
faraday-rack (1.0.0)
68+
faraday_middleware (1.2.1)
69+
faraday (~> 1.0)
70+
fastimage (2.4.0)
71+
fastlane (2.231.1)
72+
CFPropertyList (>= 2.3, < 4.0.0)
73+
abbrev (~> 0.1.2)
74+
addressable (>= 2.8, < 3.0.0)
75+
artifactory (~> 3.0)
76+
aws-sdk-s3 (~> 1.0)
77+
babosa (>= 1.0.3, < 2.0.0)
78+
base64 (~> 0.2.0)
79+
benchmark (>= 0.1.0)
80+
bundler (>= 1.17.3, < 5.0.0)
81+
colored (~> 1.2)
82+
commander (~> 4.6)
83+
csv (~> 3.3)
84+
dotenv (>= 2.1.1, < 3.0.0)
85+
emoji_regex (>= 0.1, < 4.0)
86+
excon (>= 0.71.0, < 1.0.0)
87+
faraday (~> 1.0)
88+
faraday-cookie_jar (~> 0.0.6)
89+
faraday_middleware (~> 1.0)
90+
fastimage (>= 2.1.0, < 3.0.0)
91+
fastlane-sirp (>= 1.0.0)
92+
gh_inspector (>= 1.1.2, < 2.0.0)
93+
google-apis-androidpublisher_v3 (~> 0.3)
94+
google-apis-playcustomapp_v1 (~> 0.1)
95+
google-cloud-env (>= 1.6.0, < 2.0.0)
96+
google-cloud-storage (~> 1.31)
97+
highline (~> 2.0)
98+
http-cookie (~> 1.0.5)
99+
json (< 3.0.0)
100+
jwt (>= 2.1.0, < 3)
101+
logger (>= 1.6, < 2.0)
102+
mini_magick (>= 4.9.4, < 5.0.0)
103+
multipart-post (>= 2.0.0, < 3.0.0)
104+
mutex_m (~> 0.3.0)
105+
naturally (~> 2.2)
106+
nkf (~> 0.2.0)
107+
optparse (>= 0.1.1, < 1.0.0)
108+
ostruct (>= 0.1.0)
109+
plist (>= 3.1.0, < 4.0.0)
110+
rubyzip (>= 2.0.0, < 3.0.0)
111+
security (= 0.1.5)
112+
simctl (~> 1.6.3)
113+
terminal-notifier (>= 2.0.0, < 3.0.0)
114+
terminal-table (~> 3)
115+
tty-screen (>= 0.6.3, < 1.0.0)
116+
tty-spinner (>= 0.8.0, < 1.0.0)
117+
word_wrap (~> 1.0.0)
118+
xcodeproj (>= 1.13.0, < 2.0.0)
119+
xcpretty (~> 0.4.1)
120+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
121+
fastlane-sirp (1.0.0)
122+
sysrandom (~> 1.0)
123+
gh_inspector (1.1.3)
124+
google-apis-androidpublisher_v3 (0.54.0)
125+
google-apis-core (>= 0.11.0, < 2.a)
126+
google-apis-core (0.11.3)
127+
addressable (~> 2.5, >= 2.5.1)
128+
googleauth (>= 0.16.2, < 2.a)
129+
httpclient (>= 2.8.1, < 3.a)
130+
mini_mime (~> 1.0)
131+
representable (~> 3.0)
132+
retriable (>= 2.0, < 4.a)
133+
rexml
134+
google-apis-iamcredentials_v1 (0.17.0)
135+
google-apis-core (>= 0.11.0, < 2.a)
136+
google-apis-playcustomapp_v1 (0.13.0)
137+
google-apis-core (>= 0.11.0, < 2.a)
138+
google-apis-storage_v1 (0.31.0)
139+
google-apis-core (>= 0.11.0, < 2.a)
140+
google-cloud-core (1.8.0)
141+
google-cloud-env (>= 1.0, < 3.a)
142+
google-cloud-errors (~> 1.0)
143+
google-cloud-env (1.6.0)
144+
faraday (>= 0.17.3, < 3.0)
145+
google-cloud-errors (1.5.0)
146+
google-cloud-storage (1.47.0)
147+
addressable (~> 2.8)
148+
digest-crc (~> 0.4)
149+
google-apis-iamcredentials_v1 (~> 0.1)
150+
google-apis-storage_v1 (~> 0.31.0)
151+
google-cloud-core (~> 1.6)
152+
googleauth (>= 0.16.2, < 2.a)
153+
mini_mime (~> 1.0)
154+
googleauth (1.8.1)
155+
faraday (>= 0.17.3, < 3.a)
156+
jwt (>= 1.4, < 3.0)
157+
multi_json (~> 1.11)
158+
os (>= 0.9, < 2.0)
159+
signet (>= 0.16, < 2.a)
160+
highline (2.0.3)
161+
http-cookie (1.0.8)
162+
domain_name (~> 0.5)
163+
httpclient (2.9.0)
164+
mutex_m
165+
jmespath (1.6.2)
166+
json (2.18.0)
167+
jwt (2.10.2)
168+
base64
169+
logger (1.7.0)
170+
mini_magick (4.13.2)
171+
mini_mime (1.1.5)
172+
multi_json (1.19.1)
173+
multipart-post (2.4.1)
174+
mutex_m (0.3.0)
175+
nanaimo (0.4.0)
176+
naturally (2.3.0)
177+
nkf (0.2.0)
178+
optparse (0.8.1)
179+
os (1.1.4)
180+
ostruct (0.6.3)
181+
plist (3.7.2)
182+
public_suffix (7.0.2)
183+
rake (13.3.1)
184+
representable (3.2.0)
185+
declarative (< 0.1.0)
186+
trailblazer-option (>= 0.1.1, < 0.2.0)
187+
uber (< 0.2.0)
188+
retriable (3.1.2)
189+
rexml (3.4.4)
190+
rouge (3.28.0)
191+
ruby2_keywords (0.0.5)
192+
rubyzip (2.4.1)
193+
security (0.1.5)
194+
signet (0.21.0)
195+
addressable (~> 2.8)
196+
faraday (>= 0.17.5, < 3.a)
197+
jwt (>= 1.5, < 4.0)
198+
multi_json (~> 1.10)
199+
simctl (1.6.10)
200+
CFPropertyList
201+
naturally
202+
sysrandom (1.0.5)
203+
terminal-notifier (2.0.0)
204+
terminal-table (3.0.2)
205+
unicode-display_width (>= 1.1.1, < 3)
206+
trailblazer-option (0.1.2)
207+
tty-cursor (0.7.1)
208+
tty-screen (0.8.2)
209+
tty-spinner (0.9.3)
210+
tty-cursor (~> 0.7)
211+
uber (0.1.0)
212+
unicode-display_width (2.6.0)
213+
word_wrap (1.0.0)
214+
xcodeproj (1.27.0)
215+
CFPropertyList (>= 2.3.3, < 4.0)
216+
atomos (~> 0.1.3)
217+
claide (>= 1.0.2, < 2.0)
218+
colored2 (~> 3.1)
219+
nanaimo (~> 0.4.0)
220+
rexml (>= 3.3.6, < 4.0)
221+
xcpretty (0.4.1)
222+
rouge (~> 3.28.0)
223+
xcpretty-travis-formatter (1.0.1)
224+
xcpretty (~> 0.2, >= 0.0.7)
225+
226+
PLATFORMS
227+
arm64-darwin-25
228+
ruby
229+
230+
DEPENDENCIES
231+
fastlane
232+
233+
CHECKSUMS
234+
CFPropertyList (3.0.8)
235+
abbrev (0.1.2)
236+
addressable (2.8.8)
237+
artifactory (3.0.17)
238+
atomos (0.1.3)
239+
aws-eventstream (1.4.0)
240+
aws-partitions (1.1207.0)
241+
aws-sdk-core (3.241.4)
242+
aws-sdk-kms (1.121.0)
243+
aws-sdk-s3 (1.212.0)
244+
aws-sigv4 (1.12.1)
245+
babosa (1.0.4)
246+
base64 (0.2.0)
247+
benchmark (0.5.0)
248+
bigdecimal (4.0.1)
249+
claide (1.1.0)
250+
colored (1.2)
251+
colored2 (3.1.2)
252+
commander (4.6.0)
253+
csv (3.3.5)
254+
declarative (0.0.20)
255+
digest-crc (0.7.0)
256+
domain_name (0.6.20240107)
257+
dotenv (2.8.1)
258+
emoji_regex (3.2.3)
259+
excon (0.112.0)
260+
faraday (1.8.0)
261+
faraday-cookie_jar (0.0.8)
262+
faraday-em_http (1.0.0)
263+
faraday-em_synchrony (1.0.1)
264+
faraday-excon (1.1.0)
265+
faraday-httpclient (1.0.1)
266+
faraday-net_http (1.0.2)
267+
faraday-net_http_persistent (1.2.0)
268+
faraday-patron (1.0.0)
269+
faraday-rack (1.0.0)
270+
faraday_middleware (1.2.1)
271+
fastimage (2.4.0)
272+
fastlane (2.231.1)
273+
fastlane-sirp (1.0.0)
274+
gh_inspector (1.1.3)
275+
google-apis-androidpublisher_v3 (0.54.0)
276+
google-apis-core (0.11.3)
277+
google-apis-iamcredentials_v1 (0.17.0)
278+
google-apis-playcustomapp_v1 (0.13.0)
279+
google-apis-storage_v1 (0.31.0)
280+
google-cloud-core (1.8.0)
281+
google-cloud-env (1.6.0)
282+
google-cloud-errors (1.5.0)
283+
google-cloud-storage (1.47.0)
284+
googleauth (1.8.1)
285+
highline (2.0.3)
286+
http-cookie (1.0.8)
287+
httpclient (2.9.0)
288+
jmespath (1.6.2)
289+
json (2.18.0)
290+
jwt (2.10.2)
291+
logger (1.7.0)
292+
mini_magick (4.13.2)
293+
mini_mime (1.1.5)
294+
multi_json (1.19.1)
295+
multipart-post (2.4.1)
296+
mutex_m (0.3.0)
297+
nanaimo (0.4.0)
298+
naturally (2.3.0)
299+
nkf (0.2.0)
300+
optparse (0.8.1)
301+
os (1.1.4)
302+
ostruct (0.6.3)
303+
plist (3.7.2)
304+
public_suffix (7.0.2)
305+
rake (13.3.1)
306+
representable (3.2.0)
307+
retriable (3.1.2)
308+
rexml (3.4.4)
309+
rouge (3.28.0)
310+
ruby2_keywords (0.0.5)
311+
rubyzip (2.4.1)
312+
security (0.1.5)
313+
signet (0.21.0)
314+
simctl (1.6.10)
315+
sysrandom (1.0.5)
316+
terminal-notifier (2.0.0)
317+
terminal-table (3.0.2)
318+
trailblazer-option (0.1.2)
319+
tty-cursor (0.7.1)
320+
tty-screen (0.8.2)
321+
tty-spinner (0.9.3)
322+
uber (0.1.0)
323+
unicode-display_width (2.6.0)
324+
word_wrap (1.0.0)
325+
xcodeproj (1.27.0)
326+
xcpretty (0.4.1)
327+
xcpretty-travis-formatter (1.0.1)
328+
329+
BUNDLED WITH
330+
4.0.3

fastlane/Fastfile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,21 @@ platform :ios do
8080
in_house: false,
8181
)
8282
match(
83-
readonly: false,
83+
readonly: true,
8484
type: "appstore",
8585
app_identifier: ENV["MATCH_IDENTIFIERS"],
8686
git_url: ENV["MATCH_GIT_URL"],
8787
api_key: api_key,
88-
include_all_certificates: true,
89-
force_for_new_certificates: true
88+
include_all_certificates: true
89+
)
90+
91+
# Update Xcode project code signing settings to use Match profiles
92+
update_code_signing_settings(
93+
use_automatic_signing: false,
94+
path: "Example/ExampleApp.xcodeproj",
95+
bundle_identifier: ENV["APP_IDENTIFIER"],
96+
code_sign_identity: "Apple Distribution",
97+
profile_name: "match AppStore #{ENV["APP_IDENTIFIER"]}"
9098
)
9199

92100
number = latest_testflight_build_number(

scripts/create-certificates.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [ -z "$CERTS_REPO" ] || [ -z "$BUNDLE_ID" ] || [ -z "$APPLE_EMAIL" ]; then
2828
exit 1
2929
fi
3030

31-
CERTS_GIT_URL="git@github.com:${CERTS_REPO}.git"
31+
CERTS_GIT_URL="https://github.com/${CERTS_REPO}.git"
3232
BRANCH_NAME="certs/add-${BUNDLE_ID}-${MATCH_TYPE}"
3333

3434
echo "🔐 Creating certificates for ${BUNDLE_ID}"
@@ -73,7 +73,7 @@ echo " ✓ Branch created"
7373

7474
# 4. Run fastlane match
7575
echo "🚀 Running fastlane match ${MATCH_TYPE}..."
76-
if ! bundle exec fastlane match ${MATCH_TYPE} \
76+
if ! fastlane match ${MATCH_TYPE} \
7777
--git_url "${CERTS_GIT_URL}" \
7878
--git_branch "${BRANCH_NAME}" \
7979
--username "${APPLE_EMAIL}" \

0 commit comments

Comments
 (0)