ionic-team / capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
https://capacitorjs.com
MIT License
12.15k stars 1.01k forks source link

bug: Cant build Capacitor on M1 Mac cause of old GoogleTagManager #5685

Closed SheppardX closed 2 years ago

SheppardX commented 2 years ago

Bug Report

Capacitor Version

Installed Dependencies:

  @capacitor/cli: 3.5.1
  @capacitor/core: 3.5.1
  @capacitor/android: 3.5.1
  @capacitor/ios: 3.5.1

Platform(s)

iOS on Mac with M1 Chip

Current Behavior

cant get build cause GoogleTagManager is old version (7.3.1) and not ready for m1 chips it got updated and fixed on version 7.4.0 In Podfile.lock i can see that CordovaPluginsStatic is using GoogleTagManager (= 7.3.1) and CordovaPluginsStatic is coming from capacitor-cordova-ios-plugins https://github.com/firebase/firebase-ios-sdk/issues/7509 last post

'GoogleSymbolUtilities' for architecture arm64

is this the right place to post ?

Expected Behavior

Its gets build

Other Technical Details

npm --version output: 8.5.5

node --version output: v14.19.0

pod --version output (iOS issues only): 1.11.3

jcesarmobile commented 2 years ago

CordovaPluginsStatic is generated from your installed Cordova plugins, so you should see which plugin is using that dependency and report to the plugin maintainer.

SheppardX commented 2 years ago

pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app' pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics' pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard' pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen' pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar' pod 'CapacitorNativeBiometric', :path => '../../node_modules/capacitor-native-biometric' pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.11.0' pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins' pod 'CordovaPluginsStatic', :path => '../capacitor-cordova-ios-plugins' pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins'

its from capacitor-cordova-ios-plugins

jcesarmobile commented 2 years ago

All the content from capacitor-cordova-ios-plugins comes from your installed Cordova plugins, Capacitor searches for all your installed Cordova plugins and put the code in that folder, so one of your Cordova plugins has the problem, you have to find out which one and report it to their maintainers.

SheppardX commented 2 years ago

How ?

i am only using the capacitor cordova plugins https://capacitorjs.com/docs/apis some of them in the list

jcesarmobile commented 2 years ago

Start by searching "cordova" in your package.json as cordova plugins usually have cordova in their name. Then see if any of the results has "firebase", "firestore", "google", "analytics", etc on the name too.

SheppardX commented 2 years ago

yeah i found i searched for GoogleTagManager in node_modules.

ionitron-bot[bot] commented 1 year ago

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.