我正在开发项目,但是最近我将XCode升级到版本11.4,当从IOS模拟器切换到真实设备时遇到了此错误:
这是我尝试过的:
我希望有人能为我提供更好的解决方案,以解决这些错误,因为对发行版进行调试时非常烦人。谢谢。 顺便说一下,这是我在Flutter Doctor上运行时的日志:
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E266, locale en-US)
• Flutter version 1.12.13+hotfix.9 at /Users/devs/SDK/flutter
• Framework revision f139b11009 (9 days ago), 2020-03-30 13:57:30 -0700
• Engine revision af51afceb8
• Dart version 2.7.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/devs/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.1
[!] Connected device
! No devices available
答案 0 :(得分:0)
感谢Google,Flutter 1.17的新更新解决了此问题,我可以在不分割文件夹的情况下构建和运行应用程序,希望这可以帮助满足此要求的人