Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27415

CLI: Check and fix executable permissions on titanium_prep binaries on install

    Details

    • Type: Improvement
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None

      Description

      Description

      We've seen a number of people having issues around the titanium_prep executables stripped of their executable permissions (AC-6376, and slack). We should try and check these on download just incase they get lost somehow

      This is fixable by running

      iOS: chmod +x ~/Library/Application\ Support/Titanium/mobilesdk/osx/<SDK VERSION>/iphone/titanium_prep
      Android: chmod +x /~/Library/Application\ Support/Titanium/mobilesdk/osx/<SDK VERSION>/android/titanium_prep.macos

      This commonly manifests in the following kind of errors

      [ERROR] Error: spawn EACCES

      2019-09-23T17:39:47.317Z | ERROR  | An uncaught exception was thrown!
      Cannot read property 'replace' of undefined
      2019-09-23T17:39:47.318Z | ERROR  | Cannot read property 'replace' of undefined
      

      [ERROR] :  TypeError: Cannot read property 'on' of undefined
      

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code