扑面显示iOS模拟器上的随机错误,或在iOS模拟器上构建失败
我正在建立一个扑朔迷离的项目,并且显示出昨天的随机问题。
错误:
例外:无法获取Xcode项目信息: 2022-05-21 11:24:21.526 xcodebuild[59059:315927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-21 11:24:21.527 xcodebuild[59059:315927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
如何解决这个问题? 我的项目完全陷入了困境,并实施了一些随机解决方案,例如删除和安装Commandlinetools等,但没有更改。谁能为此提供解决方案?
Flutter Doctor -v输出:
[✓]颤动(频道稳定, 3.0.1,在MacOS 12.4 21F79上 Darwin-Arm,语言环境) •Flutter版本3.0.1 AT /用户/carclenx/developme nt/flutter •上游存储库 https://github.com/flutte r/flutter.git •框架修订 FB57DA5F94(32小时 前),2022-05-19 15:50:29 -0700 •发动机修订 CAAAFC5604 •DART版本2.17.1 •DevTools版本2.12.2
[✓] Android工具链 - 开发 用于Android设备 (Android SDK版本 32.0.0) •Android SDK在 /users/carclenx/library/a ndroid/sdk •平台Android-32, 构建工具32.0.0 •Java二进制文件: /应用程序/Android studio.app/contents/jre/c Ontents/Home/bin/java •Java版本OpenJDK 运行时环境 (建造 11.0.11+0-B60-7772763) •所有Android许可证 接受。
[✓] Xcode-为iOS开发 MacOS(Xcode 13.4) •xcode at /applications/xcode.app/c Ontents/Developer •可可录版1.11.3
[✓] Chrome-开发 网络 •Chrome /申请/Google chrome.app/contents/macos /Google Chrome
[✓] Android Studio(版本 2021.1) •Android Studio在 /应用程序/Android Studio.App/contents •乱七八糟的插件可以是 从以下安装
I was building up a flutter project, and it shows random issues from yesterday.
Error:
Exception: Unable to get Xcode project information:
2022-05-21 11:24:21.526 xcodebuild[59059:315927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-05-21 11:24:21.527 xcodebuild[59059:315927] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
How can I resolve this issue?
My project got completely stuck on this and had implemented some random solutions like removing and installing CommandLineTools, etc. But no changes. Can anyone provide a solution for this?
flutter doctor -v output :
[✓] Flutter (Channel stable,
3.0.1, on macOS 12.4 21F79
darwin-arm, locale en-IN)
• Flutter version 3.0.1 at
/Users/carclenx/developme
nt/flutter
• Upstream repository
https://github.com/flutte
r/flutter.git
• Framework revision
fb57da5f94 (32 hours
ago), 2022-05-19 15:50:29
-0700
• Engine revision
caaafc5604
• Dart version 2.17.1
• DevTools version 2.12.2
[✓] Android toolchain - develop
for Android devices
(Android SDK version
32.0.0)
• Android SDK at
/Users/carclenx/Library/A
ndroid/sdk
• Platform android-32,
build-tools 32.0.0
• Java binary at:
/Applications/Android
Studio.app/Contents/jre/C
ontents/Home/bin/java
• Java version OpenJDK
Runtime Environment
(build
11.0.11+0-b60-7772763)
• All Android licenses
accepted.
[✓] Xcode - develop for iOS and
macOS (Xcode 13.4)
• Xcode at
/Applications/Xcode.app/C
ontents/Developer
• CocoaPods version 1.11.3
[✓] Chrome - develop for the
web
• Chrome at
/Applications/Google
Chrome.app/Contents/MacOS
/Google Chrome
[✓] Android Studio (version
2021.1)
• Android Studio at
/Applications/Android
Studio.app/Contents
• Flutter plugin can be
installed from:
????
https://plugins.jetbrains
.com/plugin/9212-flutter
• Dart plugin can be
installed from:
????
https://plugins.jetbrains
.com/plugin/6351-dart
• Java version OpenJDK
Runtime Environment
(build
11.0.11+0-b60-7772763)
[✓] VS Code (version 1.67.2)
• VS Code at
/Applications/VS
Code.app/Contents
• Flutter extension version
3.41.20220516
[✓] Connected device (3 available)
• iPhone 13 Pro Max (mobile) •
D4210C1C-C70E-48EF-8DD4-0A66830A19EF • ios
• com.apple.CoreSimulator.SimRuntime.iOS-15-5
(simulator)
• macOS (desktop) • macos
• darwin-arm64 • macOS 12.4 21F79 darwin-arm
• Chrome (web) • chrome
• web-javascript • Google Chrome 101.0.4951.64
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也面临着同样的问题。尝试更新所有内容(MacOS,Flutter版本,[已经使用了最新Xcode]),但不起作用。但是,在我的构建设置中将“ -lc ++”添加到其他Linker标志中后,对我来说是一个困难。
I faced the same problem too. Tried updating everything(MacOS, Flutter version,[already using latest XCode]) to the latest version but did not work. But after adding "-lc++" to Other Linker Flags in my Build Settings, did the trick for me.