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

Prompt user to accept Xcode license agreement in response to "Error 69" in debug log

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.1.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2015 Sprint 22 SDK

      Description

      If Xcode needs a license to be accepted, you will get the following error:

      [ERROR] :  An error occurred during build after 15s 47ms
      [ERROR] :  69
      TRACE  | titanium exited with exit code 1
      ERROR  | Error: ti run exited with error code 1
          at ChildProcess.<anonymous> 
      

      You will see this in the build log:
      [TRACE] Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

      However, error "69" seems to be indicative of this specific problem. We should catch that error value and correctly prompt the user to accept the license agreement.

      If we want to be truly elegant, we can do "sudo xcrun cc" and prompt the user ourselves.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              ingo Ingo Muschenetz
              Reviewer:
              Praveen Innamuri (Inactive)
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                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