2014-05-27 22:33:14 -07:00
2014-05-28 18:27:48 -07:00
2014-05-28 18:53:11 -07:00
2014-05-12 00:21:42 -07:00
2014-05-27 10:55:05 -07:00
2014-04-26 12:56:30 -07:00
2014-04-26 12:56:30 -07:00
2014-05-28 18:46:46 -07:00
2014-05-28 18:53:11 -07:00

Gem Version Travis

synx logo

A command-line tool that automagically reorganizes your Xcode project folder.

synx gif

Xcode

synx Xcode

Finder

synx finder before/after

Installation

Add this line to your application's Gemfile:

gem 'synx'

And then execute:

$ bundle

Or install it yourself as:

$ gem install synx

Usage

Basic

WARNING: Make sure that your project is backed up through source control before doing anything

Execute the command on your project to have it reorganize the files on the file system:

 $ synx path/to/my/project.xcodeproj

It may have confused cocoapods. Pod install, if you use them:

$ pod

You're good to go!

Advanced

Synx supports the following options:

  --prune, -p                   remove source files and image resources that are not referenced by the the xcode project
  --no-default-exclusions       doesn't use the default exclusions of /Libraries, /Frameworks, and /Products
  --exclusion, -e EXCLUSION     ignore an Xcode group while syncing

OCMock, for example, could have done:

$ synx -p -e=OCMock/Core -e=OCKMockTests Source/OCMock.xcodeproj

if they wanted to not sync the OCMock/Core and OCMockTests groups, and also remove (-p) any image/source files found by Synx that weren't ever referenced by any groups in Xcode.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/synx/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
Description
No description provided
Readme 18 MiB
Languages
Ruby 91.7%
Objective-C 8.3%