How to avoid symbols and source paths in iOS binary?
The file paths are most likely from assert macros which stringify __FILE__
as part of their failure message. iOS's implementation of assert(3)
does this, as do the NSAssert
macros.
You can remove asserts in release builds by defining NDEBUG
(for the C asserts) and NS_BLOCK_ASSERTIONS
(for NSAsserts).