How to correctly create carthage cartfile?

From the command line, navigate to your project directory.

touch Cartfile

Now the Cartfile is created, make it executable with:

chmod +x [YourDirectory/Cartfile]

You can open it with any text editor. Then insert whatever library and source you want (Example: github "SwiftyJSON/SwiftyJSON" >= 2.1.2)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)