Flutter build iOS got error: Requested but did not find extension point with identifier

We Are Going To Discuss About Flutter build iOS got error: Requested but did not find extension point with identifier. So lets Start this Flutter Article.

Flutter build iOS got error: Requested but did not find extension point with identifier

How solve Flutter build iOS got error: Requested but did not find extension point with identifier

OK, very weird but running xcrun multiple times seems to fix this. I had also updated to Xcode 13.3 recently.
xcrun -sdk iphoneos --show-sdk-path
The first time it shows the error. The second time it shows the right answer. I ran it with all three sdks, iphoneos, macosx, watchos and all showed the errors the first time. I also ran it with all five of the options for all three sdks:
xcrun -sdk iphoneos --show-sdk-path xcrun -sdk iphoneos --show-sdk-version xcrun -sdk iphoneos --show-sdk-build-version xcrun -sdk iphoneos --show-sdk-platform-path xcrun -sdk iphoneos --show-sdk-platform-version
The build error from xcodebuild went away after that, although I’m not certain which of the commands fixed it.

Flutter build iOS got error: Requested but did not find extension point with identifier

OK, very weird but running xcrun multiple times seems to fix this. I had also updated to Xcode 13.3 recently.
xcrun -sdk iphoneos --show-sdk-path
The first time it shows the error. The second time it shows the right answer. I ran it with all three sdks, iphoneos, macosx, watchos and all showed the errors the first time. I also ran it with all five of the options for all three sdks:
xcrun -sdk iphoneos --show-sdk-path xcrun -sdk iphoneos --show-sdk-version xcrun -sdk iphoneos --show-sdk-build-version xcrun -sdk iphoneos --show-sdk-platform-path xcrun -sdk iphoneos --show-sdk-platform-version
The build error from xcodebuild went away after that, although I’m not certain which of the commands fixed it.

Solution 1

OK, very weird but running xcrun multiple times seems to fix this. I had also updated to Xcode 13.3 recently.

xcrun -sdk iphoneos --show-sdk-path

The first time it shows the error. The second time it shows the right answer. I ran it with all three sdks, iphoneos, macosx, watchos and all showed the errors the first time. I also ran it with all five of the options for all three sdks:

xcrun -sdk iphoneos --show-sdk-path
xcrun -sdk iphoneos --show-sdk-version
xcrun -sdk iphoneos --show-sdk-build-version
xcrun -sdk iphoneos --show-sdk-platform-path
xcrun -sdk iphoneos --show-sdk-platform-version

The build error from xcodebuild went away after that, although I’m not certain which of the commands fixed it.

Original Author PhoneyDeveloper Of This Content

Solution 2

Found solution:

  1. Check for updates of Xcode in App Store (it should be updated
    already, but just for confirmation)
  2. Launch Xcode; it will ask you to install additional software. After installation finishes the errors will gone.

Original Author Steelbow Of This Content

Solution 3

Fixed this by running.

xcrun -sdk macosx --show-sdk-path 

This outputs your current skd path.

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk

Add this to your .zshrc file.

export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk

Source it

source ~/.zshrc

Now run

 xcrun -sdk macosx --show-sdk-version

Original Author user1503606 Of This Content

Solution 4

To avoid hard coding the version you can add this to your .profile:

export SDKROOT=$(xcrun -sdk macosx --show-sdk-path)

reload profile (source path to your profile) and run

xcrun -sdk macosx --show-sdk-version

to verify

Original Author naile Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment