Skip to content

Commit f5e080a

Browse files
committed
chore(mobile): scope simulator fix to build coverage
Signed-off-by: Tom Brow <[email protected]>
1 parent fb0f679 commit f5e080a

9 files changed

Lines changed: 0 additions & 182 deletions

File tree

‎.github/workflows/_ci-clients.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ jobs:
135135
run: cd mobile && flutter build ios --simulator --debug --no-pub
136136
- name: Build complete unsigned iOS release
137137
run: cd mobile && flutter build ios --release --no-codesign --no-pub
138-
- name: Launch simulator and exercise native image segmentation
139-
run: ./scripts/test-mobile-ios-simulator.sh
140138

141139
results:
142140
name: Results

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ jobs:
8080
- 'scripts/test-mobile-release-contract.sh'
8181
- 'scripts/test-mobile-release-candidate-publisher.sh'
8282
- 'scripts/test-mobile-worktree-overrides.sh'
83-
- 'scripts/test-mobile-ios-simulator.sh'
8483
- '.github/workflows/mobile-release-candidate.yml'
8584
- '.github/workflows/ci.yml'
8685
- '.github/workflows/_ci-*.yml'

‎Justfile‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -854,10 +854,6 @@ mobile-dev:
854854
unset GIT_DIR GIT_WORK_TREE
855855
flutter run
856856
857-
# Launch the real app and exercise native image segmentation on a fresh iOS simulator
858-
mobile-test-ios-simulator:
859-
./scripts/test-mobile-ios-simulator.sh
860-
861857
# Uninstall stale worktree-suffixed Buzz debug installs (production apps kept)
862858
mobile-clean:
863859
./scripts/mobile-worktree-clean.sh

‎mobile/README.md‎

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -93,32 +93,6 @@ connected Android emulators, run `just mobile-clean` (add `--dry-run` via
9393
`./scripts/mobile-worktree-clean.sh --dry-run` to preview). Production
9494
installs are never touched.
9595

96-
### Apple Silicon iOS simulators
97-
98-
The Podfile enables the Flutter ML Kit package's
99-
[Apple Silicon simulator helper](https://pub.dev/packages/google_mlkit_commons/versions/0.12.0).
100-
Google's MLImage and MLKit archives still label their ARM64 code as device-only.
101-
The upstream helper adjusts those platform labels before each build and removes
102-
the pods' ARM64 simulator exclusions. Device builds restore the device labels
103-
automatically. Run device and simulator builds sequentially in one checkout,
104-
since they share the same vendored binaries.
105-
106-
Use `just mobile-dev` normally; no Rosetta or manual architecture overrides are
107-
needed. After upgrading from the older Objective-C ML Kit plugins, run
108-
`flutter clean` and `flutter pub get` in `mobile/` once to discard stale headers.
109-
110-
From the repository root, `just mobile-test-ios-simulator` creates a temporary
111-
iPhone simulator, launches the real app's pairing screen, and runs native image
112-
segmentation. It requires an Apple Silicon Mac with an installed iOS simulator
113-
runtime and removes the temporary simulator afterward. CI also builds for the
114-
simulator, builds an unsigned device release, then runs this test to verify that
115-
switching targets works.
116-
117-
This is separate from the Notification Service Extension linker fix. The
118-
extension's empty `OTHER_LDFLAGS` prevents it from inheriting the app's Flutter
119-
and ML Kit dependencies. The app itself needs ML Kit for avatar background
120-
removal, so isolating the extension does not solve its simulator linking error.
121-
12296
### iOS push capability
12397

12498
Every iOS artifact builds and embeds the Notification Service Extension and

‎mobile/integration_test/simulator_smoke_test.dart‎

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎mobile/ios/Podfile.lock‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ PODS:
4747
- GTMSessionFetcher/Core (3.5.0)
4848
- image_picker_ios (0.0.1):
4949
- Flutter
50-
- integration_test (0.0.1):
51-
- Flutter
5250
- just_audio (0.0.1):
5351
- Flutter
5452
- FlutterMacOS
@@ -118,7 +116,6 @@ DEPENDENCIES:
118116
- google_mlkit_commons (from `.symlinks/plugins/google_mlkit_commons/ios`)
119117
- google_mlkit_selfie_segmentation (from `.symlinks/plugins/google_mlkit_selfie_segmentation/ios`)
120118
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
121-
- integration_test (from `.symlinks/plugins/integration_test/ios`)
122119
- just_audio (from `.symlinks/plugins/just_audio/darwin`)
123120
- local_auth_darwin (from `.symlinks/plugins/local_auth_darwin/darwin`)
124121
- mobile_scanner (from `.symlinks/plugins/mobile_scanner/darwin`)
@@ -170,8 +167,6 @@ EXTERNAL SOURCES:
170167
:path: ".symlinks/plugins/google_mlkit_selfie_segmentation/ios"
171168
image_picker_ios:
172169
:path: ".symlinks/plugins/image_picker_ios/ios"
173-
integration_test:
174-
:path: ".symlinks/plugins/integration_test/ios"
175170
just_audio:
176171
:path: ".symlinks/plugins/just_audio/darwin"
177172
local_auth_darwin:
@@ -212,7 +207,6 @@ SPEC CHECKSUMS:
212207
GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
213208
GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6
214209
image_picker_ios: e0ece4aa2a75771a7de3fa735d26d90817041326
215-
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
216210
just_audio: 4e391f57b79cad2b0674030a00453ca5ce817eed
217211
local_auth_darwin: c3ee6cce0a8d56be34c8ccb66ba31f7f180aaebb
218212
MLImage: 0de5c6c2bf9e93b80ef752e2797f0836f03b58c0

‎mobile/pubspec.lock‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -470,11 +470,6 @@ packages:
470470
description: flutter
471471
source: sdk
472472
version: "0.0.0"
473-
flutter_driver:
474-
dependency: transitive
475-
description: flutter
476-
source: sdk
477-
version: "0.0.0"
478473
flutter_hooks:
479474
dependency: "direct main"
480475
description:
@@ -597,11 +592,6 @@ packages:
597592
url: "https://pub.dev"
598593
source: hosted
599594
version: "4.0.0"
600-
fuchsia_remote_debug_protocol:
601-
dependency: transitive
602-
description: flutter
603-
source: sdk
604-
version: "0.0.0"
605595
glob:
606596
dependency: transitive
607597
description:
@@ -770,11 +760,6 @@ packages:
770760
url: "https://pub.dev"
771761
source: hosted
772762
version: "0.2.2"
773-
integration_test:
774-
dependency: "direct dev"
775-
description: flutter
776-
source: sdk
777-
version: "0.0.0"
778763
intl:
779764
dependency: "direct main"
780765
description:
@@ -1175,14 +1160,6 @@ packages:
11751160
url: "https://pub.dev"
11761161
source: hosted
11771162
version: "6.5.2"
1178-
process:
1179-
dependency: transitive
1180-
description:
1181-
name: process
1182-
sha256: "4242ba3508d37e01808bdf71ad1d5bb93a8d671bf2e7450e6b1b353fb0808891"
1183-
url: "https://pub.dev"
1184-
source: hosted
1185-
version: "5.0.6"
11861163
provider:
11871164
dependency: transitive
11881165
description:
@@ -1492,14 +1469,6 @@ packages:
14921469
url: "https://pub.dev"
14931470
source: hosted
14941471
version: "1.4.1"
1495-
sync_http:
1496-
dependency: transitive
1497-
description:
1498-
name: sync_http
1499-
sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
1500-
url: "https://pub.dev"
1501-
source: hosted
1502-
version: "0.3.1"
15031472
synchronized:
15041473
dependency: transitive
15051474
description:
@@ -1740,14 +1709,6 @@ packages:
17401709
url: "https://pub.dev"
17411710
source: hosted
17421711
version: "3.0.3"
1743-
webdriver:
1744-
dependency: transitive
1745-
description:
1746-
name: webdriver
1747-
sha256: "28b82ec894fed45dd71c23ba62d1af973ed97dd59a4f5790a4d38b0b13e5657e"
1748-
url: "https://pub.dev"
1749-
source: hosted
1750-
version: "3.2.0"
17511712
webkit_inspection_protocol:
17521713
dependency: transitive
17531714
description:

‎mobile/pubspec.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ dependencies:
5050
local_auth: ^3.0.2
5151

5252
dev_dependencies:
53-
integration_test:
54-
sdk: flutter
5553
flutter_test:
5654
sdk: flutter
5755
flutter_lints: ^6.0.0

‎scripts/test-mobile-ios-simulator.sh‎

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)