Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby xcodeproj throwing `normalize_source_tree': [Xcodeproj] Unrecognized source tree option `Auto` (RuntimeError)

Iam using xcodeproj for adding a static library to my xcodeproject and iam getting an error in the new_file method the error is : normalize_source_tree': [Xcodeproj] Unrecognized source tree optionAuto` (RuntimeError) any help ?

like image 530
user3115014 Avatar asked Mar 05 '14 10:03

user3115014


1 Answers

Are you doing something like this?

project.new_file(file_path, "Auto");

If so, modify your line to follow this syntax:

project['Auto'].new_file(file_path);

Does that solve your problem? If not, please post the line giving you the error.

like image 197
Niklas Berglund Avatar answered Nov 06 '22 02:11

Niklas Berglund