Project: appceleratorstudio
Issue TISTUD-8012: Studio needs to call "appc run" / "ti build" to build iOS/Android modules
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: {code} 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 {code} For iOS modules, run: {code} 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 {code} 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.
Story points: 5