I have an iOS project I want to be able to build and sign on two different Macs, and test on two different iPhones. I've added the provisioning profile to Xcode Organizer on the second machine, and added the UDID for the second iPhone to "use for development" on that machine.
Now the profile is in XCode Organizer but not available as a choice in XCode -> Build Settings -> Code Signing. When I try to run the project, I get the error "No unexpired provisioning profiles found that contain any of the keychain's signing certificates".
I've tried deleting and reinstalling the profile, but I haven't been able to add it to XCode Code Signing. I've also tried synchronizing the second iPhone via iTunes to install the profile on the phone, but without success.
How can I use the same provisioning profile on both machines?