Correct way to export a Unix executable file in Xcode

  • PeterKe@SonarSystems
    Likes 0

    Problem Description

    My question is about exporting a unix executable file targeting MacOS in Xcode while including resources. When I was editing in the IDE, I dragged resources files into my project and a “Copy Bundle Resources Phase” is created with all the resources needed. The path of the resources are in the format of “Resources/xxx/xxx.extension” and it worked when I run the program in the IDE. However, when I archive my project and export it, the resources are no longer included in the program. I was wondering what is the correct way to export Unix executable? 

    Thank you very much! 

Login to reply