question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ios build problem for CordovaPluginFirebase

See original GitHub issue

When 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Nekorracommented, Aug 21, 2020

maybe try adding it with ionic cordova plugin add cordova-plugin-camera and npm install @ionic-native/camera, then cordova platform add ios and ionic 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.

0reactions
ionitron-bot[bot]commented, Nov 11, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found