Skip to content
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

Ionic & capacitor - build fails for IOS but Android works #4

Open
RadoslawPerczynski opened this issue May 26, 2020 · 2 comments
Open

Comments

@RadoslawPerczynski
Copy link

Hi,
I tried to implement this plugin with Ionic 5 & Capacitor. It works on Android but I cannot build the IOS at all.
It constantly says:

❌ /ios/capacitor-cordova-ios-plugins/sources/CordovaPluginZendesk/Zendesk.m:3:9: module 'ZendeskSDK' not found
and the entire build fails.

I was checking here: https://developer.zendesk.com/embeddables/docs/ios_support_sdk/release_notes#5.0.0 and provided ZendeskSDK in Podfile but it doesn't help. Literally nothing helps,

Was this working for IOS before? I am trying to build with XCode 11 but even with XCode 10, the error is always the same.

What am I possibly missing? Thanks in advance.

@jcesarmobile
Copy link

jcesarmobile commented May 26, 2020

The plugin uses cordova-plugin-cocoapods-support as a dependency to configure CocoaPods dependencies instead of using the official Cordova tags.

Capacitor doesn't support those custom tags, there is an issue open for considering it, so add a +1 reaction if you are interested ionic-team/capacitor#2773

But the ideal fix would be for the plugin authors to move to the official syntax

@RadoslawPerczynski
Copy link
Author

RadoslawPerczynski commented Jun 13, 2020

I tried to investigate on my own. Eventually, I was able to build on IOS but I did this only as an out-of-curiosity check. Thanks @jcesarmobile !

I am just giving a hint here and of course, it should be fixed by the plugin's authors.
https://stackoverflow.com/questions/62023530/zendesk-ionic-cordova-plugin-zendesk-doesnt-build-for-ios/62365055#62365055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants