How to add a file to all goals in Xcode when you have many goals?

I have a project with more than 50 objects and growing, and it becomes cumbersome to add files to all goals, because it takes a lot of time to select each goal.

I am aware of several methods for adding a file to multiple targets, but all of them include checking the field for each target. (for those looking for this: How to add a .plist file to all targets in Xcode? )

I am looking for an alternative method or script that can be used to add a file or set of files to all project objects without selecting them one at a time. Does anyone know a trick?

+6
source share
2 answers

GitHub repo. , . ruby ./addfile.rb , script img.jpg (projex2, projex3). script xcodeproj ruby ​​gem. sudo gem install xcodeproj .

0

script, , . - ?

, - , , , . , , .

0

Source: https://habr.com/ru/post/1665183/


All Articles