-
-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS cocoapods fail to compile #330
Comments
|
Thanks for the quick response! 👏
I tried
I pinned my package.json and config.xml to hard clean, deleted platforms/ and plugins/
result:
|
Same as #326 - please see for details |
Hi. I have the same issue when try to build from XCode. And then I try use "cordova-plugin-firebasex@9.0.1-cli" version, but in this case i recive also:
|
@AbdullaevTimur please try building the example project to diagnose whether it's specific to your project vs dev env. |
Good night people, The difficult thing is that in all forums the dpa99c is putting an example project link but it seems that it is not concerned with solving the issues that are appearing |
Bug report
Current behavior:
I have a broken build in my CI machine (Mac Mini, macOS = 10.14.6 , XCode = 11.0). It is failing to link the cocoapods dependencies.
I think I saw this error initially on my development Macbook as well, but I tried some googling/troubleshooting steps, and after deleting Xcode DerivedData/ folders it seems to be fixed on my machine (MacBook Pro, macOS = 10.14.6, XCode = 11.0). It builds successfully now on my machine everytime, but even after doing those same steps on my Mac Mini, it is still failing there consistently. 😕
I've tried everything I can think of: switching to Legacy build system, manually adding header search paths, rebuilding in Debug configuration, and even tried setting the plugin.xml use_frameworks="false". Still get this error and failure to link to the firebase headers on my build agent.
Because of this issue, I am currently using a personal fork where I reverted the plugin to use your cordova-plugin-cocoapod-supportx plugin, instead of relying on cordova-ios to manage the pods.
https://github.com/tommy-hartz/cordova-plugin-firebasex/tree/test-pod-plugin
My personal fork solves the issue and builds successfully in my CI, but it is now far behind your repo and a maintenance issue for me. I'd like to move away from this and find a better long term solution. @dpa99c do you have any ideas here?
Expected behavior:
Build should link cocoapods headers and compile successfully via command line with
xcodebuild
.Steps to reproduce:
xcodebuild
Screenshots
Environment information
Cordova CLI version
cordova -v
9.0.0 (cordova-lib@9.0.1)
Cordova platform version
cordova platform ls
Installed platforms:
android 8.0.0
browser 5.0.4
ios 5.1.1
Plugins & versions installed in project (including this plugin)
cordova plugin ls
cordova-plugin-advanced-http 2.1.1 "Advanced HTTP plugin"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-cocoapod-supportx 1.7.3 "Cordova CocoaPods Dependency Support"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-firebasex 8.1.1 "Google Firebase Plugin"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview"
cordova-plugin-network-information 2.0.2 "Network Information"
cordova-plugin-secure-key-store 1.5.4 "SecureKeyStore"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlcipher-adapter 0.4.1 "Cordova sqlcipher adapter"
phonegap-plugin-mobile-accessibility 1.0.5-dev "Mobile Accessibility"
Dev machine OS and version, e.g.
sw_vers
10.14.6
iOS build issue:
node -v
v10.15.3
11.0
Console output
console output
Other information:
Troubleshooting steps attempted:
The text was updated successfully, but these errors were encountered: