无法在iOS 14上运行带有flutter的ios应用 [英] Unable to run ios app on iOS 14 with flutter

查看:579
本文介绍了无法在iOS 14上运行带有flutter的ios应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了iOS 14 beta,并将Xcode更新为最新的Version 12 beta 3.

I have just installed iOS 14 beta and updated Xcode to latest Version 12 beta 3.

从Flutter运行应用程序时,出现类似*Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown! Could not run build/ios/iphoneos/Runner.app on 00008020-001338A20E01002E. Try launching Xcode and selecting "Product > Run" to fix the problem: open ios/Runner.xcworkspace*的错误.

I get an error like *Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown! Could not run build/ios/iphoneos/Runner.app on 00008020-001338A20E01002E. Try launching Xcode and selecting "Product > Run" to fix the problem: open ios/Runner.xcworkspace* when I run app from flutter.

我能够从Xcode运行该应用程序,但是一旦断开USB电缆的连接,该应用程序将无法打开/应用程序崩溃.

I am able to run the app from Xcode but the app won't open / app crashes once USB Cable is disconnected.

请帮助我找出问题所在并解决

Please Help me to figure out what's the issue and work around

推荐答案

我在Xcode 11.5中遇到了相同的问题 我转到 https://github.com/filsv/iPhoneOSDeviceSupport ,下载iOS 14,然后复制并粘贴到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/中.效果很好.

I had the same problem with Xcode 11.5 I go to https://github.com/filsv/iPhoneOSDeviceSupport, download iOS 14, then copy and paste into /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/. It works fine.

这篇关于无法在iOS 14上运行带有flutter的ios应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆