Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A list of Xcode project templates

License

NotificationsYou must be signed in to change notification settings

surfstudio/Xcode-Project-Templates

Repository files navigation

This repository contains Xcode project templates to start up a new project.

Requirements

Xcode 8 or later.

Base features (contains in all templates)

  • Folders structure - сreates folders for good structuring of the files
  • Gitignore - adds gitignore file with base rules

List of templates

  • Surf MVP Application

    Features

    • Adds Podfile with SwiftLint and SwiftGen pods
    • Adds .swiftlint.yml file and SwiftLint Run Script to Build phases
    • Adds .swiftgen.yml file and SwiftGen Run Script to Build phases
    • Adds Gemfile with fastlane, cocoapods, synx and generamba gems
    • Creates Fastlane files with template methods
    • Creates Rambafile with surf_mvp_module template and paths to project target and tests target
    • Creates Makefile with helper methods

Installation

To install or update the templates you need:

  1. Quit Xcode
  2. On the command line:
cd ~/Downloadsgit clone https://github.com/surfstudio/Xcode-Project-Templatescd Xcode-Project-Templatessh ./install.shcd ..rm -rf Xcode-Project-Templates

Or if you have a cloned repository:

  • On the command line, cd into the directory with cloned templates and writesh ./install.sh

screen shot 2017-08-21 at 20 41 30

After that:

  • Launch Xcode and select create a new Xcode project and you'll see the new category "User Templates" that will contain new templates

screen shot 2017-08-20 at 12 35 40

After creating a project

Fix folders links

  1. Open up the Terminal andcd into your project folder
  2. Call in Terminalmake init
  3. Callmake synx

Remove unnecessary files

  1. Open up the .xcodeproj file
  2. Open Build Phases of your target, remove unecessary files from Compile Sources and Copy Bundle Resources

Insert keys in Fastlane files

  1. Open fastlane folder
  2. Insertteam_id in AppFile
  3. Insertapi_token,build secret andemails inupload_to_fabric lane

[8]ページ先頭

©2009-2025 Movatter.jp