7
3

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 1 year has passed since last update.

【Flutter】cloud_firestoreパッケージを追加して、ビルドすると「Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications.....」とエラーが出る

Last updated at Posted at 2022-07-12

はじめに

あるアプリを作成中にfirestoreを追加しようとしたら、謎のエラー「Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore」が表示され、数日この対応で何もできなかったのですが、ようやく直し方が判明しました。

更新履歴

2022.7.12 初回投稿

環境

[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-x64, locale
ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.69.0)

参考にしたサイト

https://zenn.dev/sho5/scraps/bdb32f47ed8cc9
https://qiita.com/rydein/items/119de80191ff3b3da632
https://stackoverflow.com/questions/65312965/flutter-fatal-error-flutter-flutter-h-file-not-found
https://zenn.dev/takumura/articles/595b8c588d0b21

やったこと

上記サイトを参考にいろいろ試す。
基本的には、だいたい、flutter cleanして、pod repo-updateして、再インストールしろな感じだったけど、どれやってもダメでした。

解決

結局自己解決しました。

  1. FlutterプロジェクトのiOSフォルダをXcodeで開く。
  2. 上部ペイン右のアラートマークをクリックする
    スクリーンショット 2022-07-12 10.37.59.png
  3. 左ペインの「Runner project」の下の「Update to recommended settings」アラートマークをクリックする
    02.png
  4. ダイアログが表示されるので、「Perform Changes」をクリック
    3.png
  5. 左ペインのRunner projectのアラートが消え、Pods projectのアラートのみとなるので、同様に、アラートマークをクリックして、表示されたダイアログの「Perform Changes」をクリック
    スクリーンショット 2022-07-12 10.38.19.png

再度ビルドすると通るようになります。

以上

7
3
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?