Closed philmitchell closed 1 year ago
Can you please paste the full command you're running, and what the lproj paths are in your source tree?
locheck discoverlproj "/Users/phil/dev/client_repo/source\ dir"
/Users/phil/dev/client_repo/source\ dir/Base.lproj/ /Users/phil/dev/client_repo/source\ dir/English.lproj/ /Users/phil/dev/client_repo/source\ dir/en-AU.lproj/ /Users/phil/dev/client_repo/source\ dir/en-GB.lproj/ /Users/phil/dev/client_repo/source\ dir/en-NZ.lproj/ /Users/phil/dev/client_repo/source\ dir/en.lproj/
Yeah, that does look correct. I'll look into this some time in the next couple weeks, though if you're feeling adventurous, you could check out the code and add some breakpoints here: https://github.com/Asana/locheck/blob/main/Sources/LocheckCommand/main.swift#L319
Oh, I just realized - your shell command includes a \
in the quoted string, which isn't necessary. You either need quotes, or the backslash. Could you please try removing either one?
Steve, you are right ... it works fine. Sorry for the noise and thanks for the quick response!
No problem!
The
xcstrings
command works, butdiscoverlproj
fails with a "File does not exist" error.This is on MacOS.
Thanks for the invaluable tool!