1) We specify a keychain and identity in the target build settings (actually via an xcconfig) like this
Debug:
CODE_SIGN_IDENTITY = iPhone Developer
OTHER_CODE_SIGN_FLAGS = --keychain=$HOME/Library/Keychains/Panic.keychain
For most of our targets and configurations we can leave the profile set to Automatic. Xcode sometimes gets confused and uses our app store profile with an ad-hoc target so we hard code that profile in the build settings.
We are not tearing down and building up the keychains each time like you are though. The Panic keychain is kept in sync amongst our build machines and rarely changes.
I should add that I personally have a few other team-specific keychains and my projects don’t get confused about which signing identity to use because of the use of --keychain.
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden