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

JS iOS modules dont build when SDK is off of users Library

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: Release 1.7.0, Release 1.7.1, Release 1.7.2
    • Fix Version/s: None
    • Component/s: Tooling
    • Environment:

      Tested as far back as 1.7.0, OSX Lion 10.7.1, Python 2.7

      Description

      When building a JS based iOS module, running ./build.py will generate an error of:

      Traceback (most recent call last):
        File "./build.py", line 191, in <module>
          compile_js(manifest,config)
        File "./build.py", line 69, in compile_js
          from compiler import Compiler
      ImportError: cannot import name Compiler
      

      This happens when the titanium.xcconfig file has the TITANIUM_SDK set with the SDK in the users resource directory.
      for example:

      TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)
      

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              mapperson Matthew Apperson
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration