3 ms·
I am pretty certain you can accomplish anything Xcode can do using a combination of the openssl command line tool, Apple's codesign command line tool, and manua
by saurik 10y ago
I am pretty certain you can accomplish anything Xcode can do using a combination of the openssl command line tool, Apple's codesign command line tool, and manually flipping switches on Apple's website (which is only needed to set things up, not build stuff later); but, to be honest, I am normally (but I don't think usually...) using some of my custom tooling, which means I am not 100% sure (I am the developer of Cydia Impactor, which reimplements and automates all of this stuff to accomplish "here is an IPA that may or may not be signed; I want to install this on my iOS device as if it were signed by me" on any platform, such as Windows or Linux). Do you have an example of something that you believe can only be done by Xcode? I get the impression that a lot of iOS developers just kind of assume they are locked into Xcode, but in fact I want to argue no one should be using Xcode (as it really does suck, and it is totally unneeded).
FWIW, I don't know how to use the codesign utility without unlocking the keychain, but that UI has nothing to do with Xcode, and I bet someone who is an expert with the keychain might have a non-crazy workaround for you given that I think the codesign application lets you specify a custom keychain: like, I would be surprised it you can't make a keychain that doesn't require being unlocked. To me, the most annoying thing about the official tooling is that the codesign tool uses Apple's "timestamp server" (AFAIK, in order to help make things not do devastating if you have to revoke a private key: you can use the embedded signed timestamp to trust that a binary was signed before it was revoked) and so does not work unless you have a connection to the Internet.