I'm trying to build my installer package using andyh1234's instructions (thanks, Andy!)...
5. Build the package...
productbuild --component "./YourAppName.app" /Applications --sign "3rd Party Mac Developer Installer: YourDevName" --product ./Info.plist YourAppName.pkg
I've downloaded all the certificates mentioned in the Apple Developer pages and installed them into Keychain Access. I've got my standalone and the copy of my info.plist on my Desktop. I changed the directory using cd ~/Desktop, which gives me the prompt:
Macintosh:Desktop Steve$
I enter this:
productbuild --component "./Classroom Quizshow.app" /Applications --sign "3rd Party Mac Developer Installer: Stephen McNutt" --product ./Info.plist Classroom Quizshow.pkg
I press Return, and all I get is > and a blinking cursor. Shouldn't the installer package have appeared on my Desktop? It didn't. What did I goof up?
Thanks,
Steve
P.S. I quit Terminal and tried again. This time I entered/got the following, which seems to be telling me I'm using productbuild incorrectly:
Macintosh:~ Steve$ cd ~/Desktop
Macintosh:Desktop Steve$ productbuild --component "./Classroom Quizshow.app" /Applications --sign "3rd Party Mac Developer Installer: Stephen McNutt" --product ./Info.plist Classroom Quizshow.pkg
Usage: productbuild [options] --distribution <dist-path> [--package-path <search-path>] <product-output-path>
Build product with a distribution and the packages it references
Usage: productbuild [--product <definition-plist>] {--component <component-path> <install-path>} <product-output-path>
Build product with specific bundles, synthesizing a distribution
Usage: productbuild --synthesize [--product <definition-plist>] {--package <pkg-path>} <distribution-output-path>
Synthesize and write a distribution from component packages
P.P.S. Here's a part of Andy's instructions I may have misinterpreted:
2. Right click on the app and select show contents, then navigate to the info.plist file and edit it. Add a 'LSApplicationCategoryType' key and value to the file for your type of app, and check the rest of the file has the correct values for the version number etc. Then duplicate this file and put a copy in the same folder as your app.
It's that last sentence I'm not clear on. I did just what it says, but it occurs to me it may also mean to put the duplicate of the info.plist file in the same folder as the Unix executable within the app package, i.e. in Package --> Contents --> MacOS.
Livecode and the new Mac app store
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 107
- Joined: Fri Nov 10, 2006 8:58 pm
- Contact: