nm returns nothings from a Run Script Phase

Hi !


I'm developing a SDK and use the "nm" command line tool to avoid dependency collisions.

Since Xcode 8.3 beta (8W109m), the command doesn't work anymore.


I found a workaround : use "nm" from Xcode 8.2.1 (8C1002) by removing the symlink from Xcode 8.3 and linking it to the "llvm-nm" binary of Xcode 8.2.1.

It is a bug, or will it be fixed in a newer version ?


The "nm -version" of the Xcode 8.2.1 returns this :

Apple LLVM version 8.0.0 (clang-800.0.42.1)

Optimized build.

Default target: x86_64-apple-darwin16.4.0

Host CPU: haswell


While the beta one returns this :

Apple LLVM version 8.1.0 (clang-802.0.27.2)

Optimized build.

Default target: x86_64-apple-darwin16.4.0

Host CPU: haswell


Thanks.

Replies

vdd,


That is an interesting issue. Can you please go to http://bugreport.apple.com and file a report of this? Please make sure to include the exact steps to reproduce (i.e. the entire command that you're running) and a sample file that shows the issue. What host OS were you running previously with the same file that did not reproduce the issue?


Please comment here with the bug number that you filed and I'll follow-up on it for you.