Carthage: Parse error

Created on 7 Jun 2017  Â·  5Comments  Â·  Source: Carthage/Carthage

  • 0.23.0
  • 8.3.3
  • Are you using --no-build? no
  • Are you using --no-use-binaries? no
  • Are you using --use-submodules? no
  • Are you using --cache-builds? no

Cartfile

<github TimBibb/Zip #GitHub>

Carthage Output

<Parse error: expected string after dependency type in line:>

When calling Carthage update or Carthage build on the directory my Cartfile is stored in, it gives me this parse error. I'm not sure what I am supposed to do here.

question

Most helpful comment

You are using wrong character––“ is not ".

All 5 comments

github TimBibb/Zip

As noted in the documentation you must quote the NWO: github "TimBibb/Zip".

Parse error: expected string after dependency type in line: github “TimBibb/Zip” #github
This was the error given to me after I changed what you said to do

On Jun 7, 2017, at 3:40 AM, Syo Ikeda notifications@github.com wrote:

Closed #1981 https://github.com/Carthage/Carthage/issues/1981.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Carthage/Carthage/issues/1981#event-1113129795, or mute the thread https://github.com/notifications/unsubscribe-auth/Abw-O0gEjbYlGFn7htAdANWKeHOmQk4vks5sBlP4gaJpZM4NyT_D.

You are using wrong character––“ is not ".

Thank you so much!

On Jun 7, 2017, at 3:52 AM, Syo Ikeda notifications@github.com wrote:

“ is not ".

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Carthage/Carthage/issues/1981#issuecomment-306717701, or mute the thread https://github.com/notifications/unsubscribe-auth/Abw-O2-ihKcQnETwiQrHGCyIEAxT4ENtks5sBlargaJpZM4NyT_D.

I was using comments in my Cartfile.resolved. Something like this:

# github "SomeAuthor/Dependecy" "2.0"

This was causing the same issue. Removing it worked for me :)

Was this page helpful?
0 / 5 - 0 ratings