Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extension project templates not appearing in Xcode 6

Tags:

I'm not sure if I am the only one experiencing this program, but I have tried searching and have not been able to find anyone in my current situation. I downloaded Xcode 6 beta and was interested in Extension programming for iOS 8. However, I have been unable to locate the extensions in my project templates when creating a new project in Xcode, I saw a YouTube video (unrelated to extension programming) but I did notice that the option was not there for the said video. Now, I have had a look through the contents of the Xcode 6 beta package and have been able to locate the actual templates themselves, so I have no doubt they are present, it just seems that they are not actually being loaded.

For the record, I also downloaded some example custom keyboard code from GitHub in order to see whether Xcode will recognise it and it does, going as far as actually displaying the 'E' icon beside the build target. I should also mention that I do have a build of Xcode 5 also present on my machine.

Is anyone else experiencing this issue, or does anyone know how to overcome it?

Thanks

like image 791
Terry Avatar asked Jun 05 '14 09:06

Terry


People also ask

How to find Xcode templates?

All the Xcode default template files are located at /Applications/Xcode. app/Contents/Developer/Library/Xcode/Templates/File Templates and grouped into sections by folder name. We can use Terminal or Finder to go directly to this folder. With Finder we can use the Go Menu, then Go to folder option.

Where are Xcode templates stored?

To sum up, you need to navigate to this folder (if not existent, create it): /Users/$USER_NAME/Library/Developer/Xcode/Templates/Project Templates everything within the templates folder is going to be listed in your Project creation wizard when as long as it is in a valid format.

What are extensions in Xcode?

You build extensions to the source editor in Xcode using XcodeKit. Source editor extensions can read and modify the contents of a source file, as well as read and modify the current text selection within the editor.


1 Answers

You create a extension by creating a new target in an existing project.

Check this link for more information

like image 172
streem Avatar answered Nov 13 '22 10:11

streem