note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
error: Multiple commands produce '/Users/dmcb/Desktop/dmcbApp/flutter_baichuan/example/build/ios/Debug-iphoneos/Runner.app/Assets.car':
1) Target 'Runner' (project 'Runner') has compile command with input '/Users/dmcb/Desktop/dmcbApp/flutter_baichuan/example/ios/Runner/Assets.xcassets'
2) That command depends on command in Target 'Runner' (project 'Runner'): script phase “[CP] Copy Pods Resources”
出现此错误主要是编译过程的多个阶段可能都产生了asset产物,导致New Build System出现了错误。
? 彻底解决方法:
?? 在Podfile中的platform :ios, '9.0'底下增加如下代码
install! 'cocoapods', :disable_input_output_paths => true
|