Quantcast
Channel: Active questions tagged cocoapods - Stack Overflow
Viewing all articles
Browse latest Browse all 1029

Duplicate interface definition for class 'gtmsessionfetcherservice'

$
0
0

I'm currently trying to upload a new version of my ionic app to the apple store. For that I do this command: "npm run build:prod && npx cap sync && npx cap copy && npx cap open ios". It works correctly and opens xcode in my mac. There I do "Product->Archive", it starts building but it throws this errors:enter image description here

enter image description here

enter image description here

enter image description here

I've been going at it for days and its not working. The main problem is with GTMSessionFetcherService, I tried deleting it from the pods file and straight from the packages in xcode but both end up causing more errors. I also cleaned xcode and tried to rebuild again and uninstalled and reinstalled the pods. Other posts related to this error that I found mentioned changing some build configurations for xcode but it didn't have this options selected either. The current version is the same but the minimum ios version requirement is 15.0 instead of 13.0 as it was before. He is my podfile if it helps:

require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'platform :ios, '15.0'use_frameworks!# workaround to avoid Xcode caching of Pods that requires# Product -> Clean Build Folder after new Cordova plugins installed# Requires CocoaPods 1.6 or newerinstall! 'cocoapods', :disable_input_output_paths => truedef capacitor_pods  pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'  pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'  pod 'CapacitorFirebaseAuthentication', :path => '../../node_modules/@capacitor-firebase/authentication'  pod 'CapacitorApp', :path => '../../node_modules/@capacitor/app'  pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/camera'  pod 'CapacitorGeolocation', :path => '../../node_modules/@capacitor/geolocation'  pod 'CapacitorGoogleMaps', :path => '../../node_modules/@capacitor/google-maps'  pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'  pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'  pod 'CapacitorPushNotifications', :path => '../../node_modules/@capacitor/push-notifications'  pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen'  pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'endtarget 'App' do  capacitor_pods  # Add your Pods here  pod 'CapacitorFirebaseAuthentication/Google', :path => '../../node_modules/@capacitor-firebase/authentication'  pod 'CapacitorFirebaseAuthentication/Facebook', :path => '../../node_modules/@capacitor-firebase/authentication'endpost_install do |installer|  assertDeploymentTarget(installer)  installer.pods_project.targets.each do |target|    target.build_configurations.each do |config|      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'    end    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"      target.build_configurations.each do |config|          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'      end    end  endend

Viewing all articles
Browse latest Browse all 1029

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>