Skip to content

Commit f787ab1

Browse files
committed
fix: iOS build failure for Flutter modules
1 parent 1ba7ecb commit f787ab1

File tree

5 files changed

+31
-45
lines changed

5 files changed

+31
-45
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.1.2+4
1+
## 0.1.2+5
22

33
* Fixed build failure
44
* Added anchor param to Annotation

example/ios/Flutter/flutter_export_environment.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This is a generated file; do not edit or check into version control.
33
export "FLUTTER_ROOT=/Users/luis/development/flutter"
44
export "FLUTTER_APPLICATION_PATH=/Users/luis/workspace/flutter_packages/apple_maps_flutter/example"
5-
export "FLUTTER_TARGET=/Users/luis/workspace/flutter_packages/apple_maps_flutter/example/lib/main.dart"
5+
export "FLUTTER_TARGET=lib/main.dart"
66
export "FLUTTER_BUILD_DIR=build"
77
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
88
export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
99
export "FLUTTER_FRAMEWORK_DIR=/Users/luis/development/flutter/bin/cache/artifacts/engine/ios"
1010
export "FLUTTER_BUILD_NAME=1.0.0"
1111
export "FLUTTER_BUILD_NUMBER=1"
1212
export "DART_OBFUSCATION=false"
13-
export "TRACK_WIDGET_CREATION=true"
13+
export "TRACK_WIDGET_CREATION=false"
1414
export "TREE_SHAKE_ICONS=false"
1515
export "PACKAGE_CONFIG=.packages"

example/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ EXTERNAL SOURCES:
1414
:path: Flutter
1515

1616
SPEC CHECKSUMS:
17-
apple_maps_flutter: 45925bdf704b86f713fcf6979ee1999d17b2a6e0
17+
apple_maps_flutter: a2682659ffca031c41420f5b5e66484c86ecdb19
1818
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
1919

2020
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
2121

22-
COCOAPODS: 1.8.3
22+
COCOAPODS: 1.10.0

example/pubspec.lock

+24-38
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@ packages:
4242
name: async
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "2.5.0-nullsafety.1"
45+
version: "2.5.0-nullsafety.3"
4646
boolean_selector:
4747
dependency: transitive
4848
description:
4949
name: boolean_selector
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "2.1.0-nullsafety.1"
52+
version: "2.1.0-nullsafety.3"
5353
characters:
5454
dependency: transitive
5555
description:
5656
name: characters
5757
url: "https://pub.dartlang.org"
5858
source: hosted
59-
version: "1.1.0-nullsafety.3"
59+
version: "1.1.0-nullsafety.5"
6060
charcode:
6161
dependency: transitive
6262
description:
6363
name: charcode
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.2.0-nullsafety.1"
66+
version: "1.2.0-nullsafety.3"
6767
cli_util:
6868
dependency: transitive
6969
description:
@@ -77,14 +77,14 @@ packages:
7777
name: clock
7878
url: "https://pub.dartlang.org"
7979
source: hosted
80-
version: "1.1.0-nullsafety.1"
80+
version: "1.1.0-nullsafety.3"
8181
collection:
8282
dependency: transitive
8383
description:
8484
name: collection
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "1.15.0-nullsafety.3"
87+
version: "1.15.0-nullsafety.5"
8888
convert:
8989
dependency: transitive
9090
description:
@@ -119,14 +119,14 @@ packages:
119119
name: fake_async
120120
url: "https://pub.dartlang.org"
121121
source: hosted
122-
version: "1.2.0-nullsafety.1"
122+
version: "1.2.0-nullsafety.3"
123123
file:
124124
dependency: transitive
125125
description:
126126
name: file
127127
url: "https://pub.dartlang.org"
128128
source: hosted
129-
version: "6.0.0-nullsafety.2"
129+
version: "6.0.0-nullsafety.4"
130130
flutter:
131131
dependency: "direct main"
132132
description: flutter
@@ -154,13 +154,6 @@ packages:
154154
url: "https://pub.dartlang.org"
155155
source: hosted
156156
version: "1.2.0"
157-
http:
158-
dependency: transitive
159-
description:
160-
name: http
161-
url: "https://pub.dartlang.org"
162-
source: hosted
163-
version: "0.12.2"
164157
http_multi_server:
165158
dependency: transitive
166159
description:
@@ -209,14 +202,14 @@ packages:
209202
name: matcher
210203
url: "https://pub.dartlang.org"
211204
source: hosted
212-
version: "0.12.10-nullsafety.1"
205+
version: "0.12.10-nullsafety.3"
213206
meta:
214207
dependency: transitive
215208
description:
216209
name: meta
217210
url: "https://pub.dartlang.org"
218211
source: hosted
219-
version: "1.3.0-nullsafety.3"
212+
version: "1.3.0-nullsafety.6"
220213
mime:
221214
dependency: transitive
222215
description:
@@ -258,7 +251,7 @@ packages:
258251
name: path
259252
url: "https://pub.dartlang.org"
260253
source: hosted
261-
version: "1.8.0-nullsafety.1"
254+
version: "1.8.0-nullsafety.3"
262255
pedantic:
263256
dependency: transitive
264257
description:
@@ -272,7 +265,7 @@ packages:
272265
name: platform
273266
url: "https://pub.dartlang.org"
274267
source: hosted
275-
version: "3.0.0-nullsafety.2"
268+
version: "3.0.0-nullsafety.4"
276269
pool:
277270
dependency: transitive
278271
description:
@@ -286,7 +279,7 @@ packages:
286279
name: process
287280
url: "https://pub.dartlang.org"
288281
source: hosted
289-
version: "4.0.0-nullsafety.2"
282+
version: "4.0.0-nullsafety.4"
290283
pub_semver:
291284
dependency: transitive
292285
description:
@@ -347,28 +340,28 @@ packages:
347340
name: source_span
348341
url: "https://pub.dartlang.org"
349342
source: hosted
350-
version: "1.8.0-nullsafety.2"
343+
version: "1.8.0-nullsafety.4"
351344
stack_trace:
352345
dependency: transitive
353346
description:
354347
name: stack_trace
355348
url: "https://pub.dartlang.org"
356349
source: hosted
357-
version: "1.10.0-nullsafety.1"
350+
version: "1.10.0-nullsafety.6"
358351
stream_channel:
359352
dependency: transitive
360353
description:
361354
name: stream_channel
362355
url: "https://pub.dartlang.org"
363356
source: hosted
364-
version: "2.1.0-nullsafety.1"
357+
version: "2.1.0-nullsafety.3"
365358
string_scanner:
366359
dependency: transitive
367360
description:
368361
name: string_scanner
369362
url: "https://pub.dartlang.org"
370363
source: hosted
371-
version: "1.1.0-nullsafety.1"
364+
version: "1.1.0-nullsafety.3"
372365
sync_http:
373366
dependency: transitive
374367
description:
@@ -382,56 +375,49 @@ packages:
382375
name: term_glyph
383376
url: "https://pub.dartlang.org"
384377
source: hosted
385-
version: "1.2.0-nullsafety.1"
378+
version: "1.2.0-nullsafety.3"
386379
test:
387380
dependency: "direct dev"
388381
description:
389382
name: test
390383
url: "https://pub.dartlang.org"
391384
source: hosted
392-
version: "1.16.0-nullsafety.5"
385+
version: "1.16.0-nullsafety.12"
393386
test_api:
394387
dependency: transitive
395388
description:
396389
name: test_api
397390
url: "https://pub.dartlang.org"
398391
source: hosted
399-
version: "0.2.19-nullsafety.2"
392+
version: "0.2.19-nullsafety.6"
400393
test_core:
401394
dependency: transitive
402395
description:
403396
name: test_core
404397
url: "https://pub.dartlang.org"
405398
source: hosted
406-
version: "0.3.12-nullsafety.5"
399+
version: "0.3.12-nullsafety.11"
407400
typed_data:
408401
dependency: transitive
409402
description:
410403
name: typed_data
411404
url: "https://pub.dartlang.org"
412405
source: hosted
413-
version: "1.3.0-nullsafety.3"
406+
version: "1.3.0-nullsafety.5"
414407
vector_math:
415408
dependency: transitive
416409
description:
417410
name: vector_math
418411
url: "https://pub.dartlang.org"
419412
source: hosted
420-
version: "2.1.0-nullsafety.3"
413+
version: "2.1.0-nullsafety.5"
421414
vm_service:
422415
dependency: transitive
423416
description:
424417
name: vm_service
425418
url: "https://pub.dartlang.org"
426419
source: hosted
427420
version: "5.2.0"
428-
vm_service_client:
429-
dependency: transitive
430-
description:
431-
name: vm_service_client
432-
url: "https://pub.dartlang.org"
433-
source: hosted
434-
version: "0.2.6+2"
435421
watcher:
436422
dependency: transitive
437423
description:
@@ -468,5 +454,5 @@ packages:
468454
source: hosted
469455
version: "2.2.1"
470456
sdks:
471-
dart: ">=2.10.0-110 <2.11.0"
457+
dart: ">=2.12.0-0.0 <=2.12.0-29.10.beta"
472458
flutter: ">=1.10.0 <2.0.0"

ios/apple_maps_flutter.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ A new flutter plugin project.
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
1818

19-
s.ios.deployment_target = '8.0'
19+
s.ios.deployment_target = '9.0'
20+
s.swift_version = '5.0'
2021
end
21-

0 commit comments

Comments
 (0)