How to remove debug symbols executable MacOSHow can I Remove .DS_Store files from a Git repository?How to check for an active Internet connection on iOS or macOS?Xcode “Build and Archive” from command lineVisual Studio loading symbols#if DEBUG vs. Conditional(“DEBUG”)Where is JAVA_HOME on macOS Mojave (10.14) to Lion (10.7)?How do I install pip on macOS or OS X?Why does .o files contain debug symbols but static library (.a) does not?NodeJS native module - how to remove debug symbolsHow to Not Strip Debug Symbols in Xcode 9

Should I cross-validate metrics that were not optimised?

What caused the flashes in the video footage of Chernobyl?

Is it possible that Curiosity measured its own methane or failed doing the spectrometry?

Why did moving the mouse cursor cause Windows 95 to run more quickly?

When should we use dependency injection (C#)

Olive oil in Japanese cooking

How frequently do Russian people still refer to others by their patronymic (отчество)?

What is the difference between a historical drama and a period drama?

Has there ever been a cold war other than between the U.S. and the U.S.S.R.?

Recolour existing plots

List of Implementations for common OR problems

How might boat designs change in order to allow them to be pulled by dragons?

What is the right way to query an I2C device from an interrupt service routine?

How to widen the page

Why did my leaking pool light trip the circuit breaker, but not the GFCI?

Isn't "Dave's protocol" good if only the database, and not the code, is leaked?

A student "completes" 2-week project in 3 hours and lies about doing it himself

What can a novel do that film and TV cannot?

Term for a character that only exists to be talked to

gzip compress a local folder and extract it to remote server

Will greasing clutch parts make it softer

Why is quantum gravity non-renormalizable?

Finding integer database columns that may have their data type changed to reduce size

Which high-degree derivatives play an essential role?



How to remove debug symbols executable MacOS


How can I Remove .DS_Store files from a Git repository?How to check for an active Internet connection on iOS or macOS?Xcode “Build and Archive” from command lineVisual Studio loading symbols#if DEBUG vs. Conditional(“DEBUG”)Where is JAVA_HOME on macOS Mojave (10.14) to Lion (10.7)?How do I install pip on macOS or OS X?Why does .o files contain debug symbols but static library (.a) does not?NodeJS native module - how to remove debug symbolsHow to Not Strip Debug Symbols in Xcode 9






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am working on Qt application for MacOS. There, in order to debug I would like to build with debug symbols. For that, following Qt dos I have added



QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_OBJECTIVE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO


I have checked and it works, symbols are there.



I would like to know if there is a way to remove those symbols AFTER BUILD. I have tried strip command on the executable but apparently it does nothing. This command:



otool -Iv build/MyApp.app/Contents/MacOS/MyApp


has same output after running strip. Could someone tell me how to effectively remove debug symbols? Also, the way I am using to check that symbols are gone, is it the right one ? If not how could I verify that?



Thanks in advance










share|improve this question






















  • strip should work. Are still seeing private symbols after using it?

    – TheNextman
    Mar 25 at 23:55











  • @TheNextman what should I see if there are no symbols as output?

    – RuLoViC
    Mar 26 at 13:27






  • 1





    If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

    – TheNextman
    Mar 26 at 16:17

















0















I am working on Qt application for MacOS. There, in order to debug I would like to build with debug symbols. For that, following Qt dos I have added



QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_OBJECTIVE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO


I have checked and it works, symbols are there.



I would like to know if there is a way to remove those symbols AFTER BUILD. I have tried strip command on the executable but apparently it does nothing. This command:



otool -Iv build/MyApp.app/Contents/MacOS/MyApp


has same output after running strip. Could someone tell me how to effectively remove debug symbols? Also, the way I am using to check that symbols are gone, is it the right one ? If not how could I verify that?



Thanks in advance










share|improve this question






















  • strip should work. Are still seeing private symbols after using it?

    – TheNextman
    Mar 25 at 23:55











  • @TheNextman what should I see if there are no symbols as output?

    – RuLoViC
    Mar 26 at 13:27






  • 1





    If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

    – TheNextman
    Mar 26 at 16:17













0












0








0








I am working on Qt application for MacOS. There, in order to debug I would like to build with debug symbols. For that, following Qt dos I have added



QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_OBJECTIVE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO


I have checked and it works, symbols are there.



I would like to know if there is a way to remove those symbols AFTER BUILD. I have tried strip command on the executable but apparently it does nothing. This command:



otool -Iv build/MyApp.app/Contents/MacOS/MyApp


has same output after running strip. Could someone tell me how to effectively remove debug symbols? Also, the way I am using to check that symbols are gone, is it the right one ? If not how could I verify that?



Thanks in advance










share|improve this question














I am working on Qt application for MacOS. There, in order to debug I would like to build with debug symbols. For that, following Qt dos I have added



QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_OBJECTIVE_CFLAGS_RELEASE_WITH_DEBUGINFO
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO


I have checked and it works, symbols are there.



I would like to know if there is a way to remove those symbols AFTER BUILD. I have tried strip command on the executable but apparently it does nothing. This command:



otool -Iv build/MyApp.app/Contents/MacOS/MyApp


has same output after running strip. Could someone tell me how to effectively remove debug symbols? Also, the way I am using to check that symbols are gone, is it the right one ? If not how could I verify that?



Thanks in advance







macos build release debug-symbols






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 18:15









RuLoViCRuLoViC

2851 silver badge15 bronze badges




2851 silver badge15 bronze badges












  • strip should work. Are still seeing private symbols after using it?

    – TheNextman
    Mar 25 at 23:55











  • @TheNextman what should I see if there are no symbols as output?

    – RuLoViC
    Mar 26 at 13:27






  • 1





    If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

    – TheNextman
    Mar 26 at 16:17

















  • strip should work. Are still seeing private symbols after using it?

    – TheNextman
    Mar 25 at 23:55











  • @TheNextman what should I see if there are no symbols as output?

    – RuLoViC
    Mar 26 at 13:27






  • 1





    If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

    – TheNextman
    Mar 26 at 16:17
















strip should work. Are still seeing private symbols after using it?

– TheNextman
Mar 25 at 23:55





strip should work. Are still seeing private symbols after using it?

– TheNextman
Mar 25 at 23:55













@TheNextman what should I see if there are no symbols as output?

– RuLoViC
Mar 26 at 13:27





@TheNextman what should I see if there are no symbols as output?

– RuLoViC
Mar 26 at 13:27




1




1





If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

– TheNextman
Mar 26 at 16:17





If you run nm on your binary, the symbols are listed with their symbol type. Globally visible names (marked with T) will not be stripped.

– TheNextman
Mar 26 at 16:17












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344162%2fhow-to-remove-debug-symbols-executable-macos%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344162%2fhow-to-remove-debug-symbols-executable-macos%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현