Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13202

iOS builds works only with lowercase directory names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • cordova-ios@4.4.0, cordova@7.0.0
    • cordova-ios 4.5.0
    • cordova-ios
    • Development: Use Windows and Windows zip to create file for upload to PGB. Browser used for upload=Chrome.
      Testing: Error seen on iPod Touch.

    Description

      I have an app with an index.html which amongst other things contain lines like this
      <link rel="stylesheet" href="CSS/styles.css">
      and
      <script type="text/javascript" src="JS/custom.js"></script>

      Now this works like a dream if I build with cli-6.5.0 - both for iOS and Android.
      If I build with cli-7.0.1 it only works for Android, and I can see in iOS that the files styles.css and custom.js are simply not loaded.

      However, if I change the directory names to lowercase and correspondingly change to
      <link rel="stylesheet" href="css/styles.css">
      and
      <script type="text/javascript" src="js/custom.js"></script>

      it works also for iOS on cli-7.0.1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Pdc AppDev Pdc AppDev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: