xcodebuild -project MyProj.xcodeproj -scheme MyLib WARNING_CFLAGS='-Wno-shorten-64-to-32
It seems like not workable...
-Wno-shorten-64-to-32