"codeview" is a third party command line utility to parse information out of a binary file. I eventually got it to work by copying the utility (post build) into the Apps package folder under /Contents/MacOS, the same place where the APP executable is. Then in APP i get the path using thisbundle for the NSTask launchpath.
Here is what I found along the way that might help someone else:
Even disabling SIPs and logging in as the root user, I was unable to copy the file or any file to /usr/bin. That's some serious security. So why is there even an option to disable SIPs at all if I still can't change these areas.
Also got it to work by setting App sandbox for any of the user folders: Downloads, Pictures, Music, and Movies to "read only" or "read/write". (see photo). and move the utility to one of them. But this is not where I wanted it to be.
Interestingly. I created a command line utility to test this separate from a sandboxed app, and it worked just fine from /usr/local/bin.
I would prefer to have it in /usr/local/bin, which is where I have several of my own command line utilities. This way, it's in the path and I can use it in a terminal window and from within my APP.