How to get a iPA with dotnet publish

Changan Xiang 30 Reputation points Microsoft Employee
2025-01-23T07:14:04.7466667+00:00

Hi MAUI:

I'm from Microsoft, I'm build a iOS platform app based on MAUI platform. During publish iPA i got errors info "*** provisioning file not found".

I follow wiki: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-cli?view=net-maui-8.0 for publish a iOS iPA.

-p:CodesignKey The name of the code signing key.
-p:CodesignKey The name of the code signing key.
-p:CodesignProvision The provisioning profile to use when signing the app bundle.

for "CodesignKey" I can get by running "xcrun security find-identity -v -p codesigning"

How can i get "CodesignProvision", or what value should i fill for this parameter?

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

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 35,506 Reputation points Microsoft Vendor
    2025-01-23T08:25:04.9033333+00:00

    Hello,

    How can i get "CodesignProvision", or what value should i fill for this parameter?

    You could go to apple developer portal, then check the profiles list and certificates list, and then determine which the certificate and which the provisioning profile you want to use. (They must be matched with each other, and you should make sure the certificate and provisioning are in local)

    The two parameters mean the name of the certificate and the name of the provisioning profile.

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.