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

CLI: Module zip process will not wait for the zip to be fully complete

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0, Release 6.0.4
    • Fix Version/s: None
    • Component/s: iOS, Tooling
    • Labels:
      None
    • Sprint:
      2017 Sprint 11 SDK

      Description

      When trying to package a (large) module with CLI 6.2.1, the following error is thrown:

      [INFO]  Creating universal library
      [INFO]  Verifying universal library
      [INFO]  Creating module zip
      [INFO]  Writing module zip: /Users/hknoechel/Documents/appcelerator_modules/ti.googlemaps/ios/ti.googlemaps-iphone-3.4.1.zip
      An uncaught exception was thrown!
      undefined
      undefined
      

      Rolling back to 6.2.0 with appc use 6.2.0 resolved the issue for me, so it has to be a regression.

      To reproduce:
      1. Fork and download this module, which is the Ti.GoogleMaps module for Titanium
      2. Ensure the SDK version in ios/titanium.xcconfig is set to one available on your machine
      3. Build the module with appc ti build -p ios --build-only

      Expected: Module builds, new zip is writtent to the project root.
      Actual: Module packaging crashes, a corrupt module zip is written to the project root.

      However, trying the same with Ti.Facebook does not throw an error, but installs the app on the similator instead of just building it (the --build-only flag is ignored). Something weird happened with this release.

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              hknoechel Hans Knöchel
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code