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

Ensure platform scripts are executable as the platform could be added on non-OSX environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • 4.0.0
    • cordova-ios
    • None

    Description

      Some shell scripts turn out to be non-executable when ios platform is added on non-OSX machine and then pushed to github.

      Error logs:
      PhaseScriptExecution Copy\ www\ directory build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh
      cd /Users/admin/Desktop/cordova5/osxtest/platforms/ios
      /bin/sh -c /Users/admin/Desktop/cordova5/osxtest/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh
      /Users/admin/Desktop/cordova5/osxtest/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh: line 2: cordova/lib/copy-www-build-step.sh: Permission denied

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daserge Sergey Shakhnazarov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: