• 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: command line installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command line installer


  • Subject: Re: command line installer
  • From: Bernie Maier <email@hidden>
  • Date: Fri, 06 Nov 2015 10:05:21 +1100

tridiak:

I have created a simple command line utility.
How does one create an installer for it?
You might want to check the installer-dev mailing list:

 <https://lists.apple.com/archives/Installer-dev>

I know a lot of people like Stephan Sudre's "Packages" and I gather it's a big improvement over Apple's long-discontinued "PackageMaker" GUI, which was extremely SCM-unfriendly.
Personally, I prefer to automate packaging and include it in the build
process. I don't know if "Packages" can do that, but what I have done is used
Apple's command line tools for building packages. I can't give current advice,
since the products that I'm building that require an installer are for an
audience that includes people on old machines / OS versions, and so I still
build using Xcode 3.2.6 (in a VM). There, my Xcode projects have build phases
that run a script that invokes "xcrun packagemaker". This seems to no longer
exist in recent Xcode versions, so if I had to update these I'd now be looking
at what the pkgbuild and productbuild command line tools can do.
I think the benefit of using these tools directly rather than a GUI is that
your packaging configuration is more visible in your SCM with the rest of your
build setup, plus it is trivially automatable.
_______________________________________________
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


  • Follow-Ups:
    • Re: command line installer
      • From: Roland King <email@hidden>
References: 
 >command line installer (From: tridiak <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 12, Issue 308
  • Next by Date: Re: command line installer
  • Previous by thread: Re: command line installer
  • Next by thread: Re: command line installer
  • Index(es):
    • Date
    • Thread