diff --git a/cef.gyp b/cef.gyp index f4cfcd008..be587d346 100644 --- a/cef.gyp +++ b/cef.gyp @@ -356,6 +356,9 @@ 'variables': { 'repack_path': '../tools/grit/grit/format/repack.py', }, + 'run_as': { + 'action': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/MacOS/${PRODUCT_NAME}'], + }, 'actions': [ { 'action_name': 'repack_locales', diff --git a/tools/build_projects.sh b/tools/build_projects.sh index 7aa0022fa..73dbad4fb 100755 --- a/tools/build_projects.sh +++ b/tools/build_projects.sh @@ -13,6 +13,6 @@ else make BUILDTYPE=$1 -j 16 popd else - xcodebuild -project ../cef.xcodeproj -configuration $1 -target $PROJECT_NAME + xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME" fi fi