Skip to content

Commit a9f394d

Browse files
committed
Local build steps for iOS
1 parent d1c3dea commit a9f394d

19 files changed

+574
-94
lines changed

.bundle/config

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
BUNDLE_PATH: "vendor/bundle"

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ app.*.map.json
4747
/android/app/profile
4848
/android/app/release
4949
android/fastlane/report.xml
50+
51+
# fastlane
52+
/vendor/bundle/
53+
ios/fastlane/.env.default
54+
ios/android/.env.default
55+
ios/Flutter/KeeVault-generated.xcconfig

.vscode/tasks.json

+42
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,48 @@
6565
"group": "build",
6666
"problemMatcher": [],
6767
"label": "flutter: flutter build apk prod play"
68+
},
69+
{
70+
"type": "flutter",
71+
"command": "flutter",
72+
"args": [
73+
"build",
74+
"ios",
75+
"--config-only",
76+
"--release",
77+
"--no-codesign",
78+
"--dart-define",
79+
"KEEVAULT_STAGE=beta",
80+
"--dart-define",
81+
"KEEVAULT_NAME_SUFFIX=(b)",
82+
"--dart-define",
83+
"KEEVAULT_ID_SUFFIX=.beta"
84+
85+
],
86+
"group": "build",
87+
"problemMatcher": [],
88+
"label": "flutter prep: flutter build ios beta"
89+
},
90+
{
91+
"type": "flutter",
92+
"command": "flutter",
93+
"args": [
94+
"build",
95+
"ios",
96+
"--config-only",
97+
"--release",
98+
"--no-codesign",
99+
"--dart-define",
100+
"KEEVAULT_STAGE=prod",
101+
"--dart-define",
102+
"KEEVAULT_NAME_SUFFIX=",
103+
"--dart-define",
104+
"KEEVAULT_ID_SUFFIX="
105+
106+
],
107+
"group": "build",
108+
"problemMatcher": [],
109+
"label": "flutter prep: flutter build ios prod"
68110
}
69111
]
70112
}

Gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gem "fastlane"
6+
gem "dotenv"

Gemfile.lock

+219
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.5)
5+
rexml
6+
addressable (2.8.0)
7+
public_suffix (>= 2.0.2, < 5.0)
8+
artifactory (3.0.15)
9+
atomos (0.1.3)
10+
aws-eventstream (1.2.0)
11+
aws-partitions (1.613.0)
12+
aws-sdk-core (3.131.5)
13+
aws-eventstream (~> 1, >= 1.0.2)
14+
aws-partitions (~> 1, >= 1.525.0)
15+
aws-sigv4 (~> 1.1)
16+
jmespath (~> 1, >= 1.6.1)
17+
aws-sdk-kms (1.58.0)
18+
aws-sdk-core (~> 3, >= 3.127.0)
19+
aws-sigv4 (~> 1.1)
20+
aws-sdk-s3 (1.114.0)
21+
aws-sdk-core (~> 3, >= 3.127.0)
22+
aws-sdk-kms (~> 1)
23+
aws-sigv4 (~> 1.4)
24+
aws-sigv4 (1.5.1)
25+
aws-eventstream (~> 1, >= 1.0.2)
26+
babosa (1.0.4)
27+
claide (1.1.0)
28+
colored (1.2)
29+
colored2 (3.1.2)
30+
commander (4.6.0)
31+
highline (~> 2.0.0)
32+
declarative (0.0.20)
33+
digest-crc (0.6.4)
34+
rake (>= 12.0.0, < 14.0.0)
35+
domain_name (0.5.20190701)
36+
unf (>= 0.0.5, < 1.0.0)
37+
dotenv (2.8.1)
38+
emoji_regex (3.2.3)
39+
excon (0.92.4)
40+
faraday (1.10.0)
41+
faraday-em_http (~> 1.0)
42+
faraday-em_synchrony (~> 1.0)
43+
faraday-excon (~> 1.1)
44+
faraday-httpclient (~> 1.0)
45+
faraday-multipart (~> 1.0)
46+
faraday-net_http (~> 1.0)
47+
faraday-net_http_persistent (~> 1.0)
48+
faraday-patron (~> 1.0)
49+
faraday-rack (~> 1.0)
50+
faraday-retry (~> 1.0)
51+
ruby2_keywords (>= 0.0.4)
52+
faraday-cookie_jar (0.0.7)
53+
faraday (>= 0.8.0)
54+
http-cookie (~> 1.0.0)
55+
faraday-em_http (1.0.0)
56+
faraday-em_synchrony (1.0.0)
57+
faraday-excon (1.1.0)
58+
faraday-httpclient (1.0.1)
59+
faraday-multipart (1.0.4)
60+
multipart-post (~> 2)
61+
faraday-net_http (1.0.1)
62+
faraday-net_http_persistent (1.2.0)
63+
faraday-patron (1.0.0)
64+
faraday-rack (1.0.0)
65+
faraday-retry (1.0.3)
66+
faraday_middleware (1.2.0)
67+
faraday (~> 1.0)
68+
fastimage (2.2.6)
69+
fastlane (2.208.0)
70+
CFPropertyList (>= 2.3, < 4.0.0)
71+
addressable (>= 2.8, < 3.0.0)
72+
artifactory (~> 3.0)
73+
aws-sdk-s3 (~> 1.0)
74+
babosa (>= 1.0.3, < 2.0.0)
75+
bundler (>= 1.12.0, < 3.0.0)
76+
colored
77+
commander (~> 4.6)
78+
dotenv (>= 2.1.1, < 3.0.0)
79+
emoji_regex (>= 0.1, < 4.0)
80+
excon (>= 0.71.0, < 1.0.0)
81+
faraday (~> 1.0)
82+
faraday-cookie_jar (~> 0.0.6)
83+
faraday_middleware (~> 1.0)
84+
fastimage (>= 2.1.0, < 3.0.0)
85+
gh_inspector (>= 1.1.2, < 2.0.0)
86+
google-apis-androidpublisher_v3 (~> 0.3)
87+
google-apis-playcustomapp_v1 (~> 0.1)
88+
google-cloud-storage (~> 1.31)
89+
highline (~> 2.0)
90+
json (< 3.0.0)
91+
jwt (>= 2.1.0, < 3)
92+
mini_magick (>= 4.9.4, < 5.0.0)
93+
multipart-post (~> 2.0.0)
94+
naturally (~> 2.2)
95+
optparse (~> 0.1.1)
96+
plist (>= 3.1.0, < 4.0.0)
97+
rubyzip (>= 2.0.0, < 3.0.0)
98+
security (= 0.1.3)
99+
simctl (~> 1.6.3)
100+
terminal-notifier (>= 2.0.0, < 3.0.0)
101+
terminal-table (>= 1.4.5, < 2.0.0)
102+
tty-screen (>= 0.6.3, < 1.0.0)
103+
tty-spinner (>= 0.8.0, < 1.0.0)
104+
word_wrap (~> 1.0.0)
105+
xcodeproj (>= 1.13.0, < 2.0.0)
106+
xcpretty (~> 0.3.0)
107+
xcpretty-travis-formatter (>= 0.0.3)
108+
gh_inspector (1.1.3)
109+
google-apis-androidpublisher_v3 (0.25.0)
110+
google-apis-core (>= 0.7, < 2.a)
111+
google-apis-core (0.7.0)
112+
addressable (~> 2.5, >= 2.5.1)
113+
googleauth (>= 0.16.2, < 2.a)
114+
httpclient (>= 2.8.1, < 3.a)
115+
mini_mime (~> 1.0)
116+
representable (~> 3.0)
117+
retriable (>= 2.0, < 4.a)
118+
rexml
119+
webrick
120+
google-apis-iamcredentials_v1 (0.13.0)
121+
google-apis-core (>= 0.7, < 2.a)
122+
google-apis-playcustomapp_v1 (0.10.0)
123+
google-apis-core (>= 0.7, < 2.a)
124+
google-apis-storage_v1 (0.18.0)
125+
google-apis-core (>= 0.7, < 2.a)
126+
google-cloud-core (1.6.0)
127+
google-cloud-env (~> 1.0)
128+
google-cloud-errors (~> 1.0)
129+
google-cloud-env (1.6.0)
130+
faraday (>= 0.17.3, < 3.0)
131+
google-cloud-errors (1.2.0)
132+
google-cloud-storage (1.37.0)
133+
addressable (~> 2.8)
134+
digest-crc (~> 0.4)
135+
google-apis-iamcredentials_v1 (~> 0.1)
136+
google-apis-storage_v1 (~> 0.1)
137+
google-cloud-core (~> 1.6)
138+
googleauth (>= 0.16.2, < 2.a)
139+
mini_mime (~> 1.0)
140+
googleauth (1.2.0)
141+
faraday (>= 0.17.3, < 3.a)
142+
jwt (>= 1.4, < 3.0)
143+
memoist (~> 0.16)
144+
multi_json (~> 1.11)
145+
os (>= 0.9, < 2.0)
146+
signet (>= 0.16, < 2.a)
147+
highline (2.0.3)
148+
http-cookie (1.0.5)
149+
domain_name (~> 0.5)
150+
httpclient (2.8.3)
151+
jmespath (1.6.1)
152+
json (2.6.2)
153+
jwt (2.4.1)
154+
memoist (0.16.2)
155+
mini_magick (4.11.0)
156+
mini_mime (1.1.2)
157+
multi_json (1.15.0)
158+
multipart-post (2.0.0)
159+
nanaimo (0.3.0)
160+
naturally (2.2.1)
161+
optparse (0.1.1)
162+
os (1.1.4)
163+
plist (3.6.0)
164+
public_suffix (4.0.7)
165+
rake (13.0.6)
166+
representable (3.2.0)
167+
declarative (< 0.1.0)
168+
trailblazer-option (>= 0.1.1, < 0.2.0)
169+
uber (< 0.2.0)
170+
retriable (3.1.2)
171+
rexml (3.2.5)
172+
rouge (2.0.7)
173+
ruby2_keywords (0.0.5)
174+
rubyzip (2.3.2)
175+
security (0.1.3)
176+
signet (0.17.0)
177+
addressable (~> 2.8)
178+
faraday (>= 0.17.5, < 3.a)
179+
jwt (>= 1.5, < 3.0)
180+
multi_json (~> 1.10)
181+
simctl (1.6.8)
182+
CFPropertyList
183+
naturally
184+
terminal-notifier (2.0.0)
185+
terminal-table (1.8.0)
186+
unicode-display_width (~> 1.1, >= 1.1.1)
187+
trailblazer-option (0.1.2)
188+
tty-cursor (0.7.1)
189+
tty-screen (0.8.1)
190+
tty-spinner (0.9.3)
191+
tty-cursor (~> 0.7)
192+
uber (0.1.0)
193+
unf (0.1.4)
194+
unf_ext
195+
unf_ext (0.0.8.2)
196+
unicode-display_width (1.8.0)
197+
webrick (1.7.0)
198+
word_wrap (1.0.0)
199+
xcodeproj (1.22.0)
200+
CFPropertyList (>= 2.3.3, < 4.0)
201+
atomos (~> 0.1.3)
202+
claide (>= 1.0.2, < 2.0)
203+
colored2 (~> 3.1)
204+
nanaimo (~> 0.3.0)
205+
rexml (~> 3.2.4)
206+
xcpretty (0.3.0)
207+
rouge (~> 2.0.7)
208+
xcpretty-travis-formatter (1.0.1)
209+
xcpretty (~> 0.2, >= 0.0.7)
210+
211+
PLATFORMS
212+
universal-darwin-21
213+
214+
DEPENDENCIES
215+
dotenv
216+
fastlane
217+
218+
BUNDLED WITH
219+
2.3.19

ios/Flutter/AppFrameworkInfo.plist

+20-20
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleDevelopmentRegion</key>
6-
<string>$(DEVELOPMENT_LANGUAGE)</string>
7-
<key>CFBundleExecutable</key>
8-
<string>App</string>
9-
<key>CFBundleIdentifier</key>
10-
<string>io.flutter.flutter.app</string>
11-
<key>CFBundleInfoDictionaryVersion</key>
12-
<string>6.0</string>
13-
<key>CFBundleName</key>
14-
<string>App</string>
15-
<key>CFBundlePackageType</key>
16-
<string>FMWK</string>
17-
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
19-
<key>CFBundleSignature</key>
20-
<string>????</string>
21-
<key>CFBundleVersion</key>
22-
<string>1.0</string>
23-
<key>MinimumOSVersion</key>
24-
<string>9.0</string>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>App</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>io.flutter.flutter.app</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>App</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>1.0</string>
23+
<key>MinimumOSVersion</key>
24+
<string>12.4</string>
2525
</dict>
2626
</plist>

ios/Flutter/Debug.xcconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
22
#include "Generated.xcconfig"
3+
#include "KeeVault-defaults.xcconfig"
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
KEEVAULT_STAGE=dev
2+
KEEVAULT_CHANNEL=default
3+
KEEVAULT_NAME_SUFFIX=(d)
4+
KEEVAULT_ID_SUFFIX=.dev

ios/Flutter/Release.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
22
#include "Generated.xcconfig"
3+
#include "KeeVault-defaults.xcconfig"
4+
#include "KeeVault-generated.xcconfig"

ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
platform :ios, '10.0'
2+
platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

ios/Podfile.lock

+1-7
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ PODS:
4444
- fk_user_agent (2.0.0):
4545
- Flutter
4646
- Flutter (1.0.0)
47-
- flutter_autofill_service (0.0.1):
48-
- Flutter
4947
- flutter_file_dialog (0.0.1):
5048
- Flutter
5149
- flutter_native_splash (0.0.1):
@@ -78,7 +76,6 @@ DEPENDENCIES:
7876
- file_picker (from `.symlinks/plugins/file_picker/ios`)
7977
- fk_user_agent (from `.symlinks/plugins/fk_user_agent/ios`)
8078
- Flutter (from `Flutter`)
81-
- flutter_autofill_service (from `.symlinks/plugins/flutter_autofill_service/ios`)
8279
- flutter_file_dialog (from `.symlinks/plugins/flutter_file_dialog/ios`)
8380
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
8481
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
@@ -111,8 +108,6 @@ EXTERNAL SOURCES:
111108
:path: ".symlinks/plugins/fk_user_agent/ios"
112109
Flutter:
113110
:path: Flutter
114-
flutter_autofill_service:
115-
:path: ".symlinks/plugins/flutter_autofill_service/ios"
116111
flutter_file_dialog:
117112
:path: ".symlinks/plugins/flutter_file_dialog/ios"
118113
flutter_native_splash:
@@ -141,7 +136,6 @@ SPEC CHECKSUMS:
141136
file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95
142137
fk_user_agent: 1f47ec39291e8372b1d692b50084b0d54103c545
143138
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
144-
flutter_autofill_service: c3fdd7b5111068c2214b6707fdf087d5bc76596d
145139
flutter_file_dialog: 4c014a45b105709a27391e266c277d7e588e9299
146140
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
147141
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
@@ -156,6 +150,6 @@ SPEC CHECKSUMS:
156150
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
157151
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
158152

159-
PODFILE CHECKSUM: 982dde133ac38a12fa8e95d1efc4bb219ebf35fd
153+
PODFILE CHECKSUM: e739b77ce3b8e40bd5c567509ae9a003f0e8bdd0
160154

161155
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)