[TIMOB-16292] iOS: Behavior for titanium build --build-only is now different with 3.2.0 release
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | build, cb-tooling, titanium, titanium-cli |
Reporter | sunny rajpal |
Assignee | Chris Barber |
Created | 2014-01-16T16:38:46.000+0000 |
Updated | 2016-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
File | Date | Size |
---|---|---|
screenshot-1.jpg | 2014-01-21T18:39:59.000+0000 | 58782 |
screenshot-1.jpg | 2014-01-21T18:38:18.000+0000 | 58782 |
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.
"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.
[~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
: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:
And if possible, update to the latest Titanium SDK 3.2.0.GA:
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.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!
Is the
<sdk-version>
in the tiapp.xml set to 3.2.0.GA?yes it is set to 3.2.0GA in the tiapp.xml.
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.
Moving this ticket to engineering as Chris Barber is already proactively working with the reporter to diagnose this issue. Thank you [~cbarber].