How can I use a non-default keychain in XCode iPhone project.
I have already tried '--keychain mycerts.keychain' in 'Other Code Signing Flags' in 'Code signing' build settings.
How can I use a non-default keychain in XCode iPhone project.
I have already tried '--keychain mycerts.keychain' in 'Other Code Signing Flags' in 'Code signing' build settings.
in the Build setting under Code Signing -> Other code signing Flags, create a flag "--keychain keychain-name.keychain"
While inconvenient, you can temporarily change your "default Keychain" to whichever keychain has your certificate/keys. XCode will then search that keychain during code-signing. You can do this via Keychain Access.app or the security(1) command-line utility. You're responsible for unlocking said keychain yourself, however.