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

1

5

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 ?

Dozer answered 5/3, 2014 at 10:46 Comment(0)
A
7

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.

Algeria answered 13/9, 2014 at 8:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.