Solved

Creating a pkg file for the Mac

Posted on 2013-12-09
8
1,295 Views
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.
0
Comment
Question by:efz
  • 4
  • 4
8 Comments
 
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:
https://github.com/lksoft/MailPluginManager

The Luggage:
http://www.macenterprise.org/articles/theluggage
https://github.com/unixorn/luggage/wiki
http://grahamgilbert.com/blog/2013/08/09/the-luggage-an-introduction/
0
 

Accepted Solution

by:
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:

http://kuvacode.com/francis/building-for-the-mac-store/

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.
0
 
LVL 22

Expert Comment

by:Sigurdur Armannsson
ID: 39708558
Cool!
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/
0
 

Author Comment

by:efz
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:

http://kuvacode.com/francis/building-for-the-mac-app-store/

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

http://docwiki.embarcadero.com/RADStudio/XE4/en/Mac_OS_X_Application_Development

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

I hope this works for you.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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.
0
 

Author Comment

by:efz
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.
0
 
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.
0
 

Author Closing Comment

by:efz
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.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now