[TIMOB-12173] iOS: Build fails if a project's id contains capital letters
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-18T16:24:24.000+0000 |
Affected Version/s | Release 3.0.1 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | iOS |
Labels | buildproblem, ios, module_build, qe-ios010113, qe-testadded, regression |
Reporter | Olga Romero |
Assignee | Chris Barber |
Created | 2013-01-02T19:44:12.000+0000 |
Updated | 2014-06-19T12:43:57.000+0000 |
Description
Description:
iOS build fails if an app id starts with a capital letter.
It is a *regression*, builds without error on 3.0.0.GA
It fails only for iOS, works for Android
Test steps:
1. Create a new mobile project
2. Use a capital letters in app id(in my case I used ABC)
3. Run as iOS simulator or build it on device
Actual result:
[ERROR] : tiapp.xml contains an invalid app id "com.appcelerator.ABC"
The app id must consist of letters, numbers, and underscores.
The first character must be a letter or underscore.
Expected result:
App should build with no error
This is by design. You cannot have an app id that contains uppercase letters. They must be all lowercase. I've updated the error message to state that it must be lowercase. The technical reason we don't allow uppercase letters is due to the Android build supposedly inserts the app id directly into Java code that could break compilation.
Closing as Won't Fix. Tested and verified the error message update. [ERROR] : tiapp.xml contains an invalid app id "com.appcelerator.UpperCase" The app id must consist of lower case letters, numbers, and underscores. The first character must be a letter or underscore. Usually the app id is your company's reversed Internet domain name. (i.e. com.example.myapp) Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.1.0.v20130114171802 iOS Simulator 6.0
Chris, this is *incorrect*. We have been publishing apps with mixed-case app IDs to the Apple App Store and Google Play for almost 2 years now, proving that you *can* have an app ID that contains uppercase letters. It does *not* break compilation! This problem completely prevents us from updating any of our existing apps, all of which have mixed-case app IDs. Please reopen this ticket.
Reopening for further investigation.
Thanks Chris
Behold! Uppercase letters are now allowed! Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3723 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3724
Thanks for taking a second look at this Chris!
Closing as fixed. Tested and verified with: Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: latest commit 572dcc3fe2 Titanium SDK, build: 3.0.2.v20130122172624 Device: iPhone4S iOS 5.0.1 iOS 6.0 Simulator