Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3295] iOS: Module IDs with Capital Letters Breaks Build

GitHub Issuen/a
TypeBug
PriorityLow
StatusResolved
ResolutionCannot Reproduce
Resolution Date2016-08-19T19:47:38.000+0000
Affected Version/sRelease 1.6.0, Release 1.7.0
Fix Version/sn/a
ComponentsiOS
Labelsdefect, ios, look1, module, reported-1.6.0, reported-1.7.0, rplist
ReporterDawson Toth
AssigneeIngo Muschenetz
Created2011-04-15T03:41:38.000+0000
Updated2017-03-21T18:55:46.000+0000

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](http://guides.appcelerator.com/en/module_ios.html) and the [Android guide](http://guides.appcelerator.com/en/module_android.html) 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

Comments

  1. Chris Barber 2016-08-19

    Just tested with Titanium SDK (master branch, currently 6.1.0 unstable) and it works as expected.
  2. Ingo Muschenetz 2016-08-19

    Can we create automated tests for these cases?
  3. Chris Barber 2016-08-19

    With enough time and money, we can do anything.

JSON Source