[TIMOB-15961] Code Processor: Cannot analyze for any platform through CLI
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2014-08-14T17:51:36.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | CLI, Code Processor |
Labels | ft, qe-3.2.0, regression |
Reporter | Samuel Dowse |
Assignee | Praveen Innamuri |
Created | 2013-12-11T20:54:02.000+0000 |
Updated | 2017-03-22T17:10:32.000+0000 |
Description
Description
Running "ti analyze" inside of a project directory will prompt asking for a deployment target. No matter which deployment target is chosen, the code processor will say it doesn't exist.
Target platform to build for:
1) android
2) blackberry
3) ios
4) mobileweb
5) tizen
Enter # or platform name: 1
[ERROR] Unable to find platform configuration for "android"
Steps To Reproduce
1. Create a project in Appcelerator Studio 2. Open Terminal 3. Move into the project directory 4. Run "ti analyze" 5. Choose a target platformAttachments
File | Date | Size |
---|---|---|
log.txt | 2014-07-02T19:48:45.000+0000 | 2715 |
sample.options | 2013-12-16T03:54:49.000+0000 | 2180 |
need environment info and regression info.
Tested on: Mac OSX 10.9 Mavericks Titanium-Code-Processor: 1.0.0 Titanium SDK, build: 3.1.3.GA CLI: 3.1.2 Runnning the command "titanium-code-processor analyze --osname=
The command that Studio runs for code analyzer is the following:
The .options file contains all the info and options for code analyzer to run. Attached one.
Workaround above doesn't work on 3.2.1 I try:- titanium-code-processor analyze --osname=ios and get Titanium Code Processor version 1.1.0 Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. Run "titanium analyze" to use the Titanium Code Processor
Did you try the workaround as noted? You need to run "titanium analyze" now, not "titanium-code-processor"
I was following Samuel's guide which didn't work. Is Michael's the correct workaround?
Yes, Michael's should be the correct approach.
Reopened, using Mac osx 10.9.4 Mavericks Appcelerator Studio, build: 3.3.0.201406231625 Titanium SDK, build: 3.3.0.v20140701114913 Node.JS Version: v0.10.28 NPM Version: 1.4.9 acs@1.0.15 alloy@1.4.0-rc3 npm@1.4.9 titanium@3.3.0-rc4 titanium-code-processor@1.1.1 Please see the log.txt Error is generated running
We will not be supporting this use case.
Closing ticket as Code Processor is no longer supported.