xcode 13.4 flutter build error

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-05-21 15:44:37.106 xcodebuild[21400:114339] 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

I've seen many threads with this error. NONE has provided viable solutions.

https://developer.apple.com/forums/thread/706472

https://stackoverflow.com/questions/71954487/xcodebuild-error-requested-but-didnt-find-extension-point-with-identifier

https://stackoverflow.com/questions/72283193/does-xcode-13-4-and-flutter-3-0-work-fine

https://stackoverflow.com/questions/72327875/xcode13-4-run-flutter-project-failed-to-build-ios-app

https://developer.apple.com/forums/thread/706425

Further I have not seen ANY official solutions yet.

same here

The fix is to revert to xCode & Command Line Tools 13.2.1

unless you built an app from scratch in 13.3+

My environment is setup to build flutter3/GCP apps for Android and iOS, and it works perfectly in Android Studio or xCode again after reverting

Your env needs to be setup this way to build iOS applications from single source flutter 2.0+ in Android Studio or xCode.

Steps to revert to xCode & Command Line Tools 13.2.1 (not for WIN-DOS users)

Any version of OSX works

Delete all xCode artifacts including the Developer directory in your user Library

  1.  drag the xCode app to the trash can 
    
  2.  rm -rfd ~/Library/Developer directory
    
  3.  empty the trash
    

Delete Android Studio and Android directory in your user Library

  1.  drag the Android Studio app to the trash
    
  2.  rm -rfd ~/Library/Android
    
  3.  empty the trash
    
  4.  In OS X Settings turn off Automatic Updates for OSX and Store Apps like the pic below
    

to prevent osx from auto-updating everything after you install the older versions

Reinstall xCode & Command Line Tools and then Android Studio

  1. Download xCode and Command Line Tools for 13.2.1
  2. Install xCode and then the CLTs
  3.  reboot because on a clean disk you can search forever
    
  4. Download the latest version of Android Studio and install
  5. sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer 
  6. sudo xcodebuild -runFirstLaunch
  7. sudo xcodebuild -license accept
  8. sudo gem install cocoapods

Thats all folks for xCode users

For flutter users continue here (in Android Studio)

Launch Android Studio and create a basic droid app using the new project templates in AS. Build and run it on any droid emulator. This makes Android Studio download all of the build tools it needs and which match your configuration (gradle etc...)

Update kotlin and gradle setting in Android Studio and your app to the latest and rebuild/run it again. This updates all build tool dependencies to the latest for Android builds.

Add the flutter plugins to Android Studio Create a basic flutter app using the project template in AS File -> New Project Build and run it on an Android emulator Try to build and run it on an iOS emulator from within Android Studio, and it will likely fail.

Running iOS builds from within Android Studio sets up the pods and dependencies and most of what is needed, but not everything needed to successfully run the flutter app on iOS.

It always seems necessary to take this next step to get flutter apps to build properly in xCode.

Open the flutter iOS directory in xCode and let it index and analyze the project. xCode will indicate any problems it finds in a yellow triangle near the top right of the screen. And if you are trying to compile flutter code for the first time and have not done this for your project het, will include errors in the xCode project. Tell xCode to fix everything it finds (by clicking on the error warnings and then the highlighted fix (text). Once you do this your flutter generated iOS app will build in xCode or from Android Studio.

CULater Jazzzzzzz

Same here. Did anyone find another solution?

Hey it works fine with flutter 2.8.1 but with 2.10 it fails on fastlane.

This is the workaround in my case. Hope it help. https://stackoverflow.com/a/73054701/5354624

I'm also facing the same issue. Tried everything but wasn't able to solve the issue yet.

xcode 13.4 flutter build error
 
 
Q