[TIMOB-1082] iPhone build fails if word 'Titanium' is in project name
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-10-28T10:57:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | build, error, ios, iphone, mobile |
Reporter | JFSIII |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:43:32.000+0000 |
Updated | 2013-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:
- Click New Project
- Choose mobile
- Use a project which includes the word Titanium (must be a
capital T)
- 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:
- Does not affect Android apps
- titanium (lower case t) works as expected
Attachments
File | Date | Size |
---|---|---|
project-names-including-titanium-fail-to-build.mp4 | 2011-04-15T02:43:34.000+0000 | 5770398 |
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...
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