I'm building a Swift4 app on MacOS that uses GTK+3 to provide a GUI. I have my package.swift file correctly setup and my app builds both from the terminal and in Xcode. However, when I run the app from Xcode (i.e. debugging) the product name is incorrectly displayed as per the image below:


When I build/run the same app from the commandline, the Apps name is shown correctly:

enter image description here

Can anyone explain why this is happening and how to fix it in Xcode?

You must log in to answer this question.

Browse other questions tagged .