Skip to content

Setup for liftoff CLI for creating and configuring new Xcode projects in Swift

Notifications You must be signed in to change notification settings

Maximelc/liftoffConfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

liftoffConfig

Setup for liftoff CLI for creating and configuring new Xcode projects in Swift

Setup

  1. Instalation
  brew tap liftoffcli/formulae
  brew install liftoff
  1. Add the Swift 4 and Xcode 9 compatibility

You'll need to go to the directory located at /usr/local/Cellar/liftoff/{lastest version}/rubylib/liftoff/

Edit the file named project.rb, in function named 'new_app_target' add this line configuration.build_settings['SWIFT_VERSION'] = '4.0'

Edit the file named project_builder.rb, replace the data of function named 'resource_file' by

def resource_file?(name)
 name.end_with?('xcassets', 'bundle', 'xib', 'storyboard', 'xml')
end
  1. Enjoy liftoff 🍻

About

Setup for liftoff CLI for creating and configuring new Xcode projects in Swift

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published