From 3f2fae521cde0cc07796f65b33a227875466dc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sat, 5 Dec 2015 21:18:42 -0800 Subject: [PATCH] =?UTF-8?q?[osx]=20Don=E2=80=99t=20strip=20on=20copy=20in?= =?UTF-8?q?=20Debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stripping the framework means you can’t debug the framework. --- platform/osx/app/mapboxgl-app.gypi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/platform/osx/app/mapboxgl-app.gypi b/platform/osx/app/mapboxgl-app.gypi index 24f356c5d..97474b79d 100644 --- a/platform/osx/app/mapboxgl-app.gypi +++ b/platform/osx/app/mapboxgl-app.gypi @@ -45,6 +45,19 @@ 'SUPPORTED_PLATFORMS': 'macosx', }, + 'configurations': { + 'Debug': { + 'xcode_settings': { + 'COPY_PHASE_STRIP': 'NO', + }, + }, + 'Release': { + 'xcode_settings': { + 'COPY_PHASE_STRIP': 'YES', + }, + }, + }, + 'copies': [ { 'destination': '<(PRODUCT_DIR)/$(FRAMEWORKS_FOLDER_PATH)',