Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-8012

Studio needs to call "appc run" / "ti build" to build iOS/Android modules

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 4.6.0
    • Component/s: Android, iOS, Modules
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2016 Sprint 06 Studio

      Description

      Titanium SDK add support for building Titanium native modules via the CLI a while ago. It is suspected that Studio is still calling ant for Android modules and python build.py for iOS modules. These need to be updated to use the CLI.

      To build Android modules, simply run:

      appc run --platform android --project-dir /path/to/module/android --build-only
       
      - OR -
       
      ti build --platform android --project-dir /path/to/module/android --build-only
      

      For iOS modules, run:

      appc run --platform ios --project-dir /path/to/module/iphone --build-only
       
      - OR -
       
      ti build --platform ios --project-dir /path/to/module/iphone --build-only
      

      Things to note:

      • There should be no notable difference between using the Appc CLI vs Titanium CLI, but I could be wrong. Please advise.
      • The --project-dir must be to the module's platform-specific directory.
      • --build-only is only supported by iOS module build. Android support is coming in Titanium SDK 5.3.0 (TIMOB-20510).
      • The build.py has been officially deprecated as of Titanium SDK 5.2.1 and will be removed from new module projects in Titanium SDK 6.0.0, possibly 5.3.0 or 5.4.0.
      • Refer to TIDOC-2470 for more details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                cbarber Chris Barber
                Reviewer:
                Christopher Williams
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: