Catalyst app info.plist not being recognized
Asked Answered
T

5

15

I am trying to submit my first catalyst app to the Mac App Store. I have setup the App Store information in iTunes Connect, and I have confirmed that the info.plist in app has the following key in it:

<key>LSApplicationCategory</key>
    <string>public.app-category.business</string>

However when I go to upload to the app store I get the message that I need to add the LSApplicationCategory

ERROR ITMS-90242: "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"."

I have confirmed that both public.app-category.business is correct, and I have also tried using the value "Business". I get the same error message. Is there something else I need to look at?

Tubbs answered 2/1, 2020 at 23:18 Comment(0)
M
22

The key which you are adding to .plist file is wrong. Add below key-value pair. Full list here.

<key>LSApplicationCategoryType</key>
<string>public.app-category.business</string>
Mozza answered 23/7, 2020 at 14:22 Comment(1)
Full list here for anyone struggling with values: developer.apple.com/documentation/bundleresources/…Allyson
D
8

slicerdicer's recommendation worked for me. To add some additional detail, you can also set the App Category by going to Project / Targets / General. It's the very first option.

Dias answered 28/3, 2020 at 12:45 Comment(1)
This is the correct one. I ws manually adding it in plist and it ws failing.Freespoken
G
4

I had sucsessfuly upload two apps using catalyst then the third failed with that error. I found this and seemed to work.

To the info.plist add App Catagory with what ever catagory your app fits. I used Productivity.

Gauss answered 23/3, 2020 at 21:27 Comment(0)
I
3

2023

Project -> Target -> General -> Identity -> fill App Category

enter image description here

Infirm answered 22/8, 2023 at 1:56 Comment(1)
Adding an App Category is a good idea. Adding solved the problem.Bedrabble
P
0

I was converting an iOS app to a Mac app, and I was updating the file info.plist, and it was not actually updating the overarching project.

I ended up having to go to the overarching project, under the left side TARGETS tab, I selected my app, went to the Info tab, and added the App Category there.

Punish answered 25/10, 2021 at 1:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.