vinivendra / Gryphon

The Swift to Kotlin translator.
https://vinivendra.github.io/Gryphon/
Other
609 stars 46 forks source link

support .xcfilelist comments #93

Closed troy-lamerton closed 3 years ago

troy-lamerton commented 3 years ago

Reproduce steps

  1. Add a comment to gryphonInputFiles.xcfilelist
Sources/JsTypes.swift
#Sources/MediaTypes.swift
  1. Run the Gryphon target for your Xcode project
  2. Expected: Gryphon runs successfully Actual: Gryphon fails with 'File not found' error
File not found: #Sources/MediaTypes.swift

Extra info

When viewing gryphonInputFiles.xcfilelist in Xcode editor, the line starting with # is grayed out because Xcode recognizes it as a comment.

vinivendra commented 3 years ago

Thanks for the report, I just pushed commit 7aeaaa3da81a5a16b57f2bd1b75a46deb47ac839 that should fix this 😄

You can try it now if you want with brew install vinivendra/gryphon/gryphon --HEAD, or wait for the fix to be publicly released on Wednesday night.