`preferred_dependency` has been renamed to `default_subspec`

`preferred_dependency` has been renamed to `default_subspec` in the latest versions of CocoaPods.