简体   繁体   English

PhoneGap Build 是否支持 iOS SDK 12.1?

[英]Does PhoneGap Build support iOS SDK 12.1?

From the App Store Connect I noticed a message telling me that from March 27, 2019 my applications will have to be built with the iOS 12.1 SDK.在 App Store Connect 中,我注意到一条消息,告诉我从2019 年 3 月 27 日起,我的应用程序将必须使用iOS 12.1 SDK构建

So I searched for the version of Cordova that is compatible with this SDK and found this message on Cordova's blog .于是我搜索了与这个SDK兼容的Cordova版本, 在Cordova的博客上找到了这条消息

I looked for the equivalent at PhoneGap Build and that's where I have a problem.我在 PhoneGap Build 上寻找了等效的东西,这就是我遇到问题的地方。 According to this PhoneGap Build support page , the latest version supported by phonegap is 4.5.5 (iOS 11).根据这个PhoneGap Build support page ,phonegap支持的最新版本是4.5.5 (iOS 11)。

So I come to the information fishery to find out if the Phonegap Build service is ready for this change or if all their users will have to do their build at home?所以我来到信息渔场,想了解 Phonegap Build 服务是否已准备好应对此更改,或者他们的所有用户是否都必须在家中进行构建?

I don't think this is a problem as PhoneGap Build already builds with Xcode version 10.1 .我认为这不是问题,因为PhoneGap Build 已经使用 Xcode 版本 10.1 构建 In the logs of one of my builds in PhoneGap Build I can see the following path:在我的 PhoneGap Build 中的一个构建的日志中,我可以看到以下路径:

/Applications/Xcode101.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS12.1.sdk / /Applications/Xcode101.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS12.1.sdk /

Which to me suggests that PhoneGap Build is already able to build with the iOS 12.1 SDK, which is exactly what Apple is requesting:对我来说,PhoneGap Build 已经能够使用 iOS 12.1 SDK 进行构建,这正是 Apple 所要求的:

As a reminder, starting March 27, 2019 all new apps and app updates for iPhone or iPad, including universal apps, will need to be built with the iOS 12.1 SDK and support iPhone XS Max or the 12.9-inch iPad Pro (3rd generation).提醒一下,从 2019 年 3 月 27 日起,所有适用于 iPhone 或 iPad 的新应用和应用更新,包括通用应用,都需要使用 iOS 12.1 SDK 构建并支持 iPhone XS Max 或 12.9 英寸 iPad Pro(第 3 代) .

I am not sure if you need to target a higher version of PhoneGap to achieve the same results.我不确定您是否需要针对更高版本的 PhoneGap 来实现相同的结果。 The default PhoneGap CLI version is currently 6.5.0, so if you need a higher version add the following to your config.xml :默认 PhoneGap CLI 版本当前是 6.5.0,因此如果您需要更高版本,请将以下内容添加到您的config.xml

<preference name="phonegap-version" value="cli-8.1.1" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM