No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Problem building app in macOS (Cordova related)

    Help
    2
    2
    523
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      doodom last edited by

      Hi,

      I have a very strange problem with Cordova in macOS High Sierra. The problem is when I try to build the app I get the following error message:

      app:spawn: Running “cordova build --release ios” +1ms

      "Unexpected token I in JSON at position 0"

      app:spawn: Command “cordova” failed with exit code: 1 +9ms

      0_1542805200191_Anotación (5).png

      Is there any reason for this? When I build the Android version (in another computer) the build process works without problems.

      I already have XCode installed and I have accepted de license agreement.

      1 Reply Last reply Reply Quote 0
      • E
        Evan last edited by

        I had the same error. Im’ not 100% sure, but I think it has to do with plugins: I had one which had been removed from the config.xml file, but the folder still existed in src-cordova/plugins. Make sure this folder, the config file and src-cordova/package.json are all on the same page when it comes to plugins.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post