-
Notifications
You must be signed in to change notification settings - Fork 82
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
Type 'Intercom' has no member XXX #96
Comments
I'm having the exact same issue! Any progress ? |
Not yet, trying everything in the book. If you find a solution, please post it here. I will do the same. Update: |
The Intercom SDK was changed , you need for the moment change the controller swift |
@nseb How and where should the controller swift be changed? |
Downgrading Intercom dependency seems to be a good hack. You'd have to modify node_modules...CapacitorCommunityIntercom.podspec for this.
Hopefully a better solution is presented. |
Here my code : Import Foundation /**
#if DEBUG
} |
Same issue when building via Ionic Appflow, any updates? |
@maylorsan my code above work this code with the latest Intercom sdk IOS |
Hello @nseb, Thank you for sharing your solution! However, directly modifying the source files of installed libraries isn't a viable long-term solution for our use case due to our continuous deployment setup with Ionic Appflow. Can you contribute your solution directly to this plugin? |
Observations:
Hypothesis:It seems plausible that the error in question occurs when building with a version of Xcode that is older than 15. Could this be the root cause of the build failure issues we're observing? |
I'm on Xcode 15, encountering the same issue. It appears to be contingent on the pod version. When I updated to 1.13.0, I ran into this problem. |
@ArtBoguslavskiy I and my team have pod 1.13.0 locally, and everything works well, but with pod 1.12.1 in Ionic Appflow, the build fails. |
For your information , I use XCode 15 |
I'm using Ionic in conjunction with the Capacitor plugin @capacitor-community/intercom v5.0.0. Initially, after I reinstalled the plugin, the build process was successful. However, on the second build attempt, it crashed. Upon inspecting the PodFile, I noticed that the Intercom version specified was 16.0.3. When I downgraded it to version 15.2.3, as suggested by @stwalez, the build succeeded. However, I observed that in Xcode, many of the methods appeared to be deprecated. This appears to be a potential issue, and I suspect that the problem may be related to the usage of new methods introduced in version 16 of Intercom. |
Please update "Podfile" under
this should help to avoid "hardcoding" |
@juandl works for me!Thank you ❤️ |
@juandl you are Awesome !!!! where do i send the check !!!! hopefully a new version of this component will be released to lock down the version or support the latests. this actually causes historical code and builds to break .. even though no code changes were made. not good. |
Solution worked for me! Thanks! It was a major blocker. |
@brennanbatalla I resolved the issue by ensuring the pod actually got updated given for me it was stuck with the wrong version in the existing
Do |
In the latest build (version: 16.5.8) this presenter has been renamed to Intercom.present() |
Describe the bug
After upgrading this plugin to 5.0.0 my ios package fails to build.
Shows three errors:
Expected behavior
The package builds correctly
Screenshots
The text was updated successfully, but these errors were encountered: