Building to iOS from Cordova Tools using old version of iOS platform

半腔热情 提交于 2019-12-11 13:50:35

问题


When targeting iPhone 6 as my simulator the incorrect splash screen is loaded which is forcing the WebView to upscale.

I can navigate into the cordova project on OSX in the remote-builds folder which allows me to discover that the iOS platform version cordova is using is 3.6.3, where the latest is 3.7 which has the fixes for iOS8 and splash screens for iPhone 6.

I need to be able to tell the remote agent to use the new platform to build, not the old one. Is that even possible? Do I need to wait for a new version of the remote agent / cordova tools for VS?


回答1:


Steps to manually update the Cordova version in Visual Studio is documented here. Refer the section "To update vs-mda-remote on your Mac to a different version of Cordova". Please note that Visual Studio CPT3.0 support Cordova CLI 4.0.0, you can find more info on CPT3.0 here



来源:https://stackoverflow.com/questions/27137528/building-to-ios-from-cordova-tools-using-old-version-of-ios-platform

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!