The iOS app was not working because there was a plugin missing:git
https://github.com/apache/cordova-plugin-network-information/blob/master/doc/index.mdgithub
添加cordova-plugin-network-information,後build後問題解決apache