run" to fix the problem">
赞
踩
报错信息:
- 报错信息:
- ═══════════════════════════════════════════════════════════════════════════════════
- Error launching app. Try launching from within Xcode via:
- open ios/Runner.xcworkspace
-
- Your Xcode version may be too old for your iOS version.
- ═══════════════════════════════════════════════════════════════════════════════════
- 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)
- Could not run build/ios/iphoneos/Runner.app on 00008030-0006686A3E63802E.
- Try launching Xcode and selecting "Product > Run" to fix the problem:
- open ios/Runner.xcworkspace
-
- 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版本
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。