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 trialmattlebl
10,849 PointsNo 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.
9 Answers
Rickey Paape
24,122 PointsI 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/
Dex Gray
5,321 PointsThis one is the best! https://coderwall.com/p/wucjeq/add-empty-application-template-back
Roberto Ferro
2,994 PointsHands down the best
Adam Berkowitz
2,673 PointsMatt thanks for the link. How do you import the template into xcode? I'm having trouble this out. Thanks.
mattlebl
10,849 PointsSorry for the late answer, and my smugness, but you should find this helpful. :)
Adam Berkowitz
2,673 PointsPoint taken, but I tried that already. :-) Perhaps I'm not searching for the right thing!
M T
11,934 PointsAdam, 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
Adam Berkowitz
2,673 PointsThanks very much. I'll check that out!
colinli
5,073 PointsYou can select Other and then Empty.
Stephen Wall
Courses Plus Student 27,294 PointsIts about impossible to do this course with the new Xcode.... Time for an update.
Michael Behan
1,517 PointsxCode 6.3 does not have a "Single View Application" or anything close that I can see.
Kyle Jensen
13,410 PointsFor Xcode 6 I found this link really useful http://stackoverflow.com/questions/25783282/how-to-create-an-empty-application-in-xcode-6-without-storyboard
Gabriel Savard
625 PointsThis 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
1,135 PointsJust use the single view application
mattlebl
10,849 PointsThe 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
1,135 Pointswait what i am lost lol
mattlebl
10,849 PointsI'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
1,135 Pointsok true you are right but your only option is to use to the single view
mattlebl
10,849 PointsNope, not my only option. I can download a template somewhere I think. Or maybe there's some other workaround.
obey me
1,135 Pointsi didn't update my Xcode so i will try to get you a template when i get home what do you think
mattlebl
10,849 Pointssounds great!
mattlebl
10,849 PointsActually 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.
mattlebl
10,849 PointsWhoa, 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.
mattlebl
10,849 Pointsmattlebl
10,849 PointsThis is great! Thanks!