Go to file
dependabot-preview[bot] f4d184f96c
Bump xcodeproj from 1.14.0 to 1.15.0
Bumps [xcodeproj](https://github.com/cocoapods/xcodeproj) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/cocoapods/xcodeproj/releases)
- [Changelog](https://github.com/CocoaPods/Xcodeproj/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cocoapods/xcodeproj/compare/1.14.0...1.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 11:23:51 +00:00
.dependabot Fix invalid dependabot config 2019-12-18 18:21:31 +00:00
.github Merge pull request #948 from tuist/remove-pr-build 2020-01-30 09:01:10 +01:00
.vscode New website 2019-12-17 10:07:49 +01:00
Sources Merge pull request #979 from tuist/ci-checker 2020-02-09 11:03:01 +09:00
Tests Merge pull request #979 from tuist/ci-checker 2020-02-09 11:03:01 +09:00
assets Fix the style of documentation tables 2019-12-17 20:25:57 +01:00
design Add sketch file 2019-07-02 19:12:10 +02:00
features Ensure precompiled frameworks of target applications aren't included in UI test targets (#888) 2020-01-15 14:06:03 +00:00
fixtures Add fixture generator for stress testing Tuist (#890) 2020-01-30 07:18:14 +00:00
script New website 2019-12-17 10:07:49 +01:00
website Fix an issue with the SEO 2020-02-09 11:00:19 +09:00
.editorconfig Add some badges 2018-04-17 10:14:48 +02:00
.gitattributes Add Danger (#186) 2018-12-21 20:01:04 +01:00
.gitignore New website 2019-12-17 10:07:49 +01:00
.nvmrc Version 1.0.0 2019-12-17 10:30:59 +01:00
.prettierrc Add some badges 2018-04-17 10:14:48 +02:00
.rubocop.yml New website 2019-12-17 10:07:49 +01:00
.ruby-gemset Add `.ruby-gemset` 2019-03-10 05:51:48 +00:00
.ruby-version Remove OpenCombine 2020-02-03 08:20:55 +09:00
.swift-version Precompile frameworks & libraries with Swift 5.1.2 2019-12-06 18:55:04 +01:00
.swiftformat Fix continuous integration (#502) 2019-09-18 23:55:46 +02:00
.swiftformat-version Bump swift format version 2020-01-17 22:40:26 +00:00
.swiftlint.yml Fix continuous integration (#502) 2019-09-18 23:55:46 +02:00
CHANGELOG.md Add new version to Changelog 2020-01-31 18:17:28 +01:00
Gemfile Bump xcodeproj from 1.14.0 to 1.15.0 2020-02-10 11:23:51 +00:00
Gemfile.lock Bump xcodeproj from 1.14.0 to 1.15.0 2020-02-10 11:23:51 +00:00
LICENSE.md Add LICENSE 2018-06-28 15:00:33 +02:00
Package.resolved Remove OpenCombine 2020-02-03 08:20:55 +09:00
Package.swift Rename TuistGalaxy to TuistCache 2020-02-07 14:33:59 +09:00
README.md Fix center aligning logo 2020-01-04 20:24:53 +11:00
RELEASE.md Remove release step 2019-11-14 18:20:33 +01:00
Rakefile Address comments 2020-01-21 15:07:54 +00:00
secrets.ejson Package and upload Tuist on every commit build (#403) 2019-06-20 22:25:50 +02:00

README.md

code style: prettier codecov Slack

What's Tuist 🕺

Tuist is a command line tool that helps you generate, maintain and interact with Xcode projects.

It's open source and written in Swift.

Defining your projects 💼

With Tuist, projects are defined in a Project.swift, also known as manifest. The manifest format abstracts you from the implementation details of Xcode projects. In your manifest you can define which targets your project has, which sources and resources belong to them, as well as the dependencies with targets in the same and other projects. The advantages of defining the projects in a manifest are:

  • It can catch misconfigurations and fail early. For example, if a target has an invalid dependency, itll let you know before you start compiling the app.
  • Since the manifest doesnt include Xcode implementation details, the likelihood of having git conflicts is significantly lower.
  • It makes the configuration easier. The decision on how the project looks is on you. Tuist processes it and manages the complexity for you. One example of that complexity is setting up dependencies between targets.

The example below shows how projects are defined with Tuist:

import ProjectDescription

let project = Project(name: "App",
                      targets: [
                        Target(name: "App",
                               platform: .iOS,
                               product: .app,
                               bundleId: "io.tuist.App",
                               infoPlist: "Info.plist",
                               sources: ["Sources/**", "OtherSources/**"],
                               dependencies: [
                                    /* Target dependencies can be defined here */
                                    /* .framework(path: "framework") */
                                ]),
                        Target(name: "AppTests",
                               platform: .iOS,
                               product: .unitTests,
                               bundleId: "io.tuist.AppTests",
                               infoPlist: "Tests.plist",
                               sources: "Tests/**",
                               dependencies: [
                                    .target(name: "App")
                               ])
                      ])

Interacting with your projects 🙇‍♀️

Tuist leverages project generation to provide a simple and convenient set of commands, standard across all the projects. The commands infer most of the necessary information from your projects, requiring you to pass only the arguments that are strictly necessary.

Having a standard command line interface makes it easier to jump between projects since theres an interaction language everyone in the team is familiar with.

  • 👩‍💻 Init: Bootstraps a new project. You can specify the platform and the type of project and itll generate all the necessary artifacts (Info.plist, AppDelegate, Project.swift, Playgrounds…).
  • 💫 Generate: Generates the Xcode workspace and projects to work on a particular project.
  • 📦 Build: (Not available yet) Builds the project in the current directory. It supports all the arguments that xcodebuild supports.
  • Test: (Not available yet) Test the project in the current directory. It supports all the arguments that xcodebuild supports.
  • 📱 Run: (Not available yet) Runs the project. If the project needs a device to run on, itll prompt you to select one.
  • 🚀 Release: (Not available yet) Builds and publishes your project on iTunes Connect.

The list of actions will likely grow as we get feedback from you.

Install ⬇️

bash <(curl -Ls https://install.tuist.io)

Bootstrap your first project 🌀

tuist init --platform ios
tuist generate # Generates Xcode project & workspace

Check out the project "Getting Started" guide to learn more about Tuist and all its features.

Documentation 📝

Do you want to know more about what Tuist can offer you? Or perhaps want to contribute to the project and you need a starting point? You can check out the project documentation.

Setup for development 👩‍💻

  1. Git clone: git clone git@github.com:tuist/tuist.git
  2. Generate Xcode project with swift package generate-xcodeproj.
  3. Open tuist.xcodeproj.
  4. Have fun 🤖

Testing

Unit tests

Tuist has a suite of unit tests for its various target that can be run via Swift Packager Manager by invoking:

swift test

Acceptance tests

Additionally, Tuist has a few high level acceptance tests written in cucumber and ruby which can be run by invoking:

rake features

Shield

If your project uses Tuist, you can add the following badge to your project README:

Tuist Badge

[![Tuist Badge](https://img.shields.io/badge/powered%20by-Tuist-green.svg?longCache=true)](https://github.com/tuist)

Open source

Tuist is a proud supporter of the Software Freedom Conservacy

Become a Conservancy Supporter!

License

FOSSA Status