> On Mar 18, 2015, at 3:00 PM, [email protected] wrote:
> 
> 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?

There’s a project/target setting to embed the Info.plist in a text segment of a 
flat binary. Add an Info.plist to your project, set the “Info.plist File” 
setting for the target, and enable the “Create Info.plist Section in Binary” 
setting.

IIRC this was added to support code signing of tools. Until a few years ago, 
there was no UI for it; you had to add a flag manually. There’s more info at 
Red Sweater’s blog.
http://www.red-sweater.com/blog/2083/the-power-of-plist

----
Karl Moskowski <[email protected]>
<http://about.me/kolpanic>


 _______________________________________________
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