Xcode won't install my command line tool

How do I get Xcode to install a command line tool I've written? I'm using Xcode 7 with os x10.11 . Using Xcode's Project Setups, I've written a "Hello World" command line tool. In Build Settings, under Deployment I have /usr/local/bin for "Installation Directory" and "skip installation" is NO. The project has default Targets and Schemes. The program compiles and runs fine.

I cannot get Xcode to copy the binary into the /usr/local/bin directory.

I've tried "Build" "Run" and "Archive" schemes.

How do I get this to work?


I found this post:

This is the answer: Specifying a build action (eg install) in Xcode GUI

It had the answer to the problem.

链接地址: http://www.djcxy.com/p/68814.html

上一篇: 在Mac上使用自制软件安装kibana时出现错误(xcode问题?)

下一篇: Xcode不会安装我的命令行工具