How to set URLSchemes for facebook ios sdk

I spent the whole day on this problem and did not find any good answer after several hours of searching and debugging. I finally solved the problem and I will share it here.

The facebook-ios-sdk configuration documentation shows how to configure the URL scheme, which is used to return the user to your application after authorization. Something like fb12087732691 ...

Unfortunately, they use the old version of Xcode, and the graphical interface looks like this:

enter image description here

In fact, using Xcode 4+, this is:

enter image description here

Hope this saves someone a few hours of their lives !!!

+4
source share
1 answer

Your project has an AppName-Info.plist file . Open it and you will find similar things. It is universal for Xcode4 + (as far as I know).

0
source

All Articles