but the icon is not shown after starting the app. Where do i have to place the icon in the app-package? PureBasic placed the icns-file in the Contents/Resources Folder. The Icon works inside the IDE.
How to i get my icon work with my compile mac-app?
The experts here might be able to explain this better? However, as a 'Mac newbie' my app icon worked with no trouble. I do not think you need to edit the info.list!
As far as I remember, I simply used Icon Composer to create my icns file (256, 128, 32 and 16 pixel variations) and saved it in a sub-folder of my source-files project folder. Then just set the icon file name in the PB IDE Compiler Options. As you correctly say, the icns file is copied into the Resources folder of the app when it is compiled. It shows up fine when the app is run or installed to another location.
( PB 5.22 LTS, OSX 10.6.8 )