1

Hello i am making an static library for distribution. I am distributing the .h files and the .a file. The problem is that if there is a runtime error, the debugger is able to see the content of the .m files. How can i avoid that?

1 Answer 1

3

Compile it as release mode and strip all the debug symbols.

Sign up to request clarification or add additional context in comments.

2 Comments

And how would i do that? I am checking "Deployment Postprocessing" and "Strip linked Product" but i am still able to see the code when debugging. Am i missing something else?
@pabloruiz: Try to "Use Separate Strip". Also, are you checking in a different project (you should)?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.