使用旧版本的 iOS 平台从 Cordova 工具构建到 iOS [英] Building to iOS from Cordova Tools using old version of iOS platform

查看:22
本文介绍了使用旧版本的 iOS 平台从 Cordova 工具构建到 iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将 iPhone 6 定位为我的模拟器时,加载了错误的初始屏幕,这迫使 WebView 升级.

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

我可以在远程构建文件夹中导航到 OSX 上的cordova 项目,这让我发现cordova 使用的iOS 平台版本是3.6.3,其中最新的是3.7,它修复了iOS8 和闪屏适用于 iPhone 6.

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.

我需要能够告诉远程代理使用新平台来构建,而不是旧平台.这甚至可能吗?我需要等待 VS 的远程代理/cordova 工具的新版本吗?

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?

推荐答案

记录了在 Visual Studio 中手动更新 Cordova 版本的步骤 此处.请参阅将 Mac 上的 vs-mda-remote 更新为不同版本的 Cordova"部分.请注意,Visual Studio CPT3.0 支持 Cordova CLI 4.0.0,您可以在 此处找到有关 CPT3.0 的更多信息

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

这篇关于使用旧版本的 iOS 平台从 Cordova 工具构建到 iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆