简体   繁体   English

主应用目标和应用的扩展版本号应该相同?

[英]Main App target and app's extension build number should be same?

In one app, I have 2 more extensions with their respective certificate as well as Provisioning profile. 在一个应用程序中,我还有2个扩展程序及其各自的证书以及Provisioning配置文件。 So at the time of uploading the build on App store, All three target should have the same build number or not. 因此,在App Store上传构建时,所有三个目标应该具有相同的构建号。 Please help me. 请帮我。 Thanks in advance. 提前致谢。

所有目标版本号应与主项目的目标相同。

CFBundleVersion and CFBundleShortVersionString should be same for Extension target (*.appex) and its containing iOS app. 扩展目标(* .appex)及其包含的iOS应用程序的CFBundleVersion和CFBundleShortVersionString应该相同。 Otherwise, warning will be thrown when you upload the build to appstore. 否则,将构建上载到appstore时将引发警告。

Warning will be like 警告就像

CFBundleVersion Mismatch - The CFBundleVersion value '1' of extension 'main.app/PlugIns/extension.appex' does not match the CFBundleVersion value '1.0.3' of its containing iOS application 'main.app'. CFBundleVersion Mismatch - 扩展名“main.app/PlugIns/extension.appex”的CFBundleVersion值“1”与其包含的iOS应用程序“main.app”的CFBundleVersion值“1.0.3”不匹配。

CFBundleShortVersionString Mismatch - The CFBundleShortVersionString value '1.0' of extension 'main.app/PlugIns/extension.appex' does not match the CFBundleShortVersionString value '1.0.3' of its containing iOS application 'main.app'. CFBundleShortVersionString不匹配 - 扩展名“main.app/PlugIns/extension.appex”的CFBundleShortVersionString值“1.0”与其包含的iOS应用程序“main.app”的CFBundleShortVersionString值“1.0.3”不匹配。

After you've corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect. 纠正问题后,您可以使用Xcode或Application Loader将新二进制文件上传到iTunes Connect。

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

相关问题 我应该为应用程序和今天的扩展小部件使用相同的版本号吗 - Should I have same version number for app and today extension widget 如何检测代码是否在主应用程序或应用程序扩展目标中运行? - How to detect if code is running in Main App or App Extension Target? 从扩展目标访问主App类 - iOS - Accessing main App class from extension target - iOS Jenkins iOS Build - 将Jenkins内部版本编入app的主plist文件中 - Jenkins iOS Build - Inject Jenkins build number into app's main plist file iOS测试目标无法识别主应用程序的文件 - iOS test target not recognizing main app's files XCode 同时调试主应用程序和今日扩展 - XCode debug main app & today extension at same time 有什么方法可以在主应用程序和扩展中对Firebase使用相同的匿名身份验证? - Is there any way to use the same anonymous authentification for Firebase in main App and extension? 如何自动设置 Watchkit 应用程序目标的版本和内部版本号 - How to automatically set the version and build number of a Watchkit app target 是否可以从扩展名的主应用程序访问文件? - is it able to access the file from main app in it's extension? 无法找到使用主应用程序目标构建自己的框架目标的正确方法 - Can't find the right way to build my own framework target with my main app target
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM