Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-1082

iPhone build fails if word 'Titanium' is in project name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS

      Description

      {html}<div><p><strong>Expected:</strong> There are no restrictions on project
      names</p>
      <p><strong>Observed:</strong> iPhone apps do not build if the word
      Titanium) is in the project name</p>
      <p><strong>Steps to reproduce:</strong></p>
      <ol>
      <li>Click New Project<br></li>
      <li>Choose mobile<br></li>
      <li>Use a project which includes the word Titanium (must be a
      capital T)<br></li>
      <li>Try to build iPhone app.</li>
      </ol>
      <p>Resulting log:<br></p>
      <pre>
      <code class="text">[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=<strong>LOG</strong>ID<strong>=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 = </strong>LOG<strong>ID</strong>=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</code>
      </pre>
      <p><strong>Notes:</strong></p>
      <ol>
      <li>Does not affect Android apps<br></li>
      <li>titanium (lower case t) works as expected</li>
      </ol></div>{html}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rseagraves Reggie Seagraves
                Reporter:
                jfsiii JFSIII
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-1031
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code