How to pack macos app with xcode?like xxx.app

How to pack macos app with xcode?like xxx.app

Use the URHO3D_MACOSX_BUNDLE build option.

<sh cmake_xcode.sh xxxpath -URHO3D_MACOSX_BUNDLE=1> like this?

Read the docs, especially the build option section.