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

Windows: Building module for specific platform/architecture

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: Release 6.1.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2017 Sprint 06 SDK

      Description

      When we build module, currently there's no way to limit target platform/architecture, like building "ARM only module" or "Windows 10 only module" etc. This may become a issue when developer have dependency libraries/binaries that is build against specific target.

      -So we might want to add new command line option to specify target platform and architecture for module build command-

      Steps:

      1. Create your module project

      appc new -n test --id com.example.test
      ### when prompted for the project type, select "Titanium Module" 
      

      2. Limit for "Windows 10 only"

      Edit *YOUR_MODULE_PROJECT/windows/timodule.xml*

        <windows>
          <manifest>
            <uses-sdk targetSdkVersion="10.0"/>
          </manifest>
        </windows>
      

      3. Limit for"ARM only"

      Edit *YOUR_MODULE_PROJECT/windows/manifest*

      BEFORE

      architectures: ARM x86
      

      AFTER (Remove *ARM*)

      architectures: x86
      

      4. Build it

      appc ti build -p windows --build-only
      

      This should create module zip that targets Windows 10 only. You can see there is win10 folder and there's no phone and store folder. Also there should be no win10/ARM folder.

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi (Inactive)
              Reporter:
              kiguchi Kota Iguchi (Inactive)
              Reviewer:
              Gary Mathews
              Tester:
              Samir Mohammed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code