0

Please find the below error for more information.

Objective-C method 'client:didReceiveStatus:' provided by method 'client(:didReceiveStatus:)' conflicts with optional requirement method 'client(:didReceiveStatus:)' in protocol 'PNObjectEventListener'

After PubNub pod installation when I implement the method in swift 2.0 using Xcode 7.1 then this error occur. How I can resolve it?

Ramkrishna Sharma
  • 6,961
  • 3
  • 42
  • 51
Shahbaz Akram
  • 1,598
  • 3
  • 28
  • 45
  • Can you include some code or something? Is this being generated during `pod install`? Or within your application's code? – gurooj Mar 01 '16 at 18:34
  • 1
    Also what version of PubNub are you using? That method was changed in later versions and is inconsistent with current documentation if you are copying and pasting from PubNub's sample code. – gurooj Mar 01 '16 at 18:41

0 Answers0