Unity Xcode Post Build Change Language Dialect

| | August 4, 2015

Is it possible to change the C++ Language Dialect setting under Apple LLVM 6.1 – Language – C++ during a post build process in Unity3D?
See here:Setting

I’m using XCodeEditor, and in the json, i tried these two settings and nothing is happening :(

  "buildSettings": 
        {     
            "OTHER_LDFLAGS" : ["-std=gnu++11"]
        }

    "linker_flags": ["-std=gnu++11"]

One Response to “Unity Xcode Post Build Change Language Dialect”

  1. Try this:

    "CLANG_CXX_LANGUAGE_STANDARD" = ["gnu++0x"] (or gnu++11)

    it seems like officialy there is no documentation for this option (all keys are here), but that’s what I found.

    Update: I checked and it works well with PostprocessBuildPlayer using mod_pbxproj.py

Leave a Reply