iOS libtool: unknown option character `W' in: -Wl,-U,_JSContextGetGlobalObject

440 Views Asked by At

I have recently updated Xcode 6.1 on Yosemite and followed these steps to fix cocoa pods issue. I have started getting following error.

  error:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `W' in: -Wl,-U,_JSContextGetGlobalObject

Further investigation on issue, I found that following line is newly generated in Pods xconfig file after Pod update.

OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS)

I have no idea why is that required but removing this line from Pods config fixed the issue. It comes back when I do pod update again. Does anyone know what's this and why it is causing problem?

0

There are 0 best solutions below