通过命令行从XCode列出目标

时间:2015-03-09 01:28:02

标签: xcode macos

是否可以从命令行或任何其他方式获取xcode项目的目标而无需在xcode中打开文件?

谢谢!

1 个答案:

答案 0 :(得分:8)

xcodebuild -list 


macaroni:CLIClone todd$ xcodebuild -list
Information about project "CLIClone":

Targets:
    CLIClone

Build Configurations:
    Debug
    Release

If no build configuration is specified and -scheme is not passed then "Release" is used.

Schemes:
    CLIClone