Trying to generate dynamic library (framework
), in Debug build I can see the local path to my source code inside the framework or Unix Executable File.
This is not the case with Release build. How can I prevent the path getting exposed in the framework file?
I tried perl
command to replace the occurrences of the path inside file. But when I do that and try to use framework within my iOS application, I got
ld: malformed universal file: slice extends beyond end of file file '/path/to/my/Sample.framework/Sample'
Framework file got corrupted, is there any proper way from XCode or xcodebuild
command to achieve this?