Search code examples
swiftsmtpmailcore2

No such module 'mailcore'


I had tried to integrate the mailcore2-ios pod for smtp purpose after installation when I tried to give import mailcore it says no such module 'mailcore' even inside that pod file no file directory present but pod file installed. Please any help me for how to resolve this issue.


Solution

  • Please add pod like

    pod 'mailcore2-ios'
    

    Then run a command like pod install after a while it looks like this.

    enter image description here

    if you want to use this pod just write

    import Pods_MailcoreDemo
    

    And you are ready to use.