1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【Flutter】iOSアプリがMultiple commands produce '/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.frameworkでビルドエラーになる

Last updated at Posted at 2019-09-13

対処

下記の手順でアプリをビルドしたところ、うまく動作しました。

git clone <reopsitory>
Xcode > File > Workspace Settings > Build Systems > Legacy Build System
flutter clean
flutter pub get
carthage bootstrap --platform ios
pod clean
pod setup
pod install
flutter run

追加対応

上記対応だけでは足りなかったようで、何かを拍子にまたビルドできなくなりました。
参考リンク2つ目の記事を参考に、Embed FrameworksからFlutter.frameworksを削除したところ、ビルドできるようになりました。

参考

https://github.com/flutter/flutter/issues/20685
Build SystemをLegacy Build Systemにすると解消することが記載されていました。

https://qiita.com/SatoTakeshiX/items/047a313f564879e290ec
Embed Frameworksからframeworkを削除する対応が記載されています。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?