/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.Shared.targets(3,3): Error: Failed to codesign 'bin/iPhone/Release/PIAMA.iOS.app//Frameworks/Protobuf.framework/Protobuf': Warning: unable to build chain to self-signed root for signer "Apple Distribution: 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:
I checked the Project->Options->iOS Bundle Signing ->Signing Identity: Developer. Everything looks good here.
Any help is much appreciated.