无法在 iOS 14 上 运行 ios 应用颤动

Unable to run ios app on iOS 14 with flutter

我刚刚安装了 iOS 14 beta 并更新了 Xcode 到最新版本 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* 的错误。

我可以 运行 来自 Xcode 的应用程序,但一旦断开 USB 数据线,该应用程序将无法打开/应用程序崩溃。

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

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