Distribution failed with errors When developing ios App

Posted by yaohong on Thursday, February 23, 2023

TOC

Distribution failed with errors When developing ios App

Distribution failed with errors:

Asset validation failed

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: 67f59c1b-bb08-4694-978f-11d07ff31357)

Solve this issue by add following codes on <project root folder>/macos/Runner/Info.plist:

    <key>LSApplicationCategoryType</key>
    <string>public.app-category.productivity</string>

the value of LSApplicationCategoryType refer https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype

「点个赞」

Yaohong

点个赞

使用微信扫描二维码完成支付