{"action":"closed","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1225","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1225/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1225/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1225","id":108323664,"number":1225,"title":"NSInvalidArgumentException - [UIImage jsq_bubbleCompactImage]: unrecognized selector sent to class","user":{"login":"benbellity","id":8978261,"avatar_url":"https://avatars.githubusercontent.com/u/8978261?v=3","gravatar_id":"","url":"https://api.github.com/users/benbellity","html_url":"https://github.com/benbellity","followers_url":"https://api.github.com/users/benbellity/followers","following_url":"https://api.github.com/users/benbellity/following{/other_user}","gists_url":"https://api.github.com/users/benbellity/gists{/gist_id}","starred_url":"https://api.github.com/users/benbellity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbellity/subscriptions","organizations_url":"https://api.github.com/users/benbellity/orgs","repos_url":"https://api.github.com/users/benbellity/repos","events_url":"https://api.github.com/users/benbellity/events{/privacy}","received_events_url":"https://api.github.com/users/benbellity/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":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T13:12:43Z","updated_at":"2016-01-20T21:17:41Z","closed_at":"2016-01-20T21:17:41Z","body":"Hello, and sorry to bother, but I keep having this issue on my iOS9 project and couldn't manage to resolve it. It's an NSInvalidArgumentException that I get when i try to create a bubble with this code : \r\n\r\n````\r\nlet outgoingBubble = JSQMessagesBubbleImageFactory().outgoingMessagesBubbleImageWithColor(UIColor.jsq_messageBubbleGreenColor())\r\n````\r\n\r\nIt builds fine but when running the App the following NSInvalidArgumentException comes when the above code is executed.\r\nHere is the log regarding this exception :\r\n\r\n````\r\nTerminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIImage jsq_bubbleCompactImage]: unrecognized selector sent to class 0x10ee31520'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000010ddedf65 __exceptionPreprocess + 165\r\n\t1   libobjc.A.dylib                     0x000000010f649deb objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x000000010ddf648d +[NSObject(NSObject) doesNotRecognizeSelector:] + 205\r\n\t3   CoreFoundation                      0x000000010dd43f7a ___forwarding___ + 970\r\n\t4   CoreFoundation                      0x000000010dd43b28 _CF_forwarding_prep_0 + 120\r\n\t5   CoopL                               0x000000010bb7e39e -[JSQMessagesBubbleImageFactory init] + 46\r\n\t6   CoopL                               0x000000010bb79120 _TTOFCSo29JSQMessagesBubbleImageFactorycfMS_FT_GSQS__ + 16\r\n\t7   CoopL                               0x000000010bb79017 _TFCSo29JSQMessagesBubbleImageFactoryCfMS_FT_GSQS__ + 71\r\n\t8   CoopL                               0x000000010bb78494 _TFC5CoopL22ChatTestViewControllercfMS0_FT7nibNameGSqSS_6bundleGSqCSo8NSBundle__S0_ + 164\r\n\t9   CoopL                               0x000000010bb7890d _TToFC5CoopL22ChatTestViewControllercfMS0_FT7nibNameGSqSS_6bundleGSqCSo8NSBundle__S0_ + 173\r\n\t10  CoopL                               0x000000010bb76e80 _TTOFCSo25JSQMessagesViewControllercfMS_FT_S_ + 16\r\n\t11  CoopL                               0x000000010bb73d37 _TFCSo25JSQMessagesViewControllerCfMS_FT_S_ + 71\r\n\t12  CoopL                               0x000000010bb61a75 _TFC5CoopL18HomeViewController14btnChatPressedfS0_FPSs9AnyObject_T_ + 37\r\n\t13  CoopL                               0x000000010bb61b76 _TToFC5CoopL18HomeViewController14btnChatPressedfS0_FPSs9AnyObject_T_ + 54\r\n\t14  UIKit                               0x000000010e19c1fa -[UIApplication sendAction:to:from:forEvent:] + 92\r\n\t15  UIKit                               0x000000010e300504 -[UIControl sendAction:to:forEvent:] + 67\r\n\t16  UIKit                               0x000000010e3007d0 -[UIControl _sendActionsForEvents:withEvent:] + 311\r\n\t17  UIKit                               0x000000010e2ff906 -[UIControl touchesEnded:withEvent:] + 601\r\n\t18  UIKit                               0x000000010e206aa3 -[UIWindow _sendTouchesForEvent:] + 835\r\n\t19  UIKit                               0x000000010e207691 -[UIWindow sendEvent:] + 865\r\n\t20  UIKit                               0x000000010e1b9752 -[UIApplication sendEvent:] + 263\r\n\t21  UIKit                               0x000000011f124a55 -[UIApplicationAccessibility sendEvent:] + 77\r\n\t22  UIKit                               0x000000010e194fcc _UIApplicationHandleEventQueue + 6693\r\n\t23  CoreFoundation                      0x000000010dd1a0a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17\r\n\t24  CoreFoundation                      0x000000010dd0ffcc __CFRunLoopDoSources0 + 556\r\n\t25  CoreFoundation                      0x000000010dd0f483 __CFRunLoopRun + 867\r\n\t26  CoreFoundation                      0x000000010dd0ee98 CFRunLoopRunSpecific + 488\r\n\t27  GraphicsServices                    0x0000000112038ad2 GSEventRunModal + 161\r\n\t28  UIKit                               0x000000010e19a676 UIApplicationMain + 171\r\n\t29  CoopL                               0x000000010bad9b9d main + 109\r\n\t30  libdyld.dylib                       0x000000011017e92d start + 1\r\n\t31  ???                                 0x0000000000000001 0x0 + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n````\r\n\r\nThank you in advance for your help\r\nAll the best\r\nBenjamin"}}