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

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


更多关于Flutter 在Xcode上编译报错:Target 'Runner': script phase “[CP] Embed Pods Frameworks”的结局方法的实战教程也可以访问 https://www.itying.com/category-92-b0.html

回到顶部