ios build problem for CordovaPluginFirebase
See original GitHub issueWhen trying to build the app in xcode 10, I get the following build error:
/node_modules/@capacitor/cli/assets/capacitor-cordova-ios-plugins/sources/CordovaPluginFirebase/src/ios/Firebase/RemoteConfig/FirebaseABTesting.framework/Headers/FIRExperimentController.h:3:9: error:
'developers/mobile/abt/proto/ExperimentPayload.pbobjc.h' file not found
#import "developers/mobile/abt/proto/ExperimentPayload.pbobjc.h"
^
<unknown>:0: error: could not build Objective-C module 'CordovaPlugins'
This is using “@capacitor/cli”: “^1.0.0-beta.8”.
I have added capacitor to an existing ionic 3 project. (apologies if that the problem right there).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:12 (3 by maintainers)
Top Results From Across the Web
iOS build fail. Firebase · Issue #155 - GitHub
I'm using the firebase-messaging plugin and it comes with the firebase-analystics plugin. I have been getting the following build error:.
Read more >Unable to add iOS platform to Cordova project with cordova ...
It is literally in the documentation of the plugin. sudo gem install cocoapods-dependencies cd platforms/ios/ pod dependencies.
Read more >couldn't installl the Cordova plugin cordova-plugin-firebase.
Greetings to all, I have a problem when building the apk of my project, I am using mobile firebase, and it does not...
Read more >Cordova-plugin-firebase issues with ios
I have created iOS build for my ionic4 app having Cordova version 9.0.0. When I installed cordova-plugin-firebase and build the code with ...
Read more >cordova-plugin-firebasex-fix - npm
This is caused by plugins installing different versions of the Google Play Services library. This can be resolved by installing cordova-android- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
maybe try adding it with
ionic cordova plugin add cordova-plugin-camera
andnpm install @ionic-native/camera
, thencordova platform add ios
andionic cordova build ios
. This uses cordova not capacitor to build which should not cause much of a difference. Then open the xcode project in the ios folder and try building etc. I am not sure on how to fix the compiling error on capacitor but migrating to cordova worked for me.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.