Skip to content

hoppsen/xcode-template

Repository files navigation

Xcode Template

My favorite Xcode project structure, plus SwiftLint and SwiftFormat pre-configured.

Getting started

  1. Install Xcode

  2. Verify your Ruby version

    ruby --version

    Ideally it show you something like this (Required: >= 2.7.0):

    ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin22]

    Check the Troubleshooting Guide to fix your Ruby version.

  3. Install bundler

    gem install bundler --user-install
  4. Clone this repository via SSH

    git clone git@github.com:hoppsen/xcode-template.git

    Check the Troubleshooting Guide to setup SSH (for GitHub).

  5. Navigate to the project's directory.

  6. Install all gems via bundle.

    bundle install
  7. Run our guided setup script.

    bundle exec fastlane setup
  8. (Optional) Rename the whole project to a name of your choice.

    bundle exec fastlane rename new_name:Hoppsen
  9. Open Template.xcodeproj (or new name if renamed before)

  10. Start coding 🚀


Project created with template from https://github.com/hoppsen/xcode-template.

About

My favorite Xcode project structure, plus SwiftLint and SwiftFormat pre-configured.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors