简体   繁体   English

如何在Xcode中打包和发布Foundation命令行工具?

[英]How do I package and publish a Foundation command line tool in Xcode?

I'm trying to learn Mac dev so decided to start with a Foundation command line app. 我正在尝试学习Mac开发人员,因此决定从Foundation命令行应用程序开始。

I'm using Xcode 4.3.2. 我正在使用Xcode 4.3.2。

In .NET you just grab the .exe from the bin folder and either run from it's location, or you can put it in a particular folder in windows and you can run it from anywhere. 在.NET中,您只需从bin文件夹中获取.exe,然后从其位置运行即可,也可以将其放在Windows中的特定文件夹中,然后就可以从任何位置运行它。

Is that how you do it on macs? 那是您在Mac上的操作方式吗? I know that mac apps are "folders" with the .app extension. 我知道Mac应用程序是带有.app扩展名的“文件夹”。 But the same's not true for command line tools right? 但是对于命令行工具却不是这样吗?

So, in XCode, what is the final output for command line tools? 那么,在XCode中,命令行工具的最终输出是什么? how do I package it? 如何包装? where is it? 它在哪里?

尝试进入产品--->存档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM