I try to add FacebookSDK framework and GoogleSDK api. But when i adding these kind of framework in xcode by dragging/add from target.*I got error.**ld: framework not found GoogleAppUtilities clang: error: linker command failed with exit code 1 (use -v to see invocation)* and Pod installation got error too...
Asked
Active
Viewed 535 times
1 Answers
0
You should try pod for installation these type of framework because download SDK for each site (fb,Google) having all network stuff for working independently. So when you add or use any of two framework in same project they conflict with each other. Pod is the best way to manage framework dependency.

Ravi Raja Jangid
- 795
- 9
- 16
-
I tried by pod installation. Installation was done but no luck.......GOT ERROR...... – Trena Nov 17 '16 at 11:43
-
first delete these four in you project root folder 1, podfile.lock, 2. pod folder, 3 newly created workspace 4. Podfile. after that init pod again in your project and add all required pod link in your pod file and then run pod install command. – Ravi Raja Jangid Nov 18 '16 at 11:21
-
I got warning and xcworkspace is not created . Warning : "[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pods being used are: FacebookCore and FacebookLogin" – Trena Nov 20 '16 at 09:49