• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can tools ever be bundles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can tools ever be bundles?


  • Subject: Re: Can tools ever be bundles?
  • From: Daryle Walker <email@hidden>
  • Date: Fri, 20 Mar 2015 19:55:20 -0400

On Mar 19, 2015, at 4:25 PM, Andrew Keller <email@hidden> wrote:

On Mar 18, 2015, at 6:48 AM, Daryle Walker <email@hidden> 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?

A “tool”, as Xcode calls it, is a traditional single-file executable.

Depending on what data you need in your bundle, you can stuff it inside the executable.

https://developer.apple.com/library/mac/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-SW6

There’s an Xcode setting for incorporating a Info.plist to a flat-file executable.

If you need the power of a typical bundle, then you can modify the project to assemble a real bundle.  That comes with the price of being awkward to install in the OS like most tools.  If your tool has an owning application, I suggest putting the tool inside the owning application bundle.

This isn’t part of some app; it’s a stand-alone tool. I mentioned in a disconnected message that I made an attempt in the “0.1” release of my project at <https://github.com/CTMacUser/cget>.

— 
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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can tools ever be bundles? (From: Daryle Walker <email@hidden>)
 >Re: Can tools ever be bundles? (From: Andrew Keller <email@hidden>)

  • Prev by Date: Re: Drag & drop text broken in 6.2?
  • Next by Date: Re: Xcode 6 and git with a remote server - do we commit xccheckout?
  • Previous by thread: Re: Can tools ever be bundles?
  • Next by thread: Re: Can tools ever be bundles?
  • Index(es):
    • Date
    • Thread