xcodebuild failing on teamcity build agent: scheme is not currently configured for the test action

喜你入骨 提交于 2019-12-14 04:05:27

问题


The tests run fine both inside XCode and at the command line on my Mac. Inside the TeamCity build agent (running in VMWare on a Mac mini), the test also pass when run inside XCOde. But at the command line, I get the message "scheme ___ is not currently configured for the test action". I know that having XCode running can mess up the command line build, so I have it closed. What else could be wrong?


回答1:


The problem was that the scheme was not shared. More information here: xcodebuild says does not contain scheme. (Ignore the statement that this will only solve the problem if you are building a workspace. I was building a project, but making the scheme Shared and then checking in the file that Xcode created fixed the problem.



来源:https://stackoverflow.com/questions/48394612/xcodebuild-failing-on-teamcity-build-agent-scheme-is-not-currently-configured-f

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!