File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -493,6 +493,16 @@ function(ax_setup_app_config app_name)
493493 # output macOS/iOS .app
494494 set_target_properties (${app_name} PROPERTIES MACOSX_BUNDLE 1)
495495
496+ set_target_properties (${app_name} PROPERTIES
497+ XCODE_ATTRIBUTE_SKIP_INSTALL "NO"
498+ XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf-with-dsym"
499+ XCODE_ATTRIBUTE_GCC_GENERATE_DEBUGGING_SYMBOLS "YES"
500+ XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING "YES"
501+ XCODE_ATTRIBUTE_ENABLE_STDEBUG_INFORMATION_FORMAT "dwarf-with-dsym"
502+ # XCODE_ATTRIBUTE_STRIP_STYLE "debugging"
503+ XCODE_ATTRIBUTE_CONFIGURATION_BUILD_DIR "$(inherited)"
504+ )
505+
496506 # set codesign
497507 if (IOS AND (NOT ("${CMAKE_OSX_SYSROOT} " MATCHES ".*simulator.*" )))
498508 set_xcode_property(${app_name} CODE_SIGNING_REQUIRED "YES" )
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ function axmol_deploy() {
155155 }
156156 elseif ($TARGET_OS -eq ' ios' -or $TARGET_OS -eq ' tvos' ) {
157157 if ($options.a -eq ' x64' ) {
158- $ios_app_path = Join-Path $BUILD_DIR " bin/ $cmake_target /$optimize_flag /$cmake_target .app"
158+ $ios_app_path = Join-Path $BUILD_DIR " build /$optimize_flag /$cmake_target .app"
159159 $ios_bundle_id = get_bundle_id($ios_app_path )
160160
161161 println ' Finding avaiable simualtor ...'
@@ -222,7 +222,7 @@ function axmol_run() {
222222 }
223223 }
224224 elseif ($TARGET_OS -eq ' osx' ) {
225- $launch_macapp = Join-Path $BUILD_DIR " bin/ $cmake_target /$optimize_flag /$cmake_target .app/Contents/MacOS/$cmake_target "
225+ $launch_macapp = Join-Path $BUILD_DIR " build /$optimize_flag /$cmake_target .app/Contents/MacOS/$cmake_target "
226226 & $launch_macapp
227227 }
228228 elseif ($TARGET_OS -eq ' linux' ) {
You can’t perform that action at this time.
0 commit comments