There's another answer also. 

Many command line tools are basically like bundles even if they don't have the 
bundle bit set. 

This means they are in a folder with various resources together. 

When installed there is a symlink at the location returned by the which 
command. The symlink is what gets added to you PATH and the symlink links to 
the actual executable. 


Sent from my iPhone

> On 2015/03/18, at 20:54, Alexander von Below <[email protected]> wrote:
> 
> Well, there is a short answer. And a long answer
> 
> The short: Foundation tools are traditional Unix tools, simply an executable 
> that sits in your file system
> 
> The long: May applications have a GUI part, and a foundation tools somewhere 
> in the bundle. The collect user Input from the user in the GUI, and then 
> calls the foundation tool in its bundle with arguments.
> 
> In that case, the foundation tool WILL find the bundle, even if not called 
> from the GUI. I have taken the liberty to write a short sample project:
> 
> https://github.com/below/FoundationGUI
> 
> Hope this helps
> 
> Alex
> 
> 
>> Am 18.03.2015 um 11:48 schrieb Daryle Walker <[email protected]>:
>> 
>> I’m trying out making a Foundation command-line tool. I added a bundle 
>> identifier string when creating the project, but I don’t see it anywhere, as 
>> if there’s no Info.plist. Are (Foundation) tools created by Xcode flat 
>> files, like traditional Unix tools? Or are they bundles? If flat files, can 
>> they be made into bundles with some project tweaks?
>> 
>> ― 
>> Daryle Walker
>> Mac, Internet, and Video Game Junkie
>> darylew AT mac DOT com 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/xcode-users/below%40mac.com
>> 
>> This email sent to [email protected]
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/dangerwillrobinsondanger%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to