1. The first platform I use is xcode version 5.1.1, maya2015, Max OS X 10.9.4.
Maya2015 requires: mountain lion 10.8.5, xcode 5.0.2 with SDK 10.8 (mountain lion), clang with libstdc ++.
However, it does not matter. Although xcode's default project compilation SDK is 10.9, xcode 5.1.1 supports the 10.8 SDK.
2. In build setting, set the Lib path of the Project LINK and the C ++ compilation options:
(1) ubuntures:
A. You shoshould set ubuntures to standard ubuntures (64-bit Intel) (X86-64)
B. Base SDK: osx10.8
C. Others: Default
(2) linking:
A. Other linkers flags: Add [email protected] _ path/libname. dylib and-rpath (I do not know if this is necessary)
(3) Search paths:
A. I followed maya2015 develop help to set incluenvironment variable previous.
B. Framework search paths:/applications/Autodesk/maya2015/Maya. APP/contents/framworks
C. header search paths: $ (maya_directory)/devkit/include // applications/Autodesk/maya2015/devkit/include
D. library search paths: $ (maya_directory)/Maya. APP/contents/MACOs/applications/Autodesk/maya2015/Maya. APP/contents/MACOs
3. Language C ++
Set C ++ standard library to: libstdc ++
4. In build phases:
In link binary with libraries, add corefoundation. Framework