When Bitrock tries to sign "installbuilder", it gives me this error:

Error signing ...installerbuilder: Argument list too long

I'm on a 10.6 machine, with XCode 3.2.2 installed. Is the problem that my version of XCode is too old?

Thanks! - Ryan

asked 27 Sep '12, 14:27

Ryan's gravatar image

Ryan
1112
accept rate: 0%


The error is returned by the codesign error, which InstallBuilder calls under the hood. Updating XCode will probably fix it.

link

answered 27 Sep '12, 15:21

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Updating XCode did fix the problem. Thanks!

On a somewhat related note, now that I have code signing working, I'm unable to build my installer on a non-OSX machine. I get this error:

Could not load project file
C:\path\to\project.xml
The object type <project> cannot contain tag <osxApplicationBundleIdentifier> at line 657 in file C:\path\to\project.xml

Now I understand that I can't sign the OSX installer on a non-OSX machine, but if I'm building for Windows or Linux, it probably should just skip over the signing. Note that I only get this error when building from the command line. If I build from the UI, it works fine.

I use the command line for an auto-build process we have set up, and I guess I could workaround it by building all the installers on OSX, but regardless the command line probably shouldn't fail like this.

Thanks!

link

answered 09 Oct '12, 10:57

Ryan's gravatar image

Ryan
1112
accept rate: 0%

Which version of InstallBuilder are you using? It seems it is an older version of IB, which do not support the new tags. With the latest version of IB, the builder will not fail but simply ignore the signing.

(15 Oct '12, 04:43) juanjo ♦♦

I'm running 8.5 on both the Windows and Mac machine, and it doesn't look like there are any updates available. Note that if I load and build the project from the UI on Windows, it works fine. It's only when I build from the command line that it complains about the osx tag.

(15 Oct '12, 09:28) Ryan

We have verified it and it seems to also work properly in the cli builder. The only thing that could explain it is that the cli builder was not properly updated when reinstalling over an existing installation. Could that be the cause?

(16 Oct '12, 10:54) juanjo ♦♦

Wow, is my face red. I just checked our auto-build script, and it was still using the 8.2 installation. We updated the paths to 8.5 and now it works fine. Thanks so much for pointing me in the right direction. I just wished I had saved you the time and noticed that earlier!

(16 Oct '12, 11:04) Ryan
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×92
×51
×20
×14

Asked: 27 Sep '12, 14:27

Seen: 2,841 times

Last updated: 16 Oct '12, 11:04