I’ve been developing a flutter app for android for quite some time now, decided to try building it for iOS on a Macbook Pro with M1 Pro chip. Everytime I run it, it works on running pod install and running Xcode build, but always fails at building iOS app. I tried creating a completely new project and run it on my iOS simulator and it worked. Been trying out solutions I could find but none of them worked. Here’s the error I get:
xcodebuild[24755:304662] 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[24755:304662] 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
and at the end it shows this:
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Any help will be greatly appreciated. Thanks!
2
Answers
Turns out all I needed to do was upgrade all my packages to the latest version, so I did. After resolving some errors caused by upgrading, I was finally able to install my iOS application.
Just replace this lines at the end of your Podfile
Flutter > ios > Podfile