Generate an .xcscheme file from the command line

后端 未结 4 394
攒了一身酷
攒了一身酷 2021-02-04 07:53

I am working on my company\'s continuous integration server, and the build process is failing because the server does not have access to schemes in an xcode project.

Bas

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-04 08:35

    I was actually able to do this by using cmake to generate the project, then using the xcode gui to make the scheme files I need. I used the terminal to extract the xcscheme files from the project and put them in another directory being tracked by source control. As part of the generation process, I just added a bit of shell script to copy the copies I made earlier into the newly generated project, then continue the build process as normal.

提交回复
热议问题