このページには広告が含まれる場合があります。
Flutter2.10.x以前で作ったプロジェクトをFlutter3.0にアップグレード後にiOSアプリとしてビルドすると、アップグレード前はちゃんと動いていたにも関わらず、
xcodebuild[75892:3182634] 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 xcodebuild[75892:3182634] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
というエラーが出て、ビルドに失敗する場合があります。
これは「パッケージ」だけを使っている場合には発生しないようで、プラットフォーム固有の機能を使う「プラグイン」を使っている場合に発生するようです。
ぼくの知る限りでは「image_picker」パッケージを使ってるプロジェクトで発生しましたが、これについては
1)パッケージのバージョンを最新(2022/5/12時点:0.85+2)にして
2)Podfile.lockファイルを削除してから
3)Terminalから「flutter clean」して
4)「pub get」して
5)Terminalからiosフォルダに移動して「pod repo update」
すると解消しました。