WatchKit 应用程序提交错误 [英] WatchKit App Submission Error

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

问题描述

好的!所以这是交易:

我用 WatchKit 制作了一个应用程序并将其存档,但每次尝试提交时,我都会收到相同的错误:

I have made an app with WatchKit and archived it but every time I try to submit it, I get the same error:

错误 ITMS-90391:缺少图标.没有找到手表应用程序 '********.app/PlugIns/******** WatchKit Extension.apex/***** 的图标*** WatchKit App.app'.请确保其 Info.plist 文件包含 CFBundleIconFiles 条目."

ERROR ITMS-90391: "Missing Icons. No icons found for watch application '********.app/PlugIns/******** WatchKit Extension.apex/******** WatchKit App.app'. Please Make Sure that its Info.plist file includes entries for CFBundleIconFiles."

所有 * 都是我的应用名称所在的位置,出于明显的保密原因,我不想分享该名称.这是我的手表应用程序的 Info.Plist(不是扩展程序,手表应用程序!!!):

All the *'s are where my app name is which I did not want to share for obvious confidentiality reasons. Here is my Watch App's Info.Plist (NOT THE EXTENSION, THE WATCH APP!!!):

这是带有图标的 Watch 应用的资产文件夹(涂黑):

And here is the Watch App's asset folder with the icons (blacked out):

iPhone 应用程序在其自己的资产目录中有自己的图标.这是 Watch 应用目标:

The iPhone App has its own icons in its own asset catalog. Here is the Watch App Target:

归档它不是问题,直到我点击提交到 App Store 这使得错误(如上所示)出现.我有:

Archiving it is not a problem until I hit Submit to App Store which makes the error (as printed above) appear. I have:

清洁使用相同的代码和内容创建一个新项目以尝试修复它重启Xcode等待并再次尝试(很多东西)使用 Xcode 6.2 和 Xcode 6.3 beta 4

Cleaning Making a new project with the same code and stuff to try and fix it Restarting Xcode Waited and tried again (a lot of stuff) Used both Xcode 6.2 and Xcode 6.3 beta 4

我真的很感谢你的帮助!提前致谢!

I REALLY appreciate the help! Thanks in advance!

推荐答案

好的!我不知道为什么它有效,但确实有效.我删除了 Watch App 的 Info.plist 中的 Icon Files 行,并在扩展程序中选择了我的开发团队,并在手机应用程序中选择了手表应用程序.然后我删除了我所有资产目录中的所有图标,然后我重新制作了文件(所有文件都具有唯一的名称)并放置它们.之后,它起作用了!不知道为什么!

Okay! I don't know why it worked but it did. I removed the Icon Files row in the Watch App's Info.plist and i selected my dev team in the extension and watch app as it was in the phone app. Then I got rid of all my icons in all of my asset catalogs and then I remade the files (all with unique names) and put them. After that, it worked! NO idea why!

感谢 Songchenwen 的帮助!希望这对某人有所帮助!

Thanks songchenwen for trying to help! Hope this helps someone!

(顺便说一句,您应该在 App Store 上搜索 Nerdy Lime 以找到我的应用程序)

(By the way you should search Nerdy Lime on the App Store to find my apps)

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

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