Error Deploying iOS App in VS Mac 2022 -- The Target ValidateAppStoreBundle does not exist in the project

rsbepvb 1 Reputation point
2022-09-20T20:17:40.707+00:00

I would appreciate any thoughts or suggestions from anyone who has had and resolved this error. I am trying to deploy an iOS app on .net maui on VS 2022 for Mac (most update version).

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
{count} votes

1 answer

Sort by: Most helpful
  1. rsbepvb 1 Reputation point
    2022-09-21T09:03:59.48+00:00

    WenyanZhang-MSFT, the error message is as noted above: "Publishing Failed. The Target ValidateAppStoreBundle does not exist in the project."

    Xcode version is 13.4.1. I am unable to run Xcode 14 yet since .net Maui has not bee updated to work with the newest version.
    Visual Studio for Mac version 17.4 (build 1583). See https://github.com/xamarin/xamarin-macios/issues/15954#issuecomment-1253144541

    Error occurs when trying to upload to App store after Archiving from VS. I note that I can deploy to Appstore from the command line by building withdotnet publish -f:net6.0-ios -c:Release and then uploading with transporter.