key not found in keychain error when debugging on local device connected to my windows dev machine

I made some changes to my MAUI app in VS 2022 on Windows 11. I had no trouble testing my app on a locally connected iPhone before, but now when I try to debug the same app (with changes), on the same iPhone, and the same Windows machine, with the same valid certificates in the VS Apple Accounts Details, I get this error:

iOS code signing key 'Apple Development: B... (...)' not found in keychain.

Why is it even referring to the keychain when I'm on a Windows machine using VS2022

valid certificates in the VS Apple Accounts Details

Also, I'm getting "MSB6006: 'codesign' exited with code 3." error when trying to test/debug on a remote mac machine.

Replies

Why is it even referring to the keychain when I'm on a Windows machine using VS2022

This is a question you should ask your tools vendor. DevForums is primarily focused on Apple APIs and tools, so you’re unlikely to encounter folks here with the experience necessary to help you with problems like this.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"