Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12713] CLI: iOS: Running project in iPhone Simulator with Numeric app name "1" throws "[ERROR] Unable to run command "build""

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-04-14T19:35:11.000+0000
Affected Version/sRelease 3.0.0, Release 3.0.1, Release 3.0.2, Release 3.2.3
Fix Version/s2013 Sprint 11 JS, 2013 Sprint 11, Release 3.1.1, Release 3.2.0
ComponentsCLI
Labelscli, qe-3.2.3, qe-closed-3.1.1, qe-sdk3.0.2, qe-testadded, regression
ReporterPragya Rastogi
AssigneeChris Barber
Created2013-02-12T09:47:52.000+0000
Updated2014-04-15T17:07:20.000+0000

Description

Works fine in studio 2.1.2 and SDK version 3.0.0.GA (where CLI is not used). Steps To Reproduce: =================== 1. Create a Project with name "1". 2. Run project in iPhone simulator. Actual: ------- [ERROR] Unable to run command "build" error appears. [Refer attached log file] Expected: --------- Project must run successfully.

Attachments

FileDateSize
numericNameofPrj.txt2013-02-12T09:47:52.000+0000119242

Comments

  1. Dustin Hyde 2013-02-12

    Works with legacy implementation:
       $
       "/usr/bin/python" "/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.v20130207164659/iphone/builder.py" "simulator" "6.1" "/Users/dhyde/Desktop/tistud/tistud-rc/workspace/1" "a.a" "1" "universal" "iphone"
       $
       
    Fails with cli:
       $
       "/usr/local/bin/titanium" "--no-colors" "--no-prompt" "build" "--platform" "iphone" "--sdk" "3.0.2.v20130207164659" "--log-level" "trace" "--target" "simulator" "--ios-version" "6.1" "--device-family" "iphone" "--sim-version" "6.1"
       $
       
  2. Olga Romero 2013-03-13

    Numeric Name "1" throws [ERROR] Unable to run command "build" Changing the name in tiapp.xml to non numeric name results in successful build. Tested with: Titanium Studio, build: 3.0.3.201302201202 Titanium SDK, build: 3.1.0.v20130312161655 iPhone 6.1 Simulator Note: The name may include digits (e.g. 12test)
  3. Chris Barber 2013-03-28

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4051
  4. Chris Barber 2013-05-22

    This change was undone by this commit: https://github.com/appcelerator/titanium_mobile/commit/07691ae35a090e08c5cac291c04402071e696856. It must be re-added. Master pull request: https://github.com/appcelerator/titanium_mobile/pull/4313
  5. Eric Merriman 2013-05-31

    Verified you can build a project with app name "1". Using: Mac OS 10.8.3 Safari: 6.0.4 Xcode 4.6.2 CLI: 3.1.1-alpha titanium-code-processor: 1.0.1-alpha Alloy: 1.1.3-alpha Appcelerator Studio, build: 3.1.1.201305292130 Titanium SDK version 3.1.1.v20130529114554
  6. Paras Mishra 2014-04-12

    Unable to create the project with name "1" Environment used: SDK: 3.2.3.v20140403105720 CLI version : 3.2.3-alpha3 OS : MAC OSX 10.9.2 Alloy: 1.3.1 ACS: 1.0.14 npm:1.3.2 Appcelerator Studio, build: 3.2.3.201403271839 titanium-code-processor: 1.1.1-alpha XCode : 5.1
  7. Chris Barber 2014-04-14

    [~pmishra] This ticket is about building a project, not creating a project. I have verified that building a project named "1" works just fine for all platforms. Regarding project creation, I've created a new ticket to fix that: TIMOB-16843.
  8. Samuel Dowse 2014-04-15

    Verified fixed using: Mac OSX 10.9.2 Appcelerator Studio, build: 3.2.3.201404111117 Titanium SDK, build: 3.2.3.v20140414150917, 3.3.0.v20140414214115 Titanium CLI, build: 3.2.3-alpha3 Alloy: 1.3.1 Xcode: 5.1.1 Building a project with the name "1" installed to iPhone Simulator. Closing.

JSON Source