Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1082] iPhone build fails if word 'Titanium' is in project name

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-10-28T10:57:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsbuild, error, ios, iphone, mobile
ReporterJFSIII
AssigneeReggie Seagraves
Created2011-04-15T02:43:32.000+0000
Updated2013-01-02T19:44:33.000+0000

Description

Expected: There are no restrictions on project names

Observed: iPhone apps do not build if the word Titanium) is in the project name

Steps to reproduce:

  1. Click New Project
  2. Choose mobile
  3. Use a project which includes the word Titanium (must be a capital T)
  4. Try to build iPhone app.

Resulting log:

[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.3.0
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 3.1
[INFO] Performing full rebuild. This will take a little bit. Hold tight...
[INFO] Executing XCode build...
[INFO] Executing XCode Compiler [toggle output]
[DEBUG] executing command: xcodebuild -target Capital T Titanium -configuration Debug -sdk iphonesimulator3.1 GCC_PREPROCESSOR_DEFINITIONS=LOGID=a9696903-af02-446f-a7a8-fafe09404935 DEPLOYTYPE=development DEBUG=1 TI_VERSION=1.3.0 IPHONEOS_DEPLOYMENT_TARGET=3.1 TARGETED_DEVICE_FAMILY=1
[ERROR] Unknown target: Capital T Titanium
Usage: xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-configuration <configurationname>] [-sdk <sdkfullpath>|<sdkname>] [-xcconfig <filepath>] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild [-version [-sdk [<sdkfullpath>|<sdkname>] [<item>] ]
xcodebuild [-showsdks]
xcodebuild [-find <binary> -sdk <sdkfullpath>|<sdkname>]
xcodebuild [-list]
Build settings from command line:
GCC_PREPROCESSOR_DEFINITIONS = LOGID=a9696903-af02-446f-a7a8-fafe09404935 DEPLOYTYPE=development DEBUG=1 TI_VERSION=1.3.0
IPHONEOS_DEPLOYMENT_TARGET = 3.1
PLATFORM_NAME = iphonesimulator
SDKROOT = /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk
TARGETED_DEVICE_FAMILY = 1
[INFO] Compile completed in 0.422 seconds
[ERROR] Build Failed (Missing app at /Users/jschulz/Sites/Titanium/Capital T Titanium/build/iphone/build/Debug-iphonesimulator/Capital T Titanium.app/Capital T Titanium). Please see output for more details

Notes:

  1. Does not affect Android apps
  2. titanium (lower case t) works as expected

Attachments

FileDateSize
project-names-including-titanium-fail-to-build.mp42011-04-15T02:43:34.000+00005770398

Comments

  1. David Burton 2011-04-15

    I had the same problem (strangely enough, when testing out one framework amongst many, the obvious names included Titanium...). My brother also ran into the same one. Thanks for leaving this report, as it's meant we've been able to make progress past this point... once you know about it, it's easy enough to avoid, but if you even just changed the tutorials to say to avoid using the name, then it would be a start, as I hate to think how many people you've put off by having their first build attempt fail...

  2. Wilson Luu 2011-10-28

    Bug is not valid, does not reproduce in: TiMOB sdk version: 1.8.0.v20111027152620 Studio version: 1.0.6.201110251616 OS version: Mac OS X Lion Devices tested on: iphone emulator, iphone 5
  3. Dustin Hyde 2012-10-22

JSON Source