Xcode报错:The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key
Xcode报错:The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key

Xcode报错:The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key

在打包Xcode应用时,发现Xcode报错:

The product archive is invalid. The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see "Submitting your Mac apps to the App Store". (ID: 732b7d3a-17c6-4629-ad7e-d7e867431524)

报错的内容表示:

Info.plist 缺少了 LSApplicationCategoryType 这个键,它是 App Store 必须填写的应用分类字段。

解决方案

选择Xcode项目,找到TARGETS – General – Identity的App Category字段:

选择应用的应用类型,选择完成后,重新打包应用,不会再弹出提示。

应用类型

1、None:无

2、Books:图书

3、Business:商业

4、Developer Tools:开发者工具

5、Education:教育

6、Entertainment:娱乐

7、Finace:金融

8、Food & Drink:餐饮

9、Games:游戏

10、Games – Action Games:动作游戏

11、Games – Aventure Games:冒险游戏

12、Games – Arcade Games:街机游戏

13、Games – Board Games:棋牌游戏

14、Games – Card Games:卡牌游戏

15、Games – Casino Games:赌场游戏

16、Games – Dice Games:骰子游戏

17、Games – Educational Games:益智游戏

18、Games – Kids Games:儿童游戏

19、Games – Music Games:音乐游戏

20、Games – Puzzle Games:益智游戏

21、Games – Racing Games:赛车游戏

22、Games – Role Playing Games:角色扮演游戏

23、Games – Simulation Games:模拟游戏

24、Games – Sports Games:体育游戏

25、Games – Strategy Games:策略游戏

26、Games – Trivia Games:问答游戏

27、Games – Word Games:文字游戏

28、Graphic & Design:平面设计

29、Healthcard & Fitness:健身卡与健身

30、Lifestyle:生活方式

31、Magazines & Newspapers:杂志与报纸

32、Medical:医疗

33、Music:音乐

34、Navigation:导航

35、News:新闻

36、Photography:摄影

37、Productivity:生产力

38、Reference:参考

39、Shopping:购物

40、Social Networking:社交网络

41、Sports:体育

42、Travel:旅行

43、Utilities:实用程序

44、Video:视频

45、Weather:天气

   

如果您认为这篇文章给您带来了帮助,您可以在此通过支付宝或者微信打赏网站开发者。

欢迎加入我们的 微信交流群QQ交流群,交流更多精彩内容!
微信交流群二维码 QQ交流群二维码

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注