CocoaPods/CocoaPods — pull request #710 by et1337 (2012-12-28 17:46:42+00:00)
Title: Fix a bug when a local podspec is used by multiple targets with different platforms

Here's what happened:

1. Created a Podfile with two targets, the default one (iOS) and another exclusive one (OS X 10.7).
1. Both targets reference a local podspec that requires different frameworks to be linked for iOS and OS X (the source code itself is not necessarily local).
1. CocoaPods generates separate xcconfig files for each target, but the frameworks are the same in both files. (In my case, they both had the OS X frameworks)

This change fixed the issue for me. Probably not the most elegant way to solve the problem, but probably the easiest and least likely to break anything.