Go Premium for a chance to win a PS4. Enter to Win


Creating a pkg file for the Mac

Posted on 2013-12-09
Medium Priority
Last Modified: 2013-12-15
Hello Respected Experts,

Now that Apple's PackageMaker application doesn't work under Mavericks, is there a recommended method for making pkg files to submit to the App store? I don't use XCode for development (I use Embarcadero's FireMonkey), so I was wondering if it's possible to manually create a pkg file from the app folder created by FireMonkey. Although FireMonkey used to make the necessary pkg file, it is currently unable to do so due to changes in Mac's codesign application, so I'm left with attempting to manually codesign the app (which I can do using Apple's codesign application) and manually create the pkg file that is to be submitted to the App Store. How can I create the pkg file? What has taken the place of PackageMaker? I've done some extensive Googling of the issue and haven't found the answer. I'd appreciate any help. Thanks.
Question by:efz
  • 4
  • 4
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708437
I am actually looking out for the same for a different purpose. It's unbelievable that there is no obvious answer.

Maybe you have bumped into these in your search:

MailPluginManager, which seems to be possible to use for more installs than mail plugins:

The Luggage:

Accepted Solution

efz earned 0 total points
ID: 39708510
Hello sigurarm,

I finally stumbled on an answer in Embarcadero's docwiki. Use the "productbuild" command. I located the information at this site:


When I tried it it worked and I was able to create a pkg file from the app folder/file that I had manually code signed using Apple's "codesign" command.

On to the next problem.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708558
But could you check out the URL you gave. It gives me 404. Thanks.

Found it: http://kuvacode.com/francis/building-for-the-mac-app-store/
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.


Author Comment

ID: 39708657
I apologize. Because the site was visited from one computer and the EE comment on another, I was unable to copy and paste the link and consequently I re-typed it incorrectly. The correct link is:


Sorry for the confusion. I originally found the link at Embarcardero's docwiki page:


There's a link near the bottom of the page labeled: "Building for the Mac app store"

I hope this works for you.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708692
Thanks. Found it.

What I currently do is to make the installers with PackageMaker on Lion.

Author Comment

ID: 39708780
PackageMaker will no longer work if you upgrade to Mavericks. At least that was my experience. In addition, the XCode5 and/or Mavericks upgrades prevented XE4 from properly code signing the resultant app folder/file which in turn prevented XE4 from creating the pkg file which is what started my quandry in the first place.
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708828
Yes, I realize that the PackageMaker app stops working on Maverics but the pkg files work fine. In my case I am not making apps. I only need installers for distributing stuff like ICC color profiles, Hunspell dictionary, pdf job settings and more.
I can use Remote Desktop at work, but I do some teaching and I need installer files for such stuff because usually people are not much into putting according a path ~/L… they don't even try. Not to mention if they are supposed to right click to Show Content.

I am guessing that Apple wants regular installers to be made via Xcode and demand that they are signed and therefore not making updates for Packagemaker.

Author Closing Comment

ID: 39719708
I tried it personally and it worked. Not only did it create a pkg file, but I executed the pkg file and it correctly installed the subject application.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question