question

DanielWelter-7696 avatar image
0 Votes"
DanielWelter-7696 asked RobCaplan edited

Publishing to AppStore

I'm trying to archive my app to publish to App Store, but i'm getting two errors. I already search about but I can't find nothing helpful.
These are the errors:

 Failed to codesign 'bin/iPhone/Release/QuestorNotify.iOS.app//Frameworks/Protobuf.framework/Protobuf': Warning: unable to build chain to self-signed root for signer "Apple Distribution: Questor Sistemas Ltda (67K8932V3G)"

 Could not resolve this reference. Could not locate the assembly "Mono.Android". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

About the second one, i already remove all the references to Mono.Android in my project, but the error persists.




dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

May I know if you have got any chance to check my answer? I am glad to help if you have any other questions.

0 Votes 0 ·

1 Answer

WenyanZhang-MSFT avatar image
0 Votes"
WenyanZhang-MSFT answered DanielWelter-7696 commented

Hello,
Welcome to our Microsoft Q&A platform!

For the first error message, you could have a try to remove the apple account information from VS and sign in again. Then you could delete AppleWWDRCA from Keychain and download a new one. There is a similar issue, you could check it.

For the second error message, you could have a try to re-reference an assembly and clean bin/obj folders.

For more information, you can refer to
https://docs.microsoft.com/en-us/xamarin/ios/deploy-test/app-distribution/app-store-distribution/publishing-to-the-app-store?tabs=windows
https://developer.apple.com/forums/thread/86161
https://stackoverflow.com/questions/64295443/xamarin-ios-archive-for-publishing-could-not-resolve-reference-mono-android
126986-image.png
Best Regards,
Wenyan Zhang


If the response is helpful, please click "Accept Answer" and upvote it.
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.



image.png (58.0 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you so much, worked well here :)

0 Votes 0 ·