Simulator won't build with -ObjC -all_load "other linker flags"

Hello,

I’m on xcode 6.0 beta 4, with cocos 2d-x updated as of yesterday July 24th from git.

I need -ObjC and -all_load to use Google’s youtube api, but enabling them causes the following build errors in cocos. Any ideas of a workaround or fix? Thanks!

d: warning: directory not found for option ‘-F/Applications/Xcode6-Beta4 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks’
Undefined symbols for architecture i386:
“_fputs$UNIX2003”, referenced from:
_TIFFPrintDirectory in libcocos2dx iOS.a(tif_print.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

1 Like

Thanks for reporting this, I can try and reproduce and file a bug if necessary.