本文介绍了WatchKit 应用程序提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 WatchKit 创建了一个应用程序.我尝试了三种不同的捆绑标识符:

I have created an app with WatchKit. I have tried with three different bundle identifier:

  1. com.xyz.myappname
  2. com.xyz.myappname.extension
  3. com.xyz.myappname.extensionapp

如果我设置了这个并尝试验证我的应用程序,我会得到扩展应用程序和 WatchKit 应用程序包标识符不匹配.

If I set this and try to validate my app I am getting extension app and WatchKit app bundle identifier does not match.

如果我为两个应用程序保留相同的包标识符,那么我会遇到 CFBundle 标识符冲突.错误如下

If I keep same bundle identifier for both app then I am getting CFBundle identifier collision. Error as follows

CFBundleidentifier 冲突:IOS 应用程序myappname.app

请让我知道出了什么问题以及如何将其设置为在 AppStore 上发布

Please let me know whats going wrong and how to set this to publish on AppStore

推荐答案

今天遇到了同样的问题!

Had the same problem today!

选择您的主要应用目标,然后转到构建阶段.在复制捆绑资源"下,我必须删除APPNAME Watchkit App.app".

Select your main App target, and go to Build Phases. Under "Copy Bundle Resources", I had to remove the "APPNAME Watchkit App.app".

之后,我就可以将我的应用提交到 App Store.

After that, I was able to submit my App to the App Store.

这篇关于WatchKit 应用程序提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 01:03