LoginSignup
1
1

More than 3 years have passed since last update.

flutterでExpected ios/Runner.xcodeproj/project.pbxproj but this file is missing.ってエラーが出たとき

Last updated at Posted at 2020-12-07

Flutterでビルドしてたら、(なんかコンフリクトが起きてたのを対処したからか)「Expected ios/Runner.xcodeproj/project.pbxproj but this file is missing.」ってエラーがでました。
ググったら、英語のサイトばっかりひっかかったので、日本語のメモを残しておきます。

環境

Mac OS 11.0.1
Android Studio 4.1
Dart 2.10.4
Flutter 1.22.4
Macに元から入ってるSimulatorのiPhone 12 Pro Max(iOS 14.2)

解決策

新しいflutterプロジェクトを作って、それのios/Runner.xcodeproj/project.pbxprojをコピペして、エラーの出たプロジェクトの同じ場所にペーストするだけ!
以上です。。

参考させていただきました。

ちなみに、これの通りやってみてもうまくいかなかったサイト

https://github.com/flutter/flutter/issues/28231
https://github.com/flutter/flutter/issues/22886
(英語が読めてないだけだったらごめんなさい。)

1
1
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
1