Xcode 6.1 - Missing project templates (C ++ library and STL library in C ++)

Yesterday's C ++ library and STL C ++ library templates disappeared from my XCode 6.1 installation. Here's how it should look: enter image description here

And here is what it looks like now:

enter image description here

I completely uninstalled Xcode and installed it again, but nonetheless, these templates were missing. Is anyone else experiencing the same problem? How to fix it?

+5
source share
1 answer

Nothing! The user interface for selecting project templates has changed a bit in Xcode 6.1. Here's how to create a C ++ library project:

To create a C ++ library, select a library template (even if the description says: β€œThis template creates a library that references the Cocoa framework). It can be a little confusing, but you can change it to make it a C ++ library in next step).

enter image description here

Click Next, and then you can choose the type of Framework to be a simple C ++, Cocoa or STL library (C ++ library). You can also specify Type to Static or Dynamic.

enter image description here

Now I feel like an idiot. I spent at least a couple of hours reinstalling Xcode and trying some other things. Hope this saves you some time.

+10
source

Source: https://habr.com/ru/post/1205787/


All Articles