我有一个简单的Cordova项目,是1.5年前创建的。几个月前我将其编译为Android设备时可以运行。
现在我尝试将其编译成iOS设备,但是Cordova编译iOS失败了。
现在我尝试将其编译成iOS设备,但是Cordova编译iOS失败了。
Discovered plugin "InAppBrowser" in config.xml. Adding it to the project
Failed to restore plugin "InAppBrowser" from config.xml. You might need to try adding it again. Error: Error: Registry returned 404 for GET on https://registry.npmjs.org/InAppBrowser
Discovered plugin "Network Information" in config.xml. Adding it to the project
Failed to restore plugin "Network Information" from config.xml. You might need to try adding it again. Error: Error: Invalid package.json
Building project: /Users/user1/projectname/platforms/ios/projectname.xcworkspace
MacBook, Sierra, Xcode 8.1
npm版本 { npm: '3.10.9', ares: '1.10.1-DEV', http_parser: '2.7.0', icu: '57.1', modules: '48', node: '6.9.2', openssl: '1.0.2j', uv: '1.9.1', v8: '5.1.281.88', zlib: '1.2.8' }
cordova版本6.5.0
我的config.xml中写道:
-->
我注释掉了第一个,但第二个也不起作用。