This repository contains Xcode project templates to start up a new project.
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 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 To install or update the templates you need:
Quit Xcode 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
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
Open up the Terminal andcd
into your project folder Call in Terminalmake init
Callmake synx
Open up the .xcodeproj file Open Build Phases of your target, remove unecessary files from Compile Sources and Copy Bundle Resources Insert keys in Fastlane files Open fastlane folder Insertteam_id
in AppFile Insertapi_token
,build secret
andemails
inupload_to_fabric
lane