Generate an .xcscheme file from the command line

后端 未结 4 570
攒了一身酷
攒了一身酷 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条回答
  •  Happy的楠姐
    2021-02-04 08:28

    The latest version of cmake has added this functionality:

    https://blog.kitware.com/cmake-3-9-0-rc3-is-now-ready-for-testing/

    The "Xcode" generator learned to create Xcode schema files. This is an experimental feature and can be activated by setting the "CMAKE_XCODE_GENERATE_SCHEME" variable to a "TRUE" value.

提交回复
热议问题