Created
December 1, 2021 16:49
-
-
Save wvteijlingen/37c4d214342a5d11bca722e5ae36180d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Very naive way of finding files that are in the filesystem but not added to an Xcode project | |
proj = File.read("path-to-project.pbxproj") | |
puts Dir.glob("./**/*.swift") | |
.map { |e| File.basename(e) } | |
.reject { |e| proj.include?(e) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment