tomlokhorst / XcodeEdit

Swift library for reading and writing Xcode project files in OpenStep format
MIT License
206 stars 38 forks source link

Command `pod lib lint` fails, if my library uses R.swift #36

Closed till0xff closed 5 years ago

till0xff commented 5 years ago

XcodeEdit generates invalid URLs for project files. PR #35 fixes it.

tomlokhorst commented 5 years ago

Thanks for the PR.

Could you provide an example when an invalid URL is generated?

Op 27 dec. 2018 om 11:21 heeft till0xff notifications@github.com het volgende geschreven:

XcodeEdit generates invalid URLs for project files. PR #35 fixes it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

till0xff commented 5 years ago

Yes, https://github.com/till0xff/XcodeEditIssue36

till0xff commented 5 years ago

Xcode displays the following warnings when building: warning: [R.swift] Filename and/or extension could not be parsed from URL: file:///var/folders/cy/qn3lmv5d2r3gbcxqs1m61c100000gp/T/CocoaPods-Lint-20181227-10265-nal79b-XcodeEditIssue36/Pods/Users/s.erokhin/Projs/XcodeEditIssue36/XcodeEditIssue36/Resources/Localizable.strings

Valid path is /Users/s.erokhin/Projs/XcodeEditIssue36/XcodeEditIssue36/Resources/Localizable.strings

tomlokhorst commented 5 years ago

Thanks for the example project!

I've merged the PR with the fix, this will be in the next R.swift release.