1

I'm using

[PFFacebookUtils loginInbackgroundWithReadPermission ... 

to log in my user.

However, I received this error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[FBSDKInternalUtility validateURLSchemes]: unrecognized selector sent to class 0x10b695e40'

I have looked through all the header files; but I just cannot find a class named as FBSDKInternalUtility. Before the upgrade of Parse 1.7.2 and Facebook SDK v4, my log in system works perfectly.

Please help.

xpeng
  • 23
  • 4
  • `PFFacebookUtils loginInBackgroundWithReadPermission` work correctly for me even after migrating to FB SDK v4. Do you import all of these: ``, `` and `` in the .m where you call this method? – Gyfis May 17 '15 at 08:37
  • Did you ever figure this one out, OP? – swiftyboi Jul 01 '16 at 17:55

1 Answers1

0

It seems like you haven't added FBSDKCoreKit.framework to your project. Add the framework and make sure that you add #import <FBSDKCoreKit/FBSDKCoreKit.h> to your file.

bangdel
  • 2,523
  • 5
  • 28
  • 42