/DaXcodeTemplates

Templates and code snippets

Primary LanguageRuby

Xcode Templates

A repository of templates to kickstart development.

Setup

git clone https://github.com/samwize/DaXcodeTemplates

Assuming the project is cloned in ~/Workspace/DaXcodeTemplates, we need to create symbolic links to Xcode.

cd ~/Workspace/DaXcodeTemplates
ln -s ~/Workspace/DaXcodeTemplates/Templates ~/Library/Developer/Xcode/
ln -s ~/Workspace/DaXcodeTemplates/CodeSnippets ~/Library/Developer/Xcode/UserData/

If there is warning "File exists" during linking, you have to delete ~/Library/Developer/Xcode/Templates and ~/Library/Developer/Xcode/UserData/CodeSnippets first.

.gitignore

The .gitignore includes standard Xcode files and fastlane.

cp .gitignore /your/project/

Fastfile

A fastfile with common usage.

cp fastlane/Fastfile /your/project/fastlane/

Usage:

# Build and upload to ITC
fastlane release

# Separately, update the metadata and screenshots
fastlane deliver_meta