Problems installing iOS for iPhone iOS 3.1.1 3.1.1

I find it difficult to connect the new Facebook SDK. I followed this walkthrough and was very surprised that the actual .pkg installation is required for this version of the SDK. Not only this, but the SDK should refer to the project (not copied to it). So what happens if someone checks the working copy of the project and doesn't have the installation in the exact same relative path? In addition, I’m having difficulty setting the SDK path, so it works even if the collaborators have an SDK installed on the same relative path (the SDK was not found and needs to be bound for each commit).

This is a huge inconvenience, and I was wondering if anyone would ever deal with this problem. I tried to copy resources to the project, but not a cube (does not build).

Thanks for your time and effort.

+4
source share
2 answers

Find out the solution: add "~ / Documents / FacebookSDK / to the target" Search paths on the platform ", and set" Always search for user paths "to" Yes ".

+1
source

In fact, you can connect the Facebook SDK 3.1.1 from sources.

Just get the sources from https://github.com/facebook/facebook-ios-sdk , then add the "src /" folder to the project. And you have to delete the folders "tests" and "package", they are not needed.

Other steps (adding frameworks, linker flags) should be performed in accordance with the manual. Hope this helps.

+2
source

Source: https://habr.com/ru/post/1444525/


All Articles