Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16292] iOS: Behavior for titanium build --build-only is now different with 3.2.0 release

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsiOS
Labelsbuild, cb-tooling, titanium, titanium-cli
Reportersunny rajpal
AssigneeChris Barber
Created2014-01-16T16:38:46.000+0000
Updated2016-09-02T06:58:05.000+0000

Description

titanium build --build-only --platform ios --device-family universal --target dist-appstore --project-dir /code/ --distribution-name 'cert' --pp-uuid id Originally when you ran the command it just created the app and then you could run xcode to create the ipa. now it fires off xcode and shows the Organizer - Archives. It seems to build correctly but is very annoying.

Attachments

FileDateSize
screenshot-1.jpg2014-01-21T18:39:59.000+000058782
screenshot-1.jpg2014-01-21T18:38:18.000+000058782

Comments

  1. Ritu Agrawal 2014-01-20

    It appears that you want to use "titanium build" command to create the application and then run Xcode yourself to build the app. I am curious why don't you use "titanium create" command to achieve the same. Please let me know if I misunderstood the scenario.
  2. sunny rajpal 2014-01-20

    "titanium create" creates a titanium project. I have an existing project that requires rebuilding and publishing without major changes to the codebase. I have created an automated process that will make some minor changes and rebuilds the android and iphone binaries and prepares them for publishing.
  3. Chris Barber 2014-01-21

    [~srajpal] There was a bug in a old version of the Titanium CLI where platform specific arguments had to be specified AFTER the platform. In your example, simply swap \-\-build-only and \-\-platform:
       titanium build --platform ios --build-only --device-family universal --target dist-appstore --project-dir /code/ --distribution-name 'cert' --pp-uuid id
       
    This bug was fixed in Titanium CLI 3.2.0. You should probably update to the latest CLI to make sure you have the latest bug fixes:
       sudo npm install -g titanium
       
    And if possible, update to the latest Titanium SDK 3.2.0.GA:
       ti sdk install -d
       
    On a side note, \-\-build-only actually works correct starting in Titanium SDK 3.2.0. When specifying \-\-build-only it will not launch Xcode, will not prompt for a device, and will correctly put the packaged app when doing a dist-appstore/dist-adhoc build.
  4. sunny rajpal 2014-01-21

    I have: Titanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.2.0.GA I ran the command as stated: titanium build --platform ios --build-only --device-family universal --target dist-appstore --project-dir /code/ --distribution-name 'cert' --pp-uuid id and it still launches xcode to show the Organizer - Archives, screen shot attached: !screenshot-1.jpg|thumbnail!
  5. Chris Barber 2014-01-21

    Is the <sdk-version> in the tiapp.xml set to 3.2.0.GA?
  6. sunny rajpal 2014-01-21

    yes it is set to 3.2.0GA in the tiapp.xml.
  7. Chris Barber 2014-01-21

    Can you please run a Titanium build, copy the output to a file, then then attach the file to this issue. I'd like to check something in the output.
  8. Ritu Agrawal 2014-01-23

    Moving this ticket to engineering as Chris Barber is already proactively working with the reporter to diagnose this issue. Thank you [~cbarber].

JSON Source