To be compatible with Retina Displays, I added this script in Mac OS X Build Settings :
[code] Dim appName As String = CurrentBuildAppName
appName = ReplaceAll(appName, " ", "\ ") // Escape spaces for the command line
Dim appPath As String = CurrentBuildLocation + “/” + appName + “.app”
Dim command As String
command = "/usr/bin/defaults write " + appPath + “/Contents/Info ““NSHighResolutionCapable”” YES”
Call DoShellCommand(command)[/code]
My problem is that on computers with no Retina Display, the application shut down.
I tried to discover why and I found that the App StageCode (that is set to 3 - final) is equal to 0 - development on these computers, without Retina Display…
After many tries, I found that this issue is due to this code above, when I delete it, there is no problem… It’s really weird!!!
Any idea? Why this code «change» the StageCode for non-Retina computers?