Flutter 在Xcode上编译报错:Target 'Runner': script phase “[CP] Embed Pods Frameworks”的结局方法

发布于 2 个月前 作者 phonegap100 227 次浏览 最后一次编辑是 2 个月前 来自 分享

Flutter 在Xcode上编译报错:Target ‘Runner’: script phase “[CP] Embed Pods Frameworks”的结局方法

ultiple commands produce ‘/Users/aishengwanwu/flutter_app05/build/ios/Debug-iphoneos/Runner.app/Frameworks/Flutter.framework’:

  1. Target ‘Runner’ has copy command from ‘/Users/aishengwanwu/flutter_app05/ios/Flutter/Flutter.framework’ to ‘/Users/aishengwanwu/flutter_app05/build/ios/Debug-iphoneos/Runner.app/Frameworks/Flutter.framework’
  2. That command depends on command in Target ‘Runner’: script phase “[CP] Embed Pods Frameworks”

1.png

解决方法 1、打开file->Project settings

2.png

第二项,重新编译即可解决问题

3.png

回到顶部