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
Just tested with Titanium SDK (master branch, currently 6.1.0 unstable) and it works as expected.
Can we create automated tests for these cases?
With enough time and money, we can do anything.