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 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.