Template used for a specific file type, within Xcode
Questions tagged [xcode-template]
91 questions
3
votes
1 answer
Creating a custom project template for Xcode 13
I am trying to get my feet wet with custom file/project templates in Xcode.
I managed to get a simple project template up and running, but I do have 2 issues with it:
the template files are not automatically added to the existing targets–I have to…

appfrosch
- 1,146
- 13
- 36
3
votes
3 answers
Xcode, deleted .pch file by mistake, can it be recovered?
As i understand it, .pch files are responsible for precompiling header files. Sounds like something that can rebuilt or recreated.
2 questions:
Does Xcode have something similar to recycle bin from there file deletions can be undone?
Is there a…

James Raitsev
- 92,517
- 154
- 335
- 470
3
votes
2 answers
How to add "New Group with Folder" in custom project template by using Xcode 9.x?
I have a custom Xcode project template which generates a project and adds los of Swift boilerplate source files in custom folders. My problem is that I can only create group folders like this: , which represents a Group not associated with a file…

Naveen Sharma
- 311
- 2
- 8
3
votes
1 answer
Differences between "empty project" and "external build system" in XCode
I am new in the programming world, and use XCode's IDE and compiler (GCC?) to program. But I have a questions, what is the differences between "empty project" and "external build system" in XCode?
It's sounds like a stupid question, but why not ask?…

Anomym
- 391
- 1
- 4
- 6
3
votes
3 answers
Custom XCode Template?
I would like to make my own iPhone Application Templates in XCode, based on a modified project from the Apple templates.
For example, I would like to take a View Based project, add an Image View and save that project as a template. Really, this is…

Moshe
- 57,511
- 78
- 272
- 425
3
votes
1 answer
How can I set the deployment target in a Xcode Template?
I am trying to create a iOS Project Xcode Template for Xcode 4.6.1.
Is it possible to set the Deployment Target in a the TemplateInfo.plistfile? - How?

ThomasCle
- 6,792
- 7
- 41
- 81
2
votes
2 answers
main Differenece Between View-Based and Window-Based Application template?
What Is The Main Difference Between a View-Based Application Template And Window-Based Application Template In Iphone?

Rahul Vyas
- 28,260
- 49
- 182
- 256
2
votes
0 answers
Add source tree to xCode 4 project template
I am creating a xcode 4 project template. I can get pretty much every thing I want in my project except a Source Tree reference.
I have a project in my xCode -> Preferences -> Source Tree which I want incorporated in my template without having to…

abe
- 4,046
- 6
- 29
- 33
2
votes
0 answers
Xcode custom template with folder
I created template with folder but why is my folder blue ?
How can I fix blue folder. How Can I create gray folder ?
My custom template folder.
My custom template info.plist

Ufuk Köşker
- 1,288
- 8
- 29
2
votes
1 answer
IDETemplateMacros.plist not working when developing Library
I have created a IDETemplateMacros.plist with the following
…

EndersJeesh
- 427
- 1
- 4
- 20
2
votes
1 answer
Discrepancy between tutorial on developer.apple.com and Xcode project template
I was following the tutorial at developer.apple.com for learning Cocoa, and I found something in my project that was not in the tutorial. It was the Application Delegate that was made when I started the project. In their tutorial it shows this in…

nambvarun
- 1,201
- 4
- 13
- 14
2
votes
1 answer
Customize XCode File Template with checkbox
I have been trying to create the Xcode File Template that contains boiler plate files and code structure for MVVM design pattern.
I created a module successfully with custom template using the plist configuration and file structure as below:

Ranxan
- 21
- 5
2
votes
1 answer
XCode 7 Custom Templates: Change Build Settings
I am creating a custom XCode project template following this tutorial.
I am able to set build settings with FRAMEWORK_SEARCH_PATHS but its not working with GCC_PREFIX_HEADER or LD_RUNPATH_SEARCH_PATHS.
I tried many different solutions but its not…

rushisangani
- 3,195
- 2
- 14
- 18
2
votes
1 answer
Xcode - change project templates
So I can add new templates for single files, but I want Xcode to uses these files when setting up the new project (most noticeably the Controller and Delegate .h and .m files). How do I do that?

Igor
- 2,673
- 5
- 33
- 39
2
votes
2 answers
Xcode custom project template creates only references to files
I tried to create a custom project template for setting up unit testing.
The problem is that when i create a new project based on this template it creates references to the template files :
When i edit a file, it changes my template files instead of…

vdaubry
- 11,369
- 7
- 54
- 76