liftoffcli / liftoff

CLI for creating and configuring new Xcode projects
MIT License
1.61k stars 106 forks source link

how to add files into project without adding them into app target or test target #277

Open caoer opened 8 years ago

caoer commented 8 years ago

I have a few xcconfig files from https://github.com/jspahrsummers/xcconfigs. I want to add them into project but not have them added into app target or test target. How can I do that? looks like files under app_target_templates will be added into app target and files under templates won't be added into the project.

Maximelc commented 7 years ago

I found a solution !

1) Go to /usr/local/Cellar/liftoff/{lastest version}/rubylib/liftoff/ 2) Open the file named project_builder.rb 3) Find the function named resource_file(in my case line 90) and add your extension like this :

In your case, you just need to do this :