Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Catalyst app info.plist not being recognized

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?

like image 900
Michael Rowe Avatar asked Jan 02 '20 23:01

Michael Rowe


People also ask

What happened to the Info plist?

plist is gone. It's not a bug. According to the Xcode 13 release notes: “Projects created from several templates no longer require configuration files such as entitlements and Info.

How do I add custom properties to target iOS?

Project -> Target -> Info, and you can find a "Custom iOS Target Properties". You can also set your property list here, and this work just fine for me.

How do I edit Info plist on Mac?

plist file. If you need to edit these items, Control-click (or right-click) Info. plist in the sidebar and select Edit Manually. This allows you to add or edit items in raw XML format.


2 Answers

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

<key>LSApplicationCategoryType</key>
<string>public.app-category.business</string>
like image 175
ios23 Avatar answered Sep 28 '22 02:09

ios23


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.

like image 26
graceyj20 Avatar answered Sep 28 '22 00:09

graceyj20