Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
caoer opened this issue Jul 12, 2016 · 1 comment

Comments

@caoer
Copy link

caoer commented Jul 12, 2016

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
Copy link

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 :
  • name.end_with?('xcassets', 'bundle', 'xib', 'storyboard', '{Your Extension}')

In your case, you just need to do this :

  • name.end_with?('xcassets', 'bundle', 'xib', 'storyboard', 'xcconfig')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants