¿Cómo crear un objetivo, agregar recursos a ese objetivo y construir el objetivo usando las herramientas de línea de comandos de xcode? [cerrado]

I am trying to use command line tools to create, add resources, build, archive and export to ipa in xcode. I could do the Build, Archive and Exporting to IPA through the command line tools(xcodebuild). But I also wanted to duplicate the target in the same project,add a new Info.plist to the duplicated target resource through command line itself. How to do it? I could not find any valuable answers by Googling.

Is there any other tools that can be used to perform these? I don't want to use the UI. Please, help me out.

preguntado el 28 de mayo de 14 a las 13:05

Have you solved this , Is it possible to create target from command line -

I would like to know more about this too. Did yo ever manage it? -

1 Respuestas

contestado el 23 de mayo de 17 a las 13:05

Well, the link for copy resources mentions how to do using UI. doing though command line is the challenge. This will work if you do through UI. The link for creating target has not mentioned about creating or duplicating. It requires the target to be available in the xcode before we give this command. :( - Spidey

Not sure everything is available in line tool, i'll try to do research. Why do you need to do this in line tools ? - Evans Belloeil

I am trying to automate my release process using hudson as CI. It will use shell scripts running in the back-end. Basically, I am trying to create "Anyone can deploy" machine in our office :) - Spidey

It seems a good idea, but very hard to do, try to contact the support of XCode, I think they will help you faster than here. - Evans Belloeil

@Spidey did u find any solution my requirement also same - gurú

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.