andrehtissot / cordova-plugin-fcm-with-dependecy-updated

Google FCM Push Notifications Cordova Plugin
MIT License
210 stars 277 forks source link

IOS firebase module not found ionic 3 #108

Closed posdevelopers closed 4 years ago

posdevelopers commented 4 years ago

Hi , it's 24 hours and i am stuck on the below issue with this plugin on ios , can anyone help me please please . i am using ionic 3 working fine on android , but on ios it is not building and give the below error , tried every thing , xcode 11.

fatal error: module 'Firebase' not found @import Firebase;


1 error generated.
andrehtissot commented 4 years ago

1.Would you share your package.json? 2.Do you have cocoapods installed without sudo (not as root)?

posdevelopers commented 4 years ago
{
  "name": "QuickzLaundry",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "start": "ionic-app-scripts serve",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint"
  },
  "dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/card-io": "^4.20.0",
    "@ionic-native/core": "~4.20.0",
    "@ionic-native/date-picker": "^4.20.0",
    "@ionic-native/fcm": "^4.20.0",
    "@ionic-native/firebase-messaging": "^4.20.0",
    "@ionic-native/geolocation": "^4.20.0",
    "@ionic-native/local-notifications": "^4.20.0",
    "@ionic-native/network": "^4.20.0",
    "@ionic-native/splash-screen": "~4.20.0",
    "@ionic-native/status-bar": "~4.20.0",
    "@ionic/storage": "2.2.0",
    "axios": "^0.19.0",
    "cordova": "^8.1.0",
    "cordova-android": "8.1.0",
    "cordova-ios": "5.1.1",
    "cordova-plugin-androidx": "^1.0.2",
    "cordova-plugin-androidx-adapter": "^1.1.1",
    "cordova-plugin-badge": "^0.8.8",
    "cordova-plugin-datepicker": "^0.9.3",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-geolocation": "^4.0.2",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^4.2.1",
    "cordova-plugin-local-notification": "^0.9.0-beta.2",
    "cordova-plugin-network-information": "^2.0.2",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "date-fns": "^2.8.1",
    "ionic-angular": "3.9.5",
    "ionicons": "3.0.0",
    "ng2-search-filter": "^0.5.1",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.2",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "node-sass": "^4.14.1",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-datepicker": {},
      "cordova-plugin-geolocation": {},
      "cordova-plugin-local-notification": {},
      "cordova-plugin-network-information": {},
      "cordova-plugin-androidx": {},
      "cordova-plugin-androidx-adapter": {},
      "cordova-plugin-ionic-webview": {}
    },
    "platforms": [
      "android",
      "ios"
    ]
  }
}
posdevelopers commented 4 years ago

yes cocoa is installed and when i run pod install on ios folder then it is installing firebase

andrehtissot commented 4 years ago

That's so strange. Cordova should be able to install using cocoapods by itself on plugin install. I'll add an issue here to investigate this issue and maybe force it by script.

andrehtissot commented 4 years ago

After that you were able to build the app, right?

posdevelopers commented 4 years ago

Yes , i go to pod install and all dependcies are installed , now when i try to build using sudo ionic cordova build ios , then it is giving sandbox is not sync with podlock file

posdevelopers commented 4 years ago

diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

posdevelopers commented 4 years ago

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.0.99. (in target 'nanopb' from project 'Pods') BUILD FAILED

The following build commands failed: PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /var/root/Library/Developer/Xcode/DerivedData/Quick_Z_Laundry-gfzmljacvkqqjjbcgohzrydhchgv/Build/Intermediates.noindex/Quick\ Z\ Laundry.build/Debug-iphonesimulator/Quick\ Z\ Laundry.build/Script-EC5B9E52FBA74C42B5B00AD8.sh (1 failure)

posdevelopers commented 4 years ago

Here is my cordova plugin list i am using : cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx" cordova-plugin-androidx-adapter 1.1.1 "cordova-plugin-androidx-adapter" cordova-plugin-badge 0.8.8 "Badge" cordova-plugin-datepicker 0.9.3 "DatePicker" cordova-plugin-device 2.0.2 "Device" cordova-plugin-fcm-with-dependecy-updated 6.4.3 "Cordova FCM Push Plugin" cordova-plugin-geolocation 4.0.2 "Geolocation" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview" cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification" cordova-plugin-network-information 2.0.2 "Network Information" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist"

andrehtissot commented 4 years ago

This is a very old app, which is still targetting iOS 4.3. This iOS version is not supported by cordova. And cordova-plugin-fcm-with-dependecy-updated only suports iOS 9+.

I suggest to open the project workspace in XCode and configure to target, at least, iOS 9. Which will probably cause many plugins to fail unless upgraded.

posdevelopers commented 4 years ago

i am targeting ios 11 from xcode

posdevelopers commented 4 years ago

Now i am facing error in Appdelegate+fcm file

import "AppDelegate+FCMPlugin.h"

import "FCMPlugin.h"

import "FCMPluginIOS9Support.h"

import "FCMNotificationCenterDelegate.h"

import <objc/runtime.h>

import <Foundation/Foundation.h>

@import UserNotifications; @import Firebase; "Module firebase not found" , i am opening workspace as seen on the other links

andrehtissot commented 4 years ago

i am targeting ios 11 from xcode

In the app, yes. But the "nanopb" dependency of a dependency you have is not. Although, this should be causing this particular issue.

andrehtissot commented 4 years ago

Now i am facing error in Appdelegate+fcm file

import "AppDelegate+FCMPlugin.h"

import "FCMPlugin.h"

import "FCMPluginIOS9Support.h"

import "FCMNotificationCenterDelegate.h"

import <objc/runtime.h>

import <Foundation/Foundation.h>

@import UserNotifications; @import Firebase; "Module firebase not found" , i am opening workspace as seen on the other links

Ok, so you are opening the "QuickzLaundry.xcworkspace", right?

posdevelopers commented 4 years ago

yes i am opening xcworkspace

andrehtissot commented 4 years ago

Would you share your Podfile file?

posdevelopers commented 4 years ago
# DO NOT MODIFY -- auto-generated by Apache Cordova

platform :ios, '11.0'

target 'Quick Z Laundry' do
    project 'Quick Z Laundry.xcodeproj'
# Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'

# Add the pods for any other Firebase products you want to use in your app
# For example, to use Firebase Authentication and Cloud Firestore
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
end
andrehtissot commented 4 years ago

Got it. You have another plugin that thinks that it is the only one that can use cocoapods :/

andrehtissot commented 4 years ago

Some plugins don't know how to work together. Having a plugin patching others to allow mutual execution is a weird necessity at this point. 😔

posdevelopers commented 4 years ago

Please help i just downgraded to 2.4.0 version and build succeeded but downgraded version have uiwebview so apple is rejecting it.

andrehtissot commented 4 years ago

v2.4.0 will also have issues with Firebase Messaging, fail to run on newer iOS versions, have far less features and so on.

v2.4.0 only builds because it doesn't use cocoapods. Which is now being mishandled by another plugin. Downgrading is not the solution.

andrehtissot commented 4 years ago

In your Podfile, modify it to:

# DO NOT MODIFY -- auto-generated by Apache Cordova

platform :ios, '11.0'

target 'Quick Z Laundry' do
    project 'Quick Z Laundry.xcodeproj'
    # Add the Firebase pod for Google Analytics
    pod 'Firebase/Analytics'

    # Add the pods for any other Firebase products you want to use in your app
    # For example, to use Firebase Authentication and Cloud Firestore
    pod 'Firebase/Auth'
    pod 'Firebase/Firestore'
    pod 'Firebase/Messaging' # This is required for Push
end

And pod install again there.

posdevelopers commented 4 years ago

let me try this

posdevelopers commented 4 years ago

One thing more i would like to update you that this podfile is generated empty when i first try to build the app and then i edit it and add these lines

posdevelopers commented 4 years ago

Also one more thing latest cocoapod is not installing on my mac , so i have installed some old version

posdevelopers commented 4 years ago

pod --version result is 1.8.4

posdevelopers commented 4 years ago

i added above line and got the error

posdevelopers commented 4 years ago

Plugins

cocoapods-clean       : 0.0.1
cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.1.0

Podfile

# DO NOT MODIFY -- auto-generated by Apache Cordova

platform :ios, '11.0'

target 'Quick Z Laundry' do
        project 'Quick Z Laundry.xcodeproj'
# Add the Firebase pod for Google Analytics
pod 'Firebase/Analytics'

# Add the pods for any other Firebase products you want to use in your app
# For example, to use Firebase Authentication and Cloud Firestore
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'Firebase/Messaging'
end

Error

JSON::ParserError - A JSON text must at least contain two octets!
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/json/common.rb:156:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/json/common.rb:156:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/json/common.rb:156:in `parse'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/json.rb:61:in `from_json'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification.rb:715:in `from_string'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification.rb:689:in `from_file'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source.rb:186:in `specification'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb:58:in `block in specification_name'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb:56:in `each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb:56:in `specification_name'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/cdn_source.rb:212:in `search'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:83:in `block in search'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:83:in `select'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:83:in `search'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:416:in `create_set_from_sources'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:385:in `find_cached_set'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:360:in `specifications_for_dependency'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:165:in `search_for'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:274:in `block in sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in `each'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in `sort_by'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:53:in `block in sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb:52:in `sort_dependencies'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:in `activate_new_spec'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:in `attempt_to_activate'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:94:in `resolve'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:986:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:984:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=A+JSON+text+must+at+least+contain+two+octets%21&type=Issues

If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...

posdevelopers commented 4 years ago

I am still getting the error after adding pod firebase/messaging

posdevelopers commented 4 years ago

i will delete and rebuild the project ,these are downloaded Installing Firebase (6.27.0) Installing FirebaseCore (6.8.0) Installing FirebaseCoreDiagnostics (1.4.0) Installing FirebaseInstallations (1.4.0) Installing FirebaseInstanceID (4.4.0) Installing FirebaseMessaging (4.5.0) Installing GoogleDataTransport (6.2.1) Installing GoogleDataTransportCCTSupport (3.2.0) Installing GoogleUtilities (6.6.0) Installing PromisesObjC (1.2.9) Installing Protobuf (3.12.0) Installing nanopb (1.30905.0)

posdevelopers commented 4 years ago

here is my podlock file PODS:

DEPENDENCIES:

SPEC REPOS: https://cdn.cocoapods.org/:

SPEC CHECKSUMS: Firebase: fc4cbf6f1592636431821ef9a3c557e4dfd9f268 FirebaseCore: feda061cb1ee6d8ad4824f4a4a8ffbcfe284f595 FirebaseCoreDiagnostics: 4505e4d4009b1d93f605088ee7d7764d5f0d1c84 FirebaseInstallations: 293f567159b6d66d1c990f13bb868066096c94ec FirebaseInstanceID: 3b119bfe90e904851218159c9a4ecb847cc51d18 FirebaseMessaging: ad9e1a80ea64905e01a0ce1b3eb76a2944544151 GoogleDataTransport: 9a8a16f79feffc7f42096743de2a7c4815e84020 GoogleDataTransportCCTSupport: 489c1265d2c85b68187a83a911913d190012158d GoogleUtilities: 39530bc0ad980530298e9c4af8549e991fd033b1 nanopb: c43f40fadfe79e8b8db116583945847910cbabc9 PromisesObjC: b48e0338dbbac2207e611750777895f7a5811b75 Protobuf: 2793fcd0622a00b546c60e7cbbcc493e043e9bb9

PODFILE CHECKSUM: ced5e722d265e9d3328143105542747933ea87d1

COCOAPODS: 1.8.4

andrehtissot commented 4 years ago
  1. cocoapods version 1.8.4 is good enough;
  2. I didn't get it if you were able to install as you got a Podfile.lock that looks fine;
  3. I'd recommend, if are you are still facing the "JSON::ParserError - A JSON text must at least contain two octets!" error, to upgrade your Ruby version, by either installing with rvm (https://rvm.io) or brew (https://brew.sh/)
posdevelopers commented 4 years ago

I uninstall and again install cocoapod so error is gone but when i try to build from xcworkspace then i got error firebase module not found

joeljfernandes commented 4 years ago

I am also getting the same issue on my ios app using ionic 3 and the latest cordova-ios platform 6.0.0 . Is there any solution to this? I have been struggling with this issue. Please help me.

'Firebase.h' file not found

Module 'Firebase' not found

posdevelopers commented 4 years ago

Same error stuck on this since 5 days

joeljfernandes commented 4 years ago

I dont know how to reinstall cocopods ....is it safe to reinstall the coco pods on the project? What are the cli commands to do so?....

posdevelopers commented 4 years ago

I google it it's something like gem install cocoapod

andrehtissot commented 4 years ago

It's recommended to have newer versions of each, and for a higher level of control, rvm is very handy.

You should be able to use it by running something like this:

  1. Install RVM and follow the instructions \curl -sSL https://get.rvm.io | bash -s stable
  2. Install latest Ruby and follow the instructions rvm install ruby
  3. Install cocoapods gem install cocoapods

The steps in between are informed when you finish install them, and are dependent of the development environment.

posdevelopers commented 4 years ago

Dear Please tell me how to resolve MODULE FIREBASE NOT FOUND error

andrehtissot commented 4 years ago

@posdevelopers, this is an issue related to your environment. You weren't able to install dependencies through Cocoapods. I'm working to help you. But you might need a more hands on support, which would be out of the scope of this community support.

I can, in the near future, provide hands on support by a remote desktop application/zoom using support hours claimed on patreon. Would you support that? And how much would you pledge to have issues like this fixed and prioritized?

posdevelopers commented 4 years ago

yes i can provide you anydesk remote session , and yes it's very urgent for me as i am stuck on this issue since two weeks

posdevelopers commented 4 years ago

can i integrate it without using cocoapods , https://firebase.google.com/download/ios , in this link it is stated that we can integrate the firebase sdk without using cocapods ?

andrehtissot commented 4 years ago

It's really not recommended to to through this route, as it'll impact on the size of your repository, or you'll have to share big chunk of files with your colleagues.

Did you try to follow the steps I mentioned here: https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated/issues/108#issuecomment-651359785

posdevelopers commented 4 years ago

Yes i have followed above steps and it's installed updated version of cocoapod

posdevelopers commented 4 years ago

Now i am getting Module 'Firebase' not found

posdevelopers commented 4 years ago

It is giving error in FCMPlugin.m file , error in this line , @import Firebase, I am opening xcworkspace and all firebase sdk's are there in pod project

posdevelopers commented 4 years ago

Plugins/cordova-plugin-fcm-with-dependecy-updated/FCMPlugin.m:8:9: fatal error: module 'Firebase' not found @import Firebase

posdevelopers commented 4 years ago

i think my project is not importing the pod dependencies like firebase and other modules , although libPods.a is there in LINK BINARY WITH LIBRARIES

posdevelopers commented 4 years ago

today error is changed from module firebase to #import "Firebase.h" firebase.h not found , i just reinstall the fcm plugin

andrehtissot commented 4 years ago

There shouldn't be any hard link. Would you try to:

ionic cordova plugin remove cordova-plugin-fcm-with-dependecy-updated
rm -rf node_modules/cordova-plugin-fcm-with-dependecy-updated/
rm -rf plugins/cordova-plugin-fcm-with-dependecy-updated/
rm -rf platforms/ios/[APPLICATION NAME]/Plugins/cordova-plugin-fcm-with-dependecy-updated/
ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated

It doesn't make much sense, but maybe you are still fighting some old files.