Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12173] iOS: Build fails if a project's id contains capital letters

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-01-18T16:24:24.000+0000
Affected Version/sRelease 3.0.1
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsiOS
Labelsbuildproblem, ios, module_build, qe-ios010113, qe-testadded, regression
ReporterOlga Romero
AssigneeChris Barber
Created2013-01-02T19:44:12.000+0000
Updated2014-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

Comments

  1. Chris Barber 2013-01-16

    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.
  2. Olga Romero 2013-01-16

    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
  3. Shawn Lipscomb 2013-01-16

    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.
  4. Chris Barber 2013-01-16

    Reopening for further investigation.
  5. Olga Romero 2013-01-16

    Thanks Chris
  6. Chris Barber 2013-01-16

    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
  7. Shawn Lipscomb 2013-01-17

    Thanks for taking a second look at this Chris!
  8. Olga Romero 2013-01-23

    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

JSON Source