Skip to content

Solve a code signing conflict with iOS Enterprise Developer Program accounts and iOS Company Developer Program accounts using a menu bar toggle.

License

Notifications You must be signed in to change notification settings

grp/Keychain-Switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is to fix an annoying issue when using iOS Enterprise Developer Program accounts. If you have both an Enterprise and a standard Company account for the same company, the private keys will likely be issued under the same name. However, the codesign utility does not support signing when when the keys have identical names, and will simply show as an error in Xcode.

To fix this, you can separate the keys and certificates for each account into separate .keychain files. However, maintaining those files and ensuring that only the correct file is loaded into Keychain can cause issues. To make that easier, this simple menu bar app adds a quick toggle to switch between which of the keychains is active.

To use it, you will need to modify KSAppDelegate.m to return the paths to your actual keychains. An actual configuraiton window would be nice, but would require more effort than this project deserves.

Further reading:

Also, the Keychain API isn't the best.

About

Solve a code signing conflict with iOS Enterprise Developer Program accounts and iOS Company Developer Program accounts using a menu bar toggle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published