Hi Intercom Team,
After updating our app to Intercom iOS SDK 19.3.2, several developers on our team have encountered issues where Swift methods (e.g. loginUser(with:), logout(), etc.) are no longer properly inferred or recognized by the compiler.
Details
-
Integration: Swift Package Manager (official
intercom-ios-sprepo) -
Project Type: Pure Swift (no Objective-C bridging)
-
Issue: Xcode only exposes the Objective-C versions of the APIs (e.g.
loginUserWithUserAttributes:success:failure:). -
Error Messages:
-
“Cannot infer type of function call”
-
“No exact matches in call to function 'loginUser'”
-
-
Troubleshooting Tried
-
Cleared DerivedData and SPM caches
-
Removed and re-added the Intercom package
Could you please confirm:
-
The officially supported Xcode versions for SDK 19.3.0?
-
Whether there’s a known issue or upcoming patch related to this Swift interface mismatch when using SPM?
