我正面临这个问题。在项目 `Runner.xcodeproj` 中找不到名为 `RunnerTests` 的目标,但确实找到了 `Runner`

问题描述 投票:0回答:1

在调试模式下在 macOS 上启动 lib/main.dart... 主飞镖:1 CocoaPods 的输出: ↳ 准备中 分析依赖关系 检查要集成的目标 使用

ARCHS
设置构建目标
Pods-Runner
的架构:(``) [!] 在项目
RunnerTests
中找不到名为
Runner.xcodeproj
的目标,但确实找到了
Runner
。 /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:108:in
compute_targets' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:40:in 
compute_results' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1197:in
block (3 levels) in inspect_targets_to_integrate' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in 
each' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in
block (2 levels) in inspect_targets_to_integrate' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in 
each' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in
block in inspect_targets_to_integrate' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in 
部分' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1188:in
inspect_targets_to_integrate' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:107:in 
analyze' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:422:in
analyze' /opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:244:in 
resolve_dependencies'

中的块

任何与我的问题相关的建议/解决方案?

flutter xcode macos
1个回答
0
投票

我遇到了同样的问题,但就我而言,它是这样解决的。 https://www.bytenote.net/article/177910427567521793

© www.soinside.com 2019 - 2024. All rights reserved.