Unable to archive IOS

Gannon 6 Reputation points
2021-06-02T16:11:24.853+00:00

I am using VS 2019 Xamarin connected to a MAC via VPN with an active developer account. I was able to archive my Android app but every time I try to archive my IOS app I get the error "Cannot create an IOS archive 'APP NAME'. Process cannot be executed on XMA server. /user/bin/codesign exited with code 1" and "Failed to codesign 'APP NAME': Warning: unable to build chain to self-signed root for signer "APPLE DEVELOPER NAME" "LONG FILE NAME:errSecInternalComponent". Any suggestions to fix this problem would be greatly appreciated. Thank you!

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Stesvis 1,041 Reputation points
    2021-06-02T21:31:49.52+00:00

    Most times when I can't archive the iOS app is because I didn't have the correct provisioning profiles installed, or did not select them.


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.