본문 바로가기
Flutter/Flutter FAQ

"Flutter build iOS에서 오류 발생: 식별자가 있는 확장 지점을 찾지 못했습니다.", Flutter build iOS got error: Requested but did not find extension point with identifier

by 베타코드 2023. 6. 12.
반응형

질문


저는 방금 Xcode 13.3-beta로 업그레이드하고, 플러터 프로젝트를 실행했을 때 다음 오류가 발생했습니다:

Error output from Xcode build:
↳
    2022-03-02 17:45:38.148 xcodebuild[62848:6695836] 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-03-02 17:45:38.148 xcodebuild[62848:6695836] 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
    ** BUILD FAILED **

이제 저는 혼란스럽습니다. 저는 시뮬레이터에서 iOS 앱을 실행하고 있는데, 왜 watchOS와 같은 오류가 발생하는 건가요?

그리고 이 오류를 어떻게 해결해야 할지 전혀 모르겠습니다.

누군가 저를 도와주실 수 있나요?


답변


OK, 매우 이상하지만 xcrun을 여러 번 실행하면이 문제가 해결됩니다. 나는 최근 Xcode 13.3으로 업데이트도했다.

xcrun -sdk iphoneos --show-sdk-path

처음에는 오류가 표시됩니다. 두 번째로는 올바른 답변이 표시됩니다. 나는 iphoneos, macosx, watchos의 모든 세 가지 sdk로 실행하고 모두 처음에 오류가 표시되었습니다. 나는 또한 모든 세 sdk의 다섯 가지 옵션으로 모두 실행했습니다.

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

xcodebuild의 빌드 오류는 그 후에 사라졌지만, 어떤 명령이 이를 고쳤는지 확실하지 않습니다.

반응형

댓글