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

Native module zip not automatically extracting in project folder

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.3
    • Fix Version/s: Release 3.3.0
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      TiSDK 3.2.3
      Ti CLI 3.2.3
      Mac OSX 10.9.3

    • Sprint:
      2014 Sprint 12 Tooling

      Description

      problem

      I'm seeing this same issue as in TIMOB-15714, but when putting the module zip in the local project root folder. The zip file is being ignored and I'm getting an error like this:

      [DEBUG] Looking for Titanium module id=ti.mw.todo version=1.0.0 platform=commonjs deploy-type=development
      [WARN]  Could not find Titanium module id=ti.mw.todo version=1.0.0 platform=commonjs deploy-type=development
      [ERROR] Could not find all required Titanium Modules:
      [ERROR]    id: ti.mw.todo	 version: 1.0.0	 platform: commonjs	 deploy-type: development
      

      If I move the zipped module to the global modules folder, ~/Library/Application Support/Titanium in my case, the module extracts automatically on build and works just fine.

      expected

      A zipped native module in my project folder should automatically extract when I execute ti build

      actual

      The native module is not extracted and I encounter a build error

      test

      This case is the same as the case in TIMOB-15714, with only the location of the native module changed.

      1. create an app in either Studio or CLI
      2. add any module to tiapp.xml
      3. place module zip file in the newly created project's folder
      4. build app for any platform/target
      5. encounter the error listed in the problem section

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              tlukasavage Tony Lukasavage
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration