Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Maya 2018 and Xcode 9.2

Maya 2018 and Xcode 9.2

chaneyx
Advocate Advocate
957 Views
2 Replies
Message 1 of 3

Maya 2018 and Xcode 9.2

chaneyx
Advocate
Advocate

Does Xcode 9.2 work with Maya 2018? The docs say to use Xcode 7.3.1 but I would like to use the boost libraries but I cannot install it with Xcode 7.3.1. 

 

brew install boost

Error: Your Xcode (7.3.1) is too outdated.

Please update to Xcode 9.2 (or delete it).

Xcode can be updated from the App Store.

 

Thank you

0 Likes
Accepted solutions (1)
958 Views
2 Replies
Replies (2)
Message 2 of 3

ikolev
Participant
Participant
Accepted solution

It does, starting from Maya 2016.5.


chaneyx wrote:

Does Xcode 9.2 work with Maya 2018?

 

0 Likes
Message 3 of 3

ikolev
Participant
Participant

Actually I wasn't very precise. The Clang ABI doesn't seem to have changed so it is OK to compile for any Maya with any Xcode / Clang version.

What did change in 2016.5 was the standard C++ library that Maya gets compiled with, and since the Maya API uses the STL in a few places, plugins are forced to either compile with the same STL or make some efforts to isolate the STL-dependent code in a separately compiled dynamic library.

So the correct answer is, whatever Xcode/Clang you're developing your plugin with, be careful to compile with the correct STL: for Maya 2016 or earlier it was GNU libstdcpp, for 2016.5 or later it is Clang's libcpp (which is the default).