Code Monkey home page Code Monkey logo

Comments (5)

JiriTrecak avatar JiriTrecak commented on August 16, 2024

Hey sohayb,

I just tried to run it on El Capitan and it seems that it works for me, from both downloaded script and brew (are you sure you are trying it in folder where it is if you have it downloaded? :))

Aren't you trying to do

swift LaurineGenerator.swift ? 

Because if downloaded from brew, there is no need to write "swift" at the beginning of the command - it won't work and it will throw the exact error as I just tried:

X:~ jiritrecak$ swift LaurineGenerator.swift
<unknown>:0: error: no such file or directory: 'LaurineGenerator.swift'

Hope it helps!
Have a nice day

Jiri

from laurine.

sohayb avatar sohayb commented on August 16, 2024

Cool, it worked! Now the command runs smoothly, except there's nothing generated :(
Running

LaurineGenerator.swift -i Localizable.strings -c -o Localizations.swift

from laurine.

JiriTrecak avatar JiriTrecak commented on August 16, 2024

Make sure you are in the folder where the "localizable.strings" file actually is (> cd path_to_loc.strings), the logging of the errors in the command line is coming in future version (currently, it will only tell you that those files do not exists if you run it from xcode.

from laurine.

sohayb avatar sohayb commented on August 16, 2024

This is embarrassing :) there was a leading space in the file name!
Thanks for your help.

from laurine.

JiriTrecak avatar JiriTrecak commented on August 16, 2024

You are most welcome. Enjoy the tool!

from laurine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.