Repository: flutter
Issue: Error: Did not find a Dart VM Service advertised for xxx 
Labels: platform-ios,tool,P2,needs repro info,team-ios,triaged-ios

### Steps to reproduce

1.flutter Create a new project
2.flutter run -v

### Expected results

Ability to enter debug mode, hot-load debugging possible.

### Actual results

Error: Did not find a Dart VM Service advertised for xxx 

### Code sample

<details open><summary>Code sample</summary>

```dart
[Paste your code here]
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
The Dart VM Service was not discovered after 60 seconds. This is taking much longer than expected...
Open the Xcode window the project is opened in to ensure the app is running. If the app is not running, try selecting "Product > Run" to fix the problem.
[ +5 ms] Checking for advertised Dart VM Services...
[+1994 ms] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[+5005 ms] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[+5004 ms] Unexpectedly found more than one Dart VM Service report for
com.example.vmcs._dartVmService._tcp.local - using first one
(54292).
[ +3 ms] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ ] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[+3348 ms] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[ +4 ms] Checking for available port on
com.example.vmcs._dartVmService._tcp.local
[+44636 ms] The Dart VM Service was not discovered after 60 seconds. This is
taking much
longer than expected...
[ +1 ms] Open the Xcode window the project is opened in to ensure the app is
running. If
the app is not running, try selecting "Product > Run" to fix the
problem.
[ ] No path provided for Symbols directory.
Error: Did not find a Dart VM Service advertised for xxx 
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
Apple M3 Pro
MacOS：14.5 (23F79)

Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2

Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale
zh-Hans-CN)
• Flutter version 3.22.2 on channel stable at /Users/22hu/Desktop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
```

</details>