skip to Main Content

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


  1. Chosen as BEST ANSWER

    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.


  2. Just replace this lines at the end of your Podfile

    post_install do |installer_representation|
      installer_representation.project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['ARCHS'] = 'armv7 armv7s'
        end
      end
    end
    

    Flutter > ios > Podfile

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search