IMFResponse responseWithWLResponse unrecognized selector sent to class

123 Views Asked by At

Similar to this problem.

Below is a snippet from the console.

Timestamp App Name[315:36110] [INFO] [IMFPushClient] -[IMFPushClient registerDeviceToken:completionHandler:] in IMFPushClient.m:70 :: Verifying previous device registration.
IMFAuthorizationManager.m:453 :: There is no cached authorization header, use obtainAuthorizationHeaderWithCompletionHandler to get the header
Timestamp App Name[315:36110] +[IMFResponse responseWithWLResponse:]: unrecognized selector sent to class 0x100101c30
  1. Did not use cocoapod to install IMFCore framework. Reference framework directly.
  2. Added -Objc flag in linker->other linker flags for Project and target.
  3. Problem detected when debugging on iPhone 6+ iOS version 9.2.1.
  4. Cannot recreate issue with Xcode iPhone 6+ simulator iOS version 9.2.

Would appreciate it if anyone could shed some light on my problem. Thank you.

1

There are 1 best solutions below

0
On

As Jason pointed out in his latest comment, please make sure the -ObjC flag under Build Settings>Linking>Other Linker Flags is entered correctly. This value is case sensitive so make sure the O and C are capitalized correctly:

-ObjC