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

    Cordova iOS build not working with Xcode 10

    Framework
    5
    5
    2736
    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.
    • M
      mds1 last edited by

      I recently started a new project, and when running quasar dev -m cordova -T ios I received the following error:

      /Users/username/Documents/ProjectName/src-cordova/platforms/ios/build/emulator/ProjectName.app/Info.plist file not found.
      

      From this Cordova issue, it appears to be an issue with the new Xcode 10 build system, which is not yet supported by Cordova.

      In that issue you’ll see there are three ways to implement the workaround. The third one – opening up Xcode and manually changing a setting – was the only one I was able to get working with Quasar.

      The first one – running cordova run ios --buildFlag='-UseModernBuildSystem=0' instead of just cordova run ios – seems like it should be simple to implement into Quasar.

      Just figured I’d share this in case you weren’t aware

      1 Reply Last reply Reply Quote 1
      • V
        vshulghin last edited by vshulghin

        Putting build.json in /src-cordova with this content

        {
            "ios": {
                "debug": {
                    "buildFlag": ["-UseModernBuildSystem=0"]
                }
            }
        }
        

        also works

        1 Reply Last reply Reply Quote 0
        • د
          دنده دستی last edited by

          excuse me
          My system’s programs are having problems
          I tried a few methods
          But it remains the same

          1 Reply Last reply Reply Quote 0
          • Shone
            Shone last edited by

            @دنده-دستی Can you be more specific please?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              This is a known issue having impact on all Cordova (including Ionic) apps. The reason is that xcode 10 changes the build system. Until Cordova adapts, you need to open the xcode project created and set up to build with the previous build system OR create the build.json file in src-cordova and configure it. Please Google for XCode 10 and Cordova issues.

              Some references: https://imelgrat.me/phonegap/xcode-10-upgrade-cordova-builds-fail/

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