{"action":"created","issue":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/1268","labels_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1268/comments","events_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1268/events","html_url":"https://github.com/MailCore/mailcore2/issues/1268","id":115847358,"number":1268,"title":"Adding MailCore2 via CocoaPods as a framework","user":{"login":"Isuru-Nanayakkara","id":2551877,"avatar_url":"https://avatars.githubusercontent.com/u/2551877?v=3","gravatar_id":"","url":"https://api.github.com/users/Isuru-Nanayakkara","html_url":"https://github.com/Isuru-Nanayakkara","followers_url":"https://api.github.com/users/Isuru-Nanayakkara/followers","following_url":"https://api.github.com/users/Isuru-Nanayakkara/following{/other_user}","gists_url":"https://api.github.com/users/Isuru-Nanayakkara/gists{/gist_id}","starred_url":"https://api.github.com/users/Isuru-Nanayakkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Isuru-Nanayakkara/subscriptions","organizations_url":"https://api.github.com/users/Isuru-Nanayakkara/orgs","repos_url":"https://api.github.com/users/Isuru-Nanayakkara/repos","events_url":"https://api.github.com/users/Isuru-Nanayakkara/events{/privacy}","received_events_url":"https://api.github.com/users/Isuru-Nanayakkara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-09T10:21:33Z","updated_at":"2016-01-15T22:25:11Z","closed_at":null,"body":"I'm trying to add MailCore2 via CocoaPods to my Swift project. Here's my `Podfile`.\r\n```\r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\n\r\npod 'mailcore2-ios'\r\n```\r\nNotice that I have the `use_frameworks!` flag added which converts it to a framework.\r\n\r\nThe pod installation is successful. No build errors. But then when I try to `import MailCore` in the view controllers, I get a **No such module** error.\r\n\r\nWhat am I missing here? Am I using a wrong module name?"},"comment":{"url":"https://api.github.com/repos/MailCore/mailcore2/issues/comments/172112570","html_url":"https://github.com/MailCore/mailcore2/issues/1268#issuecomment-172112570","issue_url":"https://api.github.com/repos/MailCore/mailcore2/issues/1268","id":172112570,"user":{"login":"SAPessi","id":2996317,"avatar_url":"https://avatars.githubusercontent.com/u/2996317?v=3","gravatar_id":"","url":"https://api.github.com/users/SAPessi","html_url":"https://github.com/SAPessi","followers_url":"https://api.github.com/users/SAPessi/followers","following_url":"https://api.github.com/users/SAPessi/following{/other_user}","gists_url":"https://api.github.com/users/SAPessi/gists{/gist_id}","starred_url":"https://api.github.com/users/SAPessi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SAPessi/subscriptions","organizations_url":"https://api.github.com/users/SAPessi/orgs","repos_url":"https://api.github.com/users/SAPessi/repos","events_url":"https://api.github.com/users/SAPessi/events{/privacy}","received_events_url":"https://api.github.com/users/SAPessi/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T22:25:10Z","updated_at":"2016-01-15T22:25:10Z","body":"I see that you can already product a dynamic framework from the project, you should use the framework in your pod specs - see here: https://blog.cocoapods.org/CocoaPods-0.36/"}}