iOS扩展:是否需要增加其捆绑版本(CFBundleVersion)?

前端之家收集整理的这篇文章主要介绍了iOS扩展:是否需要增加其捆绑版本(CFBundleVersion)?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我是否必须在我的扩展程序的Info.plist中增加CFBundleVersion以确保它覆盖现有的?或者,如果在主应用程序的Info.plist中这样做就足够了?

我正在进行今天的扩展,但我想这个问题适用于所有嵌入式二进制文件.

解决方法

我认为Apple实际上更喜欢App Extensions使用与它们所包含的app相同的捆绑版本.这是我从iTunes Connect获得的每封邮件的电子邮件

We have discovered one or more issues with your recent delivery for
“Awesome App”. Your delivery was successful,but you may wish to
correct the following issues in your next delivery:

CFBundleVersion Mismatch – The CFBundleVersion value ’94’ of extension
‘Awesome App.app/PlugIns/Awesome App Today Extension.appex’ does not
match the CFBundleVersion value ’99’ of its containing iOS application
‘Awesome App.app’.

CFBundleShortVersionString Mismatch – The CFBundleShortVersionString
value ‘1.0’ of extension ‘Awesome App.app/PlugIns/Awesome App Today
Extension.appex’ does not match the CFBundleShortVersionString value
‘1.3.0’ of its containing iOS application ‘Awesome App.app’.

After you’ve corrected the issues,you can use Xcode or Application
Loader to upload a new binary to iTunes Connect.

我可以忽略这些警告和构建通过审查,但这可能是iTunes Connect中的错误或数字应该相同.这实际上没有意义,因为扩展不一定会以相同的应用速率更新.无论如何

原文链接:https://www.f2er.com/iOS/331005.html

猜你在找的iOS相关文章