简体   繁体   中英

How to Add My Custom C++ Executable in Mac App Contents/MacOS Folder

I want to add a C++ Executable file to my App's MacOS Folder. The Executable file needs no plist or anything to run. It runs without any other files support. So i tried adding this file to my Xcode project , when i build my app, the binary resulted in Resources Folder.

The App is running fine, but i want the executable to be in Contents/MacOS folder. How to achieve this ..?

在应用的目标中创建“复制文件”阶段。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM