문제

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