run" to fix the problem">
当前位置:   article > 正文

flutter跑真机报错_flutter try launching xcode and selecting "product

flutter try launching xcode and selecting "product > run" to fix the problem

报错信息:

  1. 报错信息:
  2. ═══════════════════════════════════════════════════════════════════════════════════
  3. Error launching app. Try launching from within Xcode via:
  4. open ios/Runner.xcworkspace
  5. Your Xcode version may be too old for your iOS version.
  6. ═══════════════════════════════════════════════════════════════════════════════════
  7. 2020-10-31 10:17:57.644 ios-deploy[71064:486693] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con)
  8. Could not run build/ios/iphoneos/Runner.app on 00008030-0006686A3E63802E.
  9. Try launching Xcode and selecting "Product > Run" to fix the problem:
  10. open ios/Runner.xcworkspace
  11. Error launching application on iPhone.

原因:flutter 里面支持调试的iOS版本低于真机的版本

 

解决方法:

1、更新flutter/bin/cache/artifacts/ios-deploy/ios-deploy里面的ios-deploy

ios-deploy升级地址:https://github.com/ios-control/ios-deploy/releases/tag/1.11.3

2、直接升级flutter版本

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/469258
推荐阅读
相关标签
  

闽ICP备14008679号