Ionic Pro build doesn’t work with following error. Please help.
Discovered plugin "phonegap-plugin-push" in config.xml. Adding it to the project
Installing "phonegap-plugin-push" for android
Subproject Path: CordovaLib
Installing "phonegap-plugin-push" for browser
Installing "phonegap-plugin-push" for ios
Failed to install 'phonegap-plugin-push': undefined
Failed to restore plugin "phonegap-plugin-push" from config.xml. You might need to try adding it again. Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/
Update IOS build setting SWIFT_OBJC_BRIDGING_HEADER to: "$(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h" for build configuration Debug
Update IOS build setting SWIFT_OBJC_BRIDGING_HEADER to: "$(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h" for build configuration Release
Update IOS build setting ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to: YES for build configuration Debug
Update SWIFT version to 3.0 Debug
Update IOS build setting SWIFT_OPTIMIZATION_LEVEL to: -Onone for build configuration Debug
Update IOS build setting ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to: YES for build configuration Release
Update SWIFT version to 3.0 Release
Found that the build is failed due to the CocoaPod version of Ionic is incompatible with the latest phonegap-plugin-push. The log is shown as below.
Can Ionic update the CocoaPod ASAP?
Installing "phonegap-plugin-push" for ios
Failed to install 'phonegap-plugin-push': undefined
Failed to restore plugin "phonegap-plugin-push" from config.xml. You might need to try adding it again. Error: CocoaPods was not found. Please install version 1.0.1 or greater from https://cocoapods.org/
As I didn’t post it before in this topic:
Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these: