首页 > 解决方案 > 无法通过颤振在 iOS 14 上运行 ios 应用程序

问题描述

我刚刚安装了 iOS 14 beta 并将 Xcode 更新到最新的 Version 12 beta 3。

*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*当我从颤振运行应用程序时,我收到一个错误 。

我可以从 Xcode 运行应用程序,但一旦 USB 电缆断开,应用程序将无法打开/应用程序崩溃。

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

标签: flutterflutter-dependenciesios14ios-permissionsxcode12

解决方案


我对 Xcode 11.5 有同样的问题我去https://github.com/filsv/iPhoneOSDeviceSupport,下载 iOS 14,然后复制并粘贴到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport /。它工作正常。


推荐阅读