Difference between an app bundle and a binary

Whats the Difference Between an App (bundle) and a Binary

A binary is the final product from linking all your source code. Itโ€™s executable. You can run commands against it. An app, is merely a wrapper / directory, which includes that binary and other things. How do you create a binary? First itโ€™s important to understand what a binary is. Youโ€™ve used them every day in the terminal. Examples: ls, cp, mkdir. You pass certain parameters to them. They donโ€™t have any file extension. Theyโ€™re in machine code i.e. zeros and ones. With some simplification, this is how we create a binary from our source code: ...