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

iOS: Hyperloop - Cannot build Hyperloop project if Xcode is not in default location

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.4.0
    • Fix Version/s: Backlog
    • Component/s: Hyperloop, iOS
    • Labels:
    • Environment:

      MacOS 10.11.5 (15F31a)
      Studio 4.7.0.201607250649
      Ti SDK 5.4.0.v20160809033140
      Appc NPM 4.2.7
      Appc CLI 5.4.0-40
      Alloy 1.9.1
      Xcode 7.3.1 (7D1014)
      Hyperloop 1.2.5 & 1.2.6

    • Story Points:
      5
    • Sprint:
      2016 Sprint 17 SDK

      Description

      If Xcode is not in the default location (/Applications/Xcode.app), Hyperloop projects fail to build (the metabase fails to generate).

      Steps to reproduce issue
      1. Ensure there is not an Xcode in the default location (/Applications/Xcode.app)
      2. Select your Xcode, not in the default location, using sudo xcode-select -s /path_to_xcode/Contents/Developer
      3. Create a new project with Hyperloop
      4. Change the code of the project to reference Hyperloop
      5. Build the project for sim or device

      Actual Results
      The build fails with:

      [TRACE] [Hyperloop] metabase took 37 ms to generate
      2016-08-10T16:32:54.320Z | ERROR  | An uncaught exception was thrown!
      ENOENT: no such file or directory, open '/Users/Eric/Documents/Appcelerator_Studio_Workspace/HLTEST/build/hyperloop/ios/metabase-7.1-iphonesimulator-2e0197f93f6a8a0561f89e29961fab80.json'
      2016-08-10T16:32:54.322Z | ERROR  | ENOENT: no such file or directory, open '/Users/Eric/Documents/Appcelerator_Studio_Workspace/HLTEST/build/hyperloop/ios/metabase-7.1-iphonesimulator-2e0197f93f6a8a0561f89e29961fab80.json'
      

      Expected Results
      The build succeeds and the metabase is created

      Notes
      After the error I have the .h file in my build/hyperloop/ios folder, but the .json files and js folder are not populated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                ewieber Eric Wieber (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-10004
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration