{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1683","repository_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1683/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1683/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1683/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1683","id":161226323,"number":1683,"title":"Use of undeclared type 'JSQMessagesCollectionView' in Swift","user":{"login":"fiberzap","id":18732365,"avatar_url":"https://avatars.githubusercontent.com/u/18732365?v=3","gravatar_id":"","url":"https://api.github.com/users/fiberzap","html_url":"https://github.com/fiberzap","followers_url":"https://api.github.com/users/fiberzap/followers","following_url":"https://api.github.com/users/fiberzap/following{/other_user}","gists_url":"https://api.github.com/users/fiberzap/gists{/gist_id}","starred_url":"https://api.github.com/users/fiberzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiberzap/subscriptions","organizations_url":"https://api.github.com/users/fiberzap/orgs","repos_url":"https://api.github.com/users/fiberzap/repos","events_url":"https://api.github.com/users/fiberzap/events{/privacy}","received_events_url":"https://api.github.com/users/fiberzap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/labels/questions%20&%20help","name":"questions & help","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-20T15:39:39Z","updated_at":"2016-06-24T21:03:36Z","closed_at":null,"body":"Hi,\r\nI've been stuck on this error for a few days. I used to run into the same problem with JSQMessagesViewController but adding the following line:\r\nimport JSQMessagesViewController\r\nto the offending code fixed the problem even though I already have JSQMessages.h in the bridging header.\r\n\r\nBut adding the line:\r\nimport JSQMessagesCollectionView\r\nto the code produces the following error:\r\n'No such module JSQMessagesCollectionView'\r\n\r\nThe bridging header is fine because there are other frameworks that works well in the project. The framework search paths have been added properly.\r\nWhen I Option-Click on JSQMessageCollectionView on the code, it CAN successfully open to the correct header file, meaning that it is linked correctly.\r\n\r\nI have no idea what is wrong. Any suggestion?\r\n"},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/228461444","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1683#issuecomment-228461444","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1683","id":228461444,"user":{"login":"MacMeDan","id":6182351,"avatar_url":"https://avatars.githubusercontent.com/u/6182351?v=3","gravatar_id":"","url":"https://api.github.com/users/MacMeDan","html_url":"https://github.com/MacMeDan","followers_url":"https://api.github.com/users/MacMeDan/followers","following_url":"https://api.github.com/users/MacMeDan/following{/other_user}","gists_url":"https://api.github.com/users/MacMeDan/gists{/gist_id}","starred_url":"https://api.github.com/users/MacMeDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacMeDan/subscriptions","organizations_url":"https://api.github.com/users/MacMeDan/orgs","repos_url":"https://api.github.com/users/MacMeDan/repos","events_url":"https://api.github.com/users/MacMeDan/events{/privacy}","received_events_url":"https://api.github.com/users/MacMeDan/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T21:03:35Z","updated_at":"2016-06-24T21:03:35Z","body":"Hey @fiberzap I don't think that you actually need to add it to your bridging header file. If your project is completely written in swift you can import it as a pod and reference it like normal. I would suggest getting rid of your bridging header, cleaning and even removing the pod do a `pod install` build. Then add the pod back and `pod install` again. also you may want to run a `pod update` because the laters version of pods no longer does that by default when you do a `pod install`. Let me know if that helps 🖖🏽"}}
{"actor":{"display_login":"MacMeDan"}}