Flutter App archiving issue on Xcode 13.4 | Command PhaseScriptExecution failed with a nonzero exit code

Using Xcode version 13.4 on macbook pro. I even updated extensions on first open.

I am getting the following errors when running xcodebuild from the command line:

Error output from Xcode build:

    2022-05-23 02:29:06.631 xcodebuild[66389:3551477] 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-23 02:29:06.631 xcodebuild[66389:3551477] 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

    2022-05-23 02:29:49.991 xcodebuild[66389:3551602] /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-20503/XCSourceControl/Service/XCSourceControlXPCServiceClient.swift:

    'com.apple.dt.GitHubHostBuiltInExtension' XPC connection interrupted: <NSXPCConnection: 0x600001ffa080> connection to service named com.apple.dt.GitHubHostBuiltInExtension

    ** ARCHIVE FAILED **

How do I fix this issue? Saw quite a few people reporting similar issues in the recent Xcode versions.

I have the same problem, using Flutter stable 3.0.1 and Xcode 13.4.

SchedulerBinding.instance.addPostFrameCallback => SchedulerBinding.instance?.addPostFrameCallback WidgetsBinding.instance.addObserver => WidgetsBinding.instance?.addObserver I added '?' to solved the question

Facing the same issue with Xcode 13.4.1 and Flutter 3.0.5 on Mac M1

yes,i have same question. Xcode 13.4.1 and flutter 3.3.10 on Mac M1 version 12.3

Flutter App archiving issue on Xcode 13.4 | Command PhaseScriptExecution failed with a nonzero exit code
 
 
Q