Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

triple needs to accept options and pass them to titanium CLI #67

Open
Sophrinix opened this issue Oct 24, 2014 · 2 comments
Open

triple needs to accept options and pass them to titanium CLI #67

Sophrinix opened this issue Oct 24, 2014 · 2 comments
Milestone

Comments

@Sophrinix
Copy link
Collaborator

So I played around with this for a bit more.
I needed the pass the following into the app to get it to launch without asking me questions

➜  hi  cd _tmp
➜  _tmp  ls
LICENSE   README    Resources     build     tiapp.xml
➜  _tmp  titanium build --platform=ios --device-id=D2398AAC-083E-46CB-81C7-64A9F278DC4D

Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

... blah blah blah trim a lot of stuff ...

[INFO]  Skipping xcodebuild
[INFO]  Finished building the application in 861ms
[INFO]  Launching iOS Simulator


triple needs to accept arguments and pass them back to Titanium CLI kind of like how Alloy's jake command ended up doing.

@tonylukasavage
Copy link
Owner

I can work on this as a feature. To be clear though, the issue from your previous issue (#66) occurs even when you invoke titanium directly, right? Meaning it's not specifically a triple issue?

@tonylukasavage tonylukasavage added this to the 0.3.0 milestone Oct 27, 2014
@tonylukasavage tonylukasavage modified the milestones: 0.4.0, 0.3.0 Nov 2, 2014
@rblalock
Copy link

rblalock commented Nov 7, 2014

Yeh if you just do ti build -p ios it will ask you which device ID ... once you select that, it will run.

When I run with --verbose I see that part of the selection, but Triple of course doesn't let me interact with it. I get:

[~/Desktop/test]$ triple --verbose
[launching app]
[ERROR] Missing required option: --device-id <udid>

Available iOS Simulators:
8.1
  6B0380E5-DC74-4A57-A204-1D4EC63BEBEC  iPhone 4s
  928C1B14-C3F9-4A89-AFD4-0D6BF74D907A  iPhone 5
  CD769F39-4515-4B78-9A39-5DC2DD2609F0  iPhone 5s
  19467DA6-0B85-44E9-97C3-533E6FA9E4EB  iPhone 6 Plus
  D6ACEA73-41DD-4485-87FC-03ECB1DC689B  iPhone 6
  41FEAC58-6FDE-47C3-B405-3B6FBAA12382  iPad 2
  2B9348D8-2268-4831-950E-74D2660D10BA  iPad Retina
  B2C1146F-2AB4-4B85-8D10-8011E47711C8  iPad Air
  3ED48B9A-05E0-48EC-87F9-ED8A7D527D78  Resizable iPhone
  44C94105-85BB-4D2A-9E25-2FD6B31D959D  Resizable iPad

For help, run: titanium help build

[ERROR] Missing required option: --device-id <udid>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants