小编Hay*_*zim的帖子

无法在项目“Runner.xcodeproj”中找到名为“RunnerTests”的目标

我的 HP 笔记本电脑上有 hackintosh。我正在尝试在 iOS 模拟器上运行 flutter 应用程序,但它给了我这个错误:

[!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`.
Run Code Online (Sandbox Code Playgroud)

这是 Podfile:

# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. …
Run Code Online (Sandbox Code Playgroud)

ios ios-simulator flutter podfile

24
推荐指数
2
解决办法
2万
查看次数

标签 统计

flutter ×1

ios ×1

ios-simulator ×1

podfile ×1