iOS build fails to fetch onesignal-cordova-plugin

The OneSignal plugin uses cocoapods to manage dependencies. This can cause errors while generating the iOS platform, or errors during compilation. The issue can be resolved by managing pod installation using the technique described in the following article.