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

iOS: Module IDs with Capital Letters Breaks Build

    Details

      Description

      Problem

      You can create a module that has an ID with capital letters / upper case characters, but you cannot build it. Specifically, the generated lib

      {id}

      .a uses the capital letters, but the XCode project uses a version in all lower case characters.

      I looked through the iOS Modules Developer Guide and the Android guide and did not see any warnings against naming module IDs like this.

      Steps to Reproduce

      • Create a new module with capital letters in the ID: titanium create --platform=iphone --type=module --dir=/Code/PlaygroundExt/ --name=idwithupper --id=com.dawson.idWithUpper
      • CD in to this newly created directory: cd /Code/PlaygroundExt/idwithupper
      • Attempt to run this module: titanium run
      • The build will fail
      • ls /Code/PlaygroundExt/idwithupper/build/libcom.dawson.idWithUpper.a
      • Compare this to the following error.

      Build Error

      ** BUILD FAILED **
       
      The following build commands failed:
      idwithupper:
          Ld /var/folders/IO/IOzpz3kfFFa5JFj0INAwME+++TI/-Tmp-/mYh1vg4ti/idwithupper/build/iphone/build/Debug-iphonesimulator/idwithupper.app/idwithupper normal i386
      (1 failure)
       
      EXIT CODE WAS: 1
      

      Tested On

      Titanium SDK version: 1.6.0 (02/23/11 12:34 9882e81)
      Titanium SDK version: 1.7.0 (03/07/11 18:01 1df642e...)
      BROKEN on iOS with both of the above SDKs

      Associated Helpdesk Ticket

      http://developer.appcelerator.com/helpdesk/view/76277

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                dtoth Dawson Toth
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration