Could Not Compile Program to iPhone

Several weeks ago, I compiled and ran two different swift programs to my iPhone with no problems. Then, yesterday, I returned to the programs and attempted to compile and run the same programs to the same phone. During the compilation process a dialog box appeared saying that 'codesign wants to access key "access" in your keychain' and to enter my keychain login password, something I have never seen before. I tried every password I could think of related to this machine none of which the system accepted. Finally, I had to select "deny" to get out of the dialog and the compiler finished with an error "Failed with exit code 1". I have no idsea what the password for this is.


I am running MacOS Mojave Version 10.14.3 on a MacBook Pro (2016).


Can anyone help me?