@@ -483,17 +483,6 @@ class IOSDevice extends Device {
483
483
throwToolExit ('Cannot start app on wirelessly tethered iOS device. Try running again with the --publish-port flag' );
484
484
}
485
485
486
- // TODO(vashworth): Remove after Xcode 15 and iOS 17 are in CI (https://github.com/flutter/flutter/issues/132128)
487
- // XcodeDebug workflow is used for CoreDevices (iOS 17+ and Xcode 15+).
488
- // Force the use of XcodeDebug workflow in CI to test from older versions
489
- // since devicelab has not yet been updated to iOS 17 and Xcode 15.
490
- bool forceXcodeDebugWorkflow = false ;
491
- if (debuggingOptions.usingCISystem &&
492
- debuggingOptions.debuggingEnabled &&
493
- _platform.environment['FORCE_XCODE_DEBUG' ]? .toLowerCase () == 'true' ) {
494
- forceXcodeDebugWorkflow = true ;
495
- }
496
-
497
486
if (! prebuiltApplication) {
498
487
_logger.printTrace ('Building ${package .name } for $id ' );
499
488
@@ -551,7 +540,7 @@ class IOSDevice extends Device {
551
540
);
552
541
}
553
542
554
- if (isCoreDevice || forceXcodeDebugWorkflow ) {
543
+ if (isCoreDevice) {
555
544
installationResult = await _startAppOnCoreDevice (
556
545
debuggingOptions: debuggingOptions,
557
546
package: package,
@@ -585,7 +574,7 @@ class IOSDevice extends Device {
585
574
_logger.printTrace ('Application launched on the device. Waiting for Dart VM Service url.' );
586
575
587
576
final int defaultTimeout;
588
- if (( isCoreDevice || forceXcodeDebugWorkflow) && debuggingOptions.debuggingEnabled) {
577
+ if (isCoreDevice && debuggingOptions.debuggingEnabled) {
589
578
// Core devices with debugging enabled takes longer because this
590
579
// includes time to install and launch the app on the device.
591
580
defaultTimeout = isWirelesslyConnected ? 75 : 60 ;
@@ -620,7 +609,7 @@ class IOSDevice extends Device {
620
609
});
621
610
622
611
Uri ? localUri;
623
- if (isCoreDevice || forceXcodeDebugWorkflow ) {
612
+ if (isCoreDevice) {
624
613
localUri = await _discoverDartVMForCoreDevice (
625
614
debuggingOptions: debuggingOptions,
626
615
packageId: packageId,
@@ -706,7 +695,7 @@ class IOSDevice extends Device {
706
695
} finally {
707
696
startAppStatus.stop ();
708
697
709
- if (( isCoreDevice || forceXcodeDebugWorkflow) && debuggingOptions.debuggingEnabled && package is BuildableIOSApp ) {
698
+ if (isCoreDevice && debuggingOptions.debuggingEnabled && package is BuildableIOSApp ) {
710
699
// When debugging via Xcode, after the app launches, reset the Generated
711
700
// settings to not include the custom configuration build directory.
712
701
// This is to prevent confusion if the project is later ran via Xcode
@@ -1138,15 +1127,13 @@ class IOSDeviceLogReader extends DeviceLogReader {
1138
1127
this ._isWirelesslyConnected,
1139
1128
this ._isCoreDevice,
1140
1129
String appName,
1141
- bool usingCISystem, {
1142
- bool forceXcodeDebug = false ,
1143
- }) : // Match for lines for the runner in syslog.
1130
+ bool usingCISystem,
1131
+ ) : // Match for lines for the runner in syslog.
1144
1132
//
1145
1133
// iOS 9 format: Runner[297] <Notice>:
1146
1134
// iOS 10 format: Runner(Flutter)[297] <Notice>:
1147
1135
_runnerLineRegex = RegExp (appName + r'(\(Flutter\))?\[[\d]+\] <[A-Za-z]+>: ' ),
1148
- _usingCISystem = usingCISystem,
1149
- _forceXcodeDebug = forceXcodeDebug;
1136
+ _usingCISystem = usingCISystem;
1150
1137
1151
1138
/// Create a new [IOSDeviceLogReader] .
1152
1139
factory IOSDeviceLogReader .create ({
@@ -1165,7 +1152,6 @@ class IOSDeviceLogReader extends DeviceLogReader {
1165
1152
device.isCoreDevice,
1166
1153
appName,
1167
1154
usingCISystem,
1168
- forceXcodeDebug: device._platform.environment['FORCE_XCODE_DEBUG' ]? .toLowerCase () == 'true' ,
1169
1155
);
1170
1156
}
1171
1157
@@ -1192,10 +1178,6 @@ class IOSDeviceLogReader extends DeviceLogReader {
1192
1178
final IMobileDevice _iMobileDevice;
1193
1179
final bool _usingCISystem;
1194
1180
1195
- // TODO(vashworth): Remove after Xcode 15 and iOS 17 are in CI (https://github.com/flutter/flutter/issues/132128)
1196
- /// Whether XcodeDebug workflow is being forced.
1197
- final bool _forceXcodeDebug;
1198
-
1199
1181
// Matches a syslog line from the runner.
1200
1182
RegExp _runnerLineRegex;
1201
1183
@@ -1309,7 +1291,7 @@ class IOSDeviceLogReader extends DeviceLogReader {
1309
1291
// However, `idevicesyslog` is sometimes unreliable so use Dart VM as a fallback.
1310
1292
// Also, `idevicesyslog` does not work with iOS 17 wireless devices, so use the
1311
1293
// Dart VM for wireless devices.
1312
- if (_isCoreDevice || _forceXcodeDebug ) {
1294
+ if (_isCoreDevice) {
1313
1295
if (_isWirelesslyConnected) {
1314
1296
return _IOSDeviceLogSources (
1315
1297
primarySource: IOSDeviceLogSource .unifiedLogging,
0 commit comments