This shouldn't be in the OS X section (on windows, it instructs the linker to include the "version.lib" file in the build). XCode probably doesn't even recognize that pragma, so it's not causing errors, but it's definitely not doing anything useful here.