CocoaPods / Xcodeproj

Create and modify Xcode projects from Ruby.
http://rubygems.org/gems/xcodeproj
MIT License
2.37k stars 458 forks source link

fix: Support optional includes #940

Closed Werelds closed 4 months ago

Werelds commented 6 months ago

This PR adds support for the optional include syntax #include?. Xcode will include these files if they exist and ignore the entries otherwise.

Due to how the library currently handles includes, it's only the syntax that needs to be supported as it already considers all includes optional.

segiddins commented 4 months ago

Needs test coverage added

Werelds commented 4 months ago

Added an explicit test for it.