I made a script to copy,rename and change Bundle Id of a project from command line, after that process, my next step is to change the code signing of the project to point to the new certificates.
Is there any way of doing this from command line?
Edit: I just saw that that info is stored on the .pbxproj, how can I change that file?
You can re-sign a build using the following:
If all you have is an IPA, just unzip it, it’s a normal zip file with a single
Payloaddirectory containing your application.Edit:
If you need to change an Xcode project itself, an Xcode project is just a bundle, change into the directory and open the
project.pbxprojfile. You should be able to simply usesedto find and replace the developer identity.There may be better options, such as supplying the setting on the command-line to
xcodebuild. If you give more background on what it is you are trying to do, you may get better suggestions.