CocoaPods/CocoaPods — pull request #579 by croach (2012-10-06 03:21:45+00:00)
Title: Make the default target for `platform :osx` the current system's version

Installing AFNetworking is currently not working for platform `:osx` when target isn't defined (issue #578). This is due to the default target being hard coded to a version less than the minimum one that AFNetworking supports. This change makes the default target dynamic; If target is not specified in the podfile, the code will query the system for the current OS X version and use that as its target version, but will fallback to using 10.6 if it fails to get the current system's version. This should be a better default target since it will allow packages that take advantage of the most recent system's benefits to be installed in most cases without specifying the target in the podfile.