I am trying to use the Mac productbuild app to make an installer for my application.

Running productbuild it does not throw any error but when I try to open the package it says:

There was an error reading the package: JavaScriptError.

When I tried to look at the installer logs, it says:

IFJS: **** exception SyntaxError: Expected Token "("

How I can debug/resolve this? Am I missing some file?

有帮助吗?

解决方案

Found the issue.

It was because of the special character used in Bundle identifier.

And, I was using this id as choice id in my distribution.xml

I was using + sign. Instead, when I used Plus, it worked!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top