Creating a pkg file for the Mac

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.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

efzConnect With a Mentor Author Commented:
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.
Sigurdur ArmannssonDesigner Commented:
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:
Sigurdur ArmannssonDesigner Commented:
But could you check out the URL you gave. It gives me 404. Thanks.

Found it:
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

efzAuthor Commented:
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.
Sigurdur ArmannssonDesigner Commented:
Thanks. Found it.

What I currently do is to make the installers with PackageMaker on Lion.
efzAuthor Commented:
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.
Sigurdur ArmannssonDesigner Commented:
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.
efzAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.