Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 25, 2013, 06:30 AM   #1
arunsm
macrumors newbie
 
Join Date: Jul 2012
Product Signing on Mac not working

I have created a custom installer using package maker on Mac with minimum
target set to Mac OS 10.4. When i am doing product signing using productsign
it gives error as below:-

Terminal Command:
productsign --sign "Developer ID Installer: XXXXX" "input.pkg" "output.pkg"

Output

productsign: signing product with identity "Developer ID Installer: XXXXX" from keychain /Users/XYZ/Library/Keychains/login.keychain

productsign: adding intermediate certificate "Developer ID Certification Authority"

productsign: error: Can't add contents of input archive to output.

Can anybody tell me why it is giving above error?

Thanks.
arunsm is offline   0 Reply With Quote
Old Jan 25, 2013, 08:26 AM   #2
r0k
macrumors 68040
 
r0k's Avatar
 
Join Date: Mar 2008
Location: Detroit
Quote:
Originally Posted by arunsm View Post
I have created a custom installer using package maker on Mac with minimum
target set to Mac OS 10.4. When i am doing product signing using productsign
it gives error as below:-

Terminal Command:
productsign --sign "Developer ID Installer: XXXXX" "input.pkg" "output.pkg"

Output

productsign: signing product with identity "Developer ID Installer: XXXXX" from keychain /Users/XYZ/Library/Keychains/login.keychain

productsign: adding intermediate certificate "Developer ID Certification Authority"

productsign: error: Can't add contents of input archive to output.

Can anybody tell me why it is giving above error?

Thanks.
I saw this earlier and I'm glad a mod moved this to the correct forum. I've had trouble signing my apps. The signing appears to work, but gatekeeper says the apps are from an "unknown developer". I'll probably wind up using a support incident to get past this.

I don't know if it will help in your situation, but googling for your error string returns a thread at stackoverflow with some possible answers.
__________________
-r0k
Macbook Pro (late 2011) + iPad mini + iPhone5 + (GS4 for work)
Got a scan to ftp scanner? Enable ftpd in Mavericks!
r0k is offline   0 Reply With Quote
Old Jan 25, 2013, 04:35 PM   #3
Sayer
macrumors 6502a
 
Sayer's Avatar
 
Join Date: Jan 2002
Location: Austin, TX
I think the lowest Mac OS X version you can use signing is 10.5. Try changing the minimum target to 10.5 in PackageMaker.

Or flatten the .pkg bundle before signing.
__________________
Obama is a true statesman whose experience as a state senator, half-term US Senator & guest lecturer in a Constitutional Law class has fully prepared him to take control of our nuclear arsenal.-Me
Sayer is offline   0 Reply With Quote
Old Jan 28, 2013, 06:30 AM   #4
arunsm
Thread Starter
macrumors newbie
 
Join Date: Jul 2012
Thanks Sayer and r0k for your reply.

But my problem is not solved even now.

The installer package is custom one with an Installer plug-in. This plug-in places some files before installation. But if I set the target to 10.5 from 10.4 or
flatten the package, the plug-in is not copied to installer which is needed for installer.
arunsm is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Tim Cook Says Apple Working on 'Some Really Great Stuff' in New Product Categories MacRumors MacRumors.com News Discussion 189 Feb 10, 2014 07:41 AM
Speculation Targets Mac Pro as First "Made in USA" Mac Product MacRumors MacRumors.com News Discussion 241 Feb 28, 2013 04:28 PM
Apple Has Team of 100 Product Designers Working on a Smart Watch MacRumors MacRumors.com News Discussion 214 Feb 22, 2013 02:42 PM
e-learning product for the Mac? lizbrezen Mac Basics and Help 2 Aug 29, 2012 01:00 PM

Forum Jump

All times are GMT -5. The time now is 03:38 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC