[iOS] Resolving Conflicts Between 'Facebook-iOS-SDK' Installed via CocoaPod and 'FacebookSDK.framework'

Tadashi Shigeoka ·  Mon, January 27, 2014

In iOS app development, there were cases where both “Facebook-iOS-SDK” installed via CocoaPod and “FacebookSDK.framework” existed in the project.

This is because when installing the “Parse” library via CocoaPod, “Facebook-iOS-SDK” gets installed as a dependency.

Since the project wants to use the directly loaded “FacebookSDK.framework” instead of the CocoaPod-installed “Facebook-iOS-SDK”, we need to exclude “Facebook-iOS-SDK” from the build target.


Setting to Exclude Facebook-iOS-SDK from Build Target

  1. Select the Pods project
  2. Display TARGETS
  3. Right-click on Pods-Facebook-iOS-SDK
  4. Click Delete

delete-Pods-Facebook-iOS-SDK-from-targets

After that, just build Pods as usual and you’re good to go.

That’s all from the Gemba.