Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Blog Reader iPhone App Rebuilding from Scratch Starting Over

No more Empty Application template in Xcode 6

Hi there, it seems that Empty Applications can no longer be created. This means that I can't get on with the course! Please help, guys.

Screenshot of Xcode 6, Empty Application is missing.

9 Answers

I found this helpful tutorial on how to modify the Single View Application to be the same as a pre-Xcode 6 empty template.

http://codefromabove.com/2014/09/xcode-6-removing-storyboards-and-creating-useful-empty-projects/

This is great! Thanks!

Adam Berkowitz
Adam Berkowitz
2,673 Points

Matt thanks for the link. How do you import the template into xcode? I'm having trouble this out. Thanks.

Sorry for the late answer, and my smugness, but you should find this helpful. :)

Adam Berkowitz
Adam Berkowitz
2,673 Points

Point taken, but I tried that already. :-) Perhaps I'm not searching for the right thing!

M T
M T
11,934 Points

Adam, check this thread from stackoverflow . . I think it worked. . . by following the instructions, and then taking that plist and icon and copy/pasting it in the appropriate place. If it didn't successfully create an xCode 5 empty app (it's 5AM I'm done), it certainly gives you the ability to create templates by modifying them as you please from that point forward (for instance, Rickey's fix above). Handy!

Instructions say Xcode 4/5, but works the same for 6 from what I just experienced.

http://stackoverflow.com/questions/15491826/how-to-create-project-templates-in-xcode-4

The plist and icon can be downloaded here, from the link supplied earlier by Matt Lebl

http://cl.ly/401z1t1R1b3Zs

Adam Berkowitz
Adam Berkowitz
2,673 Points

Thanks very much. I'll check that out!

You can select Other and then Empty.

Stephen Wall
PLUS
Stephen Wall
Courses Plus Student 27,294 Points

Its about impossible to do this course with the new Xcode.... Time for an update.

xCode 6.3 does not have a "Single View Application" or anything close that I can see.

Gabriel Savard
Gabriel Savard
625 Points

This one worked for me: A simple approach would be to copy the XCode 5's Empty Application template to XCode 6's templates directory.

You can download XCode 5's Empty Application template from here: https://dl.dropboxusercontent.com/u/65674657/Empty%20Application.xctemplate.zip and copy it: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/iOS/Application directory.

Edit:

As suggested by @harrisg in a comment below, You can place the above mentioned template in ~/Library/Developer/Xcode/Templates/Project Templates/iOS/Application/ folder so that it may be available even if Xcode gets updated. And if there is no such directory present, then you might have to create this directory structure: Templates/Project Templates/iOS/Application/ in ~/Library/Developer/Xcode/

Using this simple approach i'm able to create an Empty Application in XCode 6.

obey me
obey me
1,135 Points

Just use the single view application

The code isn't the same as what he has. I think I'd be able to do it by removing some code, I'll have a look into it.

obey me
obey me
1,135 Points

wait what i am lost lol

I'll get a different result than if I use his. Most likely is that something will break. That's just the way programming is.

obey me
obey me
1,135 Points

ok true you are right but your only option is to use to the single view

Nope, not my only option. I can download a template somewhere I think. Or maybe there's some other workaround.

obey me
obey me
1,135 Points

i didn't update my Xcode so i will try to get you a template when i get home what do you think

sounds great!

Actually I managed to download it from a different source, so it looks like things are ship-shape to keep on with the course. I found it on reddit, and you can download it for yourself if you want it.

Whoa, you're going to have to rephrase that question. What are you trying to do? What have you done? Why did it not work? Got it? Now go make another thread. ;) I'm not the best person to ask, as I'm a beginner in iOS too.