我的 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)