[PodTargetInstaller] Fixed static analysis in Xcode 6

Closes https://github.com/CocoaPods/CocoaPods/issues/2402