diff --git a/tools/gyp/pylib/gyp/generator/xcode.py b/tools/gyp/pylib/gyp/generator/xcode.py index 066bb9f02f8..f905efdd896 100644 --- a/tools/gyp/pylib/gyp/generator/xcode.py +++ b/tools/gyp/pylib/gyp/generator/xcode.py @@ -1161,7 +1161,7 @@ exit 1 if support_xct: support_xct.AddDependency(xcode_targets[dependency]) - if 'libraries' in spec: + if spec['type'] != 'none' and 'libraries' in spec: for library in spec['libraries']: xct.FrameworksPhase().AddFile(library) # Add the library's directory to LIBRARY_SEARCH_PATHS if necessary.