My newly favourite version of macOS doesn’t seem to like my IDE communicator script anymore. Unfortunately, the error is rather vague:
[quote]{
“tag”:“build”,
“response”:{
“scriptError”:[
{
“type”:“scriptRuntimeError”,
“line”:0,
“number”:0,
“message”:""
}
]
}
}[/quote]
What am I doing wrong? App is now signed. Running in debugger also gives the same error.
Here is the beginning of the script:
[code]dim MaxVersion as String = “0”
if MaxVersion = “” then MaxVersion = “0”
dim MajorVersion as string = “5”
dim MinorVersion as String = “1”
dim BugVersion as String = “0”
dim BetaVersion as String = “b1”
dim basePath as string
basePath = “/Users/beatrixwillius\ 1/Documents/Development/Mail\ Archiver/”
'scheduler: only for normal and pro
if MaxVersion = “0” or MaxVersion = “1” then
openfile(basePath + “code\ current/max\ scheduler.xojo_xml_project”)
ConstantValue(“App.kMaxVersion”) = MaxVersion
if ConstantValue(“App.kMaxVersion”) = “0” then
PropertyValue(“App.Application Identifier”) = “com.mothsoftware.mailarchiverx-helper”
PropertyValue(“App.MacOSXAppName”) = "Mail Archiver X "
elseif ConstantValue(“App.kMaxVersion”) = “1” then
PropertyValue(“App.Application Identifier”) = “com.mothsoftware.mailarchiverxpro-helper”
PropertyValue(“App.MacOSXAppName”) = "Mail Archiver X Pro "
else
print ConstantValue(“App.kMaxVersion”)
end if
if BuildApp(16) = “” then
return
else
DoCommand “SaveFile”
DoCommand(“CloseWindow”)
end if
end if[/code]