No such module 'Zendesk' when building project on Xcode 14 | Community
Skip to main content

No such module 'Zendesk' when building project on Xcode 14

  • October 25, 2022
  • 3 replies
  • 0 views

장우전

Hi, there

I have been in trouble with zendesk sdk when I try to build my project on Xcode 14 

I set "ZendeskSDKMessaging" in my Podfile to install Zendesk sdk

but "no such module 'zendesk'" error occurs when import Zendesk sdk in my_swift.swift

 

what should I do resolve this issue?

3 replies

Hey,
 
Does this still happen after cleaning the project build and trying again?

Sangyong
  • March 8, 2023

Same thing happens.
The development environment is xcode 14.2 and I used SPM.
(github.com/zendesk/support_sdk_ios)
I tried cleaning the project, deleting DerivedData and rerunning the project, but to no avail.
The binaryTarget in the target of the SPM package file seems to be the cause.
It seems to happen on Xcode 14+. Time is running out. I hope for a quick resolution.
(Please test in the same environment.)


Eric27
  • March 8, 2023
Hey Sangyong,
 
Unfortunately I haven't been able to replicate your issue on 14.2. After deleting the DerivedData did you reboot xcode and reset the package cache? I found a couple of stackoverflow posts that recommend these additional steps.