Meteor 2.14 breaks both android and ios

2.13 works fine, if i try to upgrade to 2.14 I get these errors:

Android:

FAILURE: Build completed with 2 failures.
   Starting app on Android Emulator          |
1: Task failed with an exception.
-----------
* Where:
Script '/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/android/cordova-plugin-badge/app-badge.gradle' line: 28

* What went wrong:
A problem occurred evaluating script.
> Could not find method compile() for arguments [me.leolin:ShortcutBadger:1.1.22@aar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
> compileSdkVersion is not specified. Please add it to build.gradle

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
=> Errors executing Cordova commands:         
                                              
   While running Cordova app for platform Android with options --buildConfig,/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/build.json,--emulator:
   Error: Command failed with exit code 1: /Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/android/gradlew -b
   /Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/android/build.gradle cdvBuildDebug
   at makeError (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/execa/lib/error.js:60:11)
   at handlePromise (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/execa/index.js:118:26)
   at processTicksAndRejections (internal/process/task_queues.js:95:5)
   => awaited here:
   at Function.Promise.await
   (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)
   at /tools/cordova/project.js:343:7
   at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
   => awaited here:
   at Function.Promise.await
   (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)
   at CordovaProject.runCommands (/tools/cordova/project.js:895:22)
   at /tools/cordova/project.js:341:10
   at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
                                              
/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^
ExitWithCode {
  code: 1,
  stack: 'undefined\n' +
    ' => awaited here:\n' +
    '    at Function.Promise.await (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)\n' +
    '    at /tools/cordova/run-targets.js:108:5\n' +
    '    at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40\n' +
    ' => awaited here:\n' +
    '    at Function.Promise.await (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)\n' +
    '    at /tools/cordova/runner.js:96:17\n' +
    '    at Object.capture (/tools/utils/buildmessage.js:283:5)\n' +
    '    at CordovaRunner.startRunTargets (/tools/cordova/runner.js:95:37)\n' +
    '    at AppRunner._runOnce (/tools/runners/run-app.js:776:21)\n' +
    '    at AppRunner._fiber (/tools/runners/run-app.js:947:28)\n' +
    '    at /tools/runners/run-app.js:408:12'
}

iOS:

Installing "cordova-plugin-meteor-webapp" for ios
%% apple-ios version check failed (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/ios/cordova/apple_ios_version), continuing anyways.
apple-ios version check failed (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/ios/cordova/apple_ios_version), continuing anyways.
%% apple-xcode version check failed (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/ios/cordova/apple_xcode_version), continuing anyways.
apple-xcode version check failed (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/platforms/ios/cordova/apple_xcode_version), continuing anyways.
%% Error during processing of action! Attempting to revert...                      
Error during processing of action! Attempting to revert...              ] 30% 89.9s
%% Failed to install 'cordova-plugin-meteor-webapp': CordovaError: Uh oh!          
"/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/plugins/cordova-plugin-meteor-webapp/src/ios/GCDWebServer/GCDWebServer/Core/GCDWebServer.m" not found!
    at copyFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:315:36)
    at copyNewFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:341:5)
    at installHelper (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:265:13)
    at install (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:34:13)
    at ActionStack.process (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/ActionStack.js:55:25)
    at PluginManager.doOperation (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:111:24)
    at PluginManager.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:141:21)
    at Api.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/Api.js:258:14)
    at handleInstall (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:561:10)
    at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:344:28
    at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
Failed to install 'cordova-plugin-meteor-webapp': CordovaError: Uh oh!  ] 60% 12.4s
"/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/plugins/cordova-plugin-meteor-webapp/src/ios/GCDWebServer/GCDWebServer/Core/GCDWebServer.m" not found!
    at copyFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:315:36)
    at copyNewFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:341:5)
    at installHelper (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:265:13)
    at install (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:34:13)
    at ActionStack.process (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/ActionStack.js:55:25)
    at PluginManager.doOperation (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:111:24)
    at PluginManager.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:141:21)
    at Api.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/Api.js:258:14)
    at handleInstall (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:561:10)
    at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:344:28
    at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
=> Errors executing Cordova commands:                                              
                                                                                   
   While adding plugin cordova-plugin-meteor-webapp@2.0.3 to Cordova project:      
   CordovaError: Uh oh!                                                            
   "/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/plugins/cordova-plugin-meteor-webapp/src/ios/GCDWebServer/GCDWebServer/Core/GCDWebServer.m" not found!
   at copyFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:315:36)
   at copyNewFile (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:341:5)
   at installHelper (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:265:13)
   at install (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/plugman/pluginHandlers.js:34:13)
   at ActionStack.process (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/ActionStack.js:55:25)
   at PluginManager.doOperation (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:111:24)
   at PluginManager.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-common/src/PluginManager.js:141:21)
   at Api.addPlugin (/Users/user/app-app/app-app-v1/.meteor/local/cordova-build/node_modules/cordova-ios/lib/Api.js:258:14)
   at handleInstall
   (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:561:10)
   at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/install.js:344:28
   at /Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/fiber_pool.js:43:40
   => awaited here:
   at Function.Promise.await
   (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:56:12)
   at CordovaProject.runCommands (/tools/cordova/project.js:895:22)
   at CordovaProject.addPlugin (/tools/cordova/project.js:594:14)
   at /tools/cordova/project.js:772:16
   at Function.each
   (/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore-node-f-pre.js:1321:7)
   at /tools/cordova/project.js:771:11
   at Object.enterJob (/tools/utils/buildmessage.js:388:12)
   at CordovaProject.ensurePluginsAreSynchronized (/tools/cordova/project.js:638:18)
   at CordovaProject.prepareFromAppBundle (/tools/cordova/project.js:270:10)
   at /tools/cordova/runner.js:76:27
   at Object.enterJob (/tools/utils/buildmessage.js:388:12)
   at CordovaRunner.prepareProject (/tools/cordova/runner.js:75:18)
   at /tools/runners/run-app.js:673:25
   at Object.capture (/tools/utils/buildmessage.js:283:5)
   at AppRunner._runOnce (/tools/runners/run-app.js:672:39)
   at AppRunner._fiber (/tools/runners/run-app.js:947:28)
   at /tools/runners/run-app.js:408:12
                                                                                   
/Users/user/.meteor/packages/meteor-tool/.2.14.0.too86h.3qlqd++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
      throw error;
      ^
ExitWithCode { code: 1 }

I am building on an m1

Your error shows missing file. Can you find that file from somewhere else, and add it?

This is just a common error message, you can see the same error here, pinging @filipenevola since he is the one who solved the github thread

Same issue here after update to 2.14 version.

Enviroment:
Macbook Pro M2 with MacOs Ventura.

I’m guessing it’s due to this issue `GCDWebServer` missing in `cordova-plugin-meteor-webapp` · Issue #12946 · meteor/meteor · GitHub