Skip to content

Commit 30e5070

Browse files
shaileshmishrashaileshmishra
authored andcommitted
cleanup
1 parent db9b2c1 commit 30e5070

File tree

4 files changed

+66
-34
lines changed

4 files changed

+66
-34
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.formatOnSave": true
3+
}

ios/Podfile

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Uncomment this line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
project 'Runner', {
8+
'Debug' => :debug,
9+
'Profile' => :release,
10+
'Release' => :release,
11+
}
12+
13+
def flutter_root
14+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15+
unless File.exist?(generated_xcode_build_settings_path)
16+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17+
end
18+
19+
File.foreach(generated_xcode_build_settings_path) do |line|
20+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
21+
return matches[1].strip if matches
22+
end
23+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24+
end
25+
26+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27+
28+
flutter_ios_podfile_setup
29+
30+
target 'Runner' do
31+
use_frameworks!
32+
use_modular_headers!
33+
34+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35+
end
36+
37+
post_install do |installer|
38+
installer.pods_project.targets.each do |target|
39+
flutter_additional_ios_build_settings(target)
40+
end
41+
end

ios/Podfile.lock

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,21 @@ PODS:
22
- Flutter (1.0.0)
33
- path_provider (0.0.1):
44
- Flutter
5-
- path_provider_linux (0.0.1):
6-
- Flutter
7-
- path_provider_macos (0.0.1):
8-
- Flutter
95

106
DEPENDENCIES:
117
- Flutter (from `Flutter`)
128
- path_provider (from `.symlinks/plugins/path_provider/ios`)
13-
- path_provider_linux (from `.symlinks/plugins/path_provider_linux/ios`)
14-
- path_provider_macos (from `.symlinks/plugins/path_provider_macos/ios`)
159

1610
EXTERNAL SOURCES:
1711
Flutter:
1812
:path: Flutter
1913
path_provider:
2014
:path: ".symlinks/plugins/path_provider/ios"
21-
path_provider_linux:
22-
:path: ".symlinks/plugins/path_provider_linux/ios"
23-
path_provider_macos:
24-
:path: ".symlinks/plugins/path_provider_macos/ios"
2515

2616
SPEC CHECKSUMS:
27-
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
17+
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
2818
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
29-
path_provider_linux: 4d630dc393e1f20364f3e3b4a2ff41d9674a84e4
30-
path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0
3119

32-
PODFILE CHECKSUM: c34e2287a9ccaa606aeceab922830efb9a6ff69a
20+
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
3321

34-
COCOAPODS: 1.10.0.beta.2
22+
COCOAPODS: 1.10.0

pubspec.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.4.2"
10+
version: "2.5.0-nullsafety.3"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.0.0"
17+
version: "2.1.0-nullsafety.3"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.0.0"
24+
version: "1.1.0-nullsafety.5"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.1.3"
31+
version: "1.2.0-nullsafety.3"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.0.1"
38+
version: "1.1.0-nullsafety.3"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.14.13"
45+
version: "1.15.0-nullsafety.5"
4646
convert:
4747
dependency: transitive
4848
description:
@@ -70,7 +70,7 @@ packages:
7070
name: fake_async
7171
url: "https://pub.dartlang.org"
7272
source: hosted
73-
version: "1.1.0"
73+
version: "1.2.0-nullsafety.3"
7474
file:
7575
dependency: transitive
7676
description:
@@ -129,21 +129,21 @@ packages:
129129
name: matcher
130130
url: "https://pub.dartlang.org"
131131
source: hosted
132-
version: "0.12.8"
132+
version: "0.12.10-nullsafety.3"
133133
meta:
134134
dependency: transitive
135135
description:
136136
name: meta
137137
url: "https://pub.dartlang.org"
138138
source: hosted
139-
version: "1.1.8"
139+
version: "1.3.0-nullsafety.6"
140140
path:
141141
dependency: transitive
142142
description:
143143
name: path
144144
url: "https://pub.dartlang.org"
145145
source: hosted
146-
version: "1.7.0"
146+
version: "1.8.0-nullsafety.3"
147147
path_provider:
148148
dependency: transitive
149149
description:
@@ -211,56 +211,56 @@ packages:
211211
name: source_span
212212
url: "https://pub.dartlang.org"
213213
source: hosted
214-
version: "1.7.0"
214+
version: "1.8.0-nullsafety.4"
215215
stack_trace:
216216
dependency: transitive
217217
description:
218218
name: stack_trace
219219
url: "https://pub.dartlang.org"
220220
source: hosted
221-
version: "1.9.5"
221+
version: "1.10.0-nullsafety.6"
222222
stream_channel:
223223
dependency: transitive
224224
description:
225225
name: stream_channel
226226
url: "https://pub.dartlang.org"
227227
source: hosted
228-
version: "2.0.0"
228+
version: "2.1.0-nullsafety.3"
229229
string_scanner:
230230
dependency: transitive
231231
description:
232232
name: string_scanner
233233
url: "https://pub.dartlang.org"
234234
source: hosted
235-
version: "1.0.5"
235+
version: "1.1.0-nullsafety.3"
236236
term_glyph:
237237
dependency: transitive
238238
description:
239239
name: term_glyph
240240
url: "https://pub.dartlang.org"
241241
source: hosted
242-
version: "1.1.0"
242+
version: "1.2.0-nullsafety.3"
243243
test_api:
244244
dependency: transitive
245245
description:
246246
name: test_api
247247
url: "https://pub.dartlang.org"
248248
source: hosted
249-
version: "0.2.17"
249+
version: "0.2.19-nullsafety.6"
250250
typed_data:
251251
dependency: transitive
252252
description:
253253
name: typed_data
254254
url: "https://pub.dartlang.org"
255255
source: hosted
256-
version: "1.2.0"
256+
version: "1.3.0-nullsafety.5"
257257
vector_math:
258258
dependency: transitive
259259
description:
260260
name: vector_math
261261
url: "https://pub.dartlang.org"
262262
source: hosted
263-
version: "2.0.8"
263+
version: "2.1.0-nullsafety.5"
264264
xdg_directories:
265265
dependency: transitive
266266
description:
@@ -269,5 +269,5 @@ packages:
269269
source: hosted
270270
version: "0.1.0"
271271
sdks:
272-
dart: ">=2.9.0-14.0.dev <3.0.0"
272+
dart: ">=2.12.0-0.0 <3.0.0"
273273
flutter: ">=1.17.0 <2.0.0"

0 commit comments

Comments
 (0)