iOS builds including phonegap-plugin-push fail with the message "ld: library not found for -lGoogleToolboxForMac". This is caused by the inability of cordova-ios to preserve the pod install if more than one plugin uses cocoapods. The open cordova-ios issue is available at https://issues.apache.org/jira/browse/CB-12582
Step 1: Create a file named
run_pods.sh in the root of your project.
pod install --project-directory='./platforms/ios/'
Step 2: Reference the script in the ios platform in
config.xml using the hook tag shown below.
<hook type="after_platform_add" src="run_pods.sh" />