lib/xcodeproj_utils.rb in xcodeproj_utils-0.1.3 vs lib/xcodeproj_utils.rb in xcodeproj_utils-0.1.4
- old
+ new
@@ -49,9 +49,11 @@
files = @target.source_build_phase.files_references
end
if files
for file in files
+ next if file.class != Xcodeproj::Project::Object::PBXFileReference
+
if fullpath
puts file.real_path
else
puts file.path
end