Open Closed

Archive iOS version of MAUI app fails #5920


User avatar
0
darutter created
  • ABP Framework version: v7.3.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Assets file <projectPath>/<project>.Domain.Shared/obj/project.assets.json doesn't have a target for 'net7.0-ios'. Ensure that restore has run and that you have included 'net7.0-ios' in the TargetFramworks for your project.

This error occurs when I attempt to archive the iOS version of the MAUI app. This same issue has happened in previous versions of abp.io. How can I successfully archive my MAUI app using Visual Studio for Mac?

I can create an .ipa file using the dotnet publish command, but the archive that gets generated is failing once it is deployed to the app store. According to other sources Visual Studio for Mac should be able to generate an archive for iOS now.

Please advise.


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    After my check. even if you create an empty MAUI Blazor application you will get this error. This is not related to ABP but Microsoft.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11