例外:IDevice_ID返回错误:
#0 IMobileDevice.getInfoForDevice (package:Flutter_tools/src/ios/mac.dart:122:9)#1 IOSDevice.getAttachedDevices (package:Flutter_tools/src/ios/devices.dart:152:53)#2 IOSDevices.pollingGetDevices (package:Flutter_tools/src/ios/devices.dart:112:57)#3 PollingDevicediscovery.devices (package:Flutter_tools/src/device.dart:163:52)#4 DeviceManager.getAllConnectedDevices (package:Flutter_tools/src/device.dart:91:46)#5 DeviceValIDator.valIDate (package:Flutter_tools/src/doctor.dart:607:54)#6 Doctor.startValIDatorTasks (package:Flutter_tools/src/doctor.dart:105:52)#7 Doctor.diagnose (package:Flutter_tools/src/doctor.dart:162:41)#8 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)#9 Doctor.diagnose (package:Flutter_tools/src/doctor.dart:152:24)#10 DoctorCommand.runcommand (package:Flutter_tools/src/commands/doctor.dart:29:39)#11 _AsyncAwaitCompleter.start (dart:async/runtime/libasync_patch.dart:49:6)#12 DoctorCommand.runcommand (package:Flutter_tools/src/commands/doctor.dart:28:42)#13 FlutterCommand.verifyThenruncommand (package:Flutter_tools/src/runner/Flutter_command.dart:372:18)#14 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)#15 _rootRunUnary (dart:async/zone.dart:1132:38)#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)#18 Future._propagatetoListeners.handleValueCallback (dart:async/future_impl.dart:642:45)#19 Future._propagatetoListeners (dart:async/future_impl.dart:671:32)#20 Future._complete (dart:async/future_impl.dart:476:7)#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)#22 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)#23 _rootRun (dart:async/zone.dart:1124:13)#24 _CustomZone.run (dart:async/zone.dart:1021:19)#25 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)"解决方法 这是一个 upstream bug in libusbmuxd will be fixed soon.还有一个 proposed workaround被认为包含在Flutter本身.
同时,GitHub用户@mattijsf mentioned有几种解决问题的方法:
>取消配对可能位于曾与Xcode配对的同一本地(Wi-Fi)网络中的任何不需要的iOS设备,方法是将其与USB连接,然后:打开Xcode>窗口>装置&模拟器>右键单击设备>取消配对设备.
>如果您使用的是不想从Xcode取消配对的物理iOS设备,则必须使用USB电缆连接它或在设备上禁用Wi-Fi.
# Detaching USB & disabling WIFI on device (wait 10 - 20 seconds)$IDevice_ID -l[empty]# Enabling WIFI on device (wait 10 - 20 seconds)$IDevice_ID -l4a8e882c613--37cc1ac48$IDeviceinfo -u 4a8e882c613-37cc1ac48No device found with udID 4a8e882c613--37cc1ac48,is it plugged in?# Attaching device with USB$IDevice_ID -l4a8e882c613--37cc1ac484a8e882c613--37cc1ac48$IDeviceinfo -u 4a8e882c613--37cc1ac48ActivationState: Activated....etc# Now it works总结
以上是内存溢出为你收集整理的扑医:idevice_id返回错误全部内容,希望文章能够帮你解决扑医:idevice_id返回错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)