Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.1 - Missing Project templates (C++ Library and C++ STL Library)

Tags:

c++

xcode

xcode6

All of sudden yesterday C++ library and STL C++ library templates disappeared from my XCode 6.1 installation. Here is how it is supposed to look like: enter image description here

And here is how it looks like now:

enter image description here

I uninstalled XCode completely and re-installed it but still those templates were missing. Is anyone else experiencing the same problem? How to fix it?

like image 833
Prasad Dixit Avatar asked Oct 29 '14 14:10

Prasad Dixit


1 Answers

Never mind! The user interface to select project templates has changed a little bit in XCode 6.1 . Here is how to create a C++ library project:

To create a C++ library, select Library template (Even thought the description says: 'This template builds library that links against 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 Framework Type to be Plain C++ Library, Cocoa, or STL (C++ Library). You can also specify Type to be Static or Dynamic.

enter image description here

I feel like an idiot now. I wasted at least couple of hours reinstalling XCode and trying some other things. I hope it saves someone else's time.

like image 116
Prasad Dixit Avatar answered Nov 14 '22 22:11

Prasad Dixit