Error: Failed to codesign 'bin/iPhone/Release/[APPNAME].app//Frameworks/protobuf.framework/protobuf': Warning: unable to build chain to self-signed root for signer "Apple Development:

Uttam 6 Reputation points
2021-07-14T09:26:48.52+00:00

I am getting this error while build app on VS2019 Community for Mac, Xamarin. I have the latest updates for VS & Xamarin.

I also applied the cert mentioned here. https://developer.apple.com/support/expiration

The build goes well when I am in Release mode, but when I change it to Release|iPhone and connect my iPhone I get the following error.

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(3,3): Error: Failed to codesign 'bin/iPhone/Release/[APPNAME].app//Frameworks/protobuf.framework/protobuf': Warning: unable to build chain to self-signed root for signer "Apple Development: Mike Popplewell (82WT7P52FZ)"

I checked the Project->Options->iOS Bundle Signing ->Signing Identity: Developer. Everything looks good here.

Any help is much appreciated.

Developer technologies | .NET | Xamarin
{count} vote

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.