Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12716] CLI: Build failure for projects with illegal character '_' in App id

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-08-18T16:01:29.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sRelease 3.1.0
ComponentsiOS
Labelscli, qe-sdk3.0.2
ReporterOlga Romero
AssigneeChris Barber
Created2013-02-12T23:31:33.000+0000
Updated2017-03-31T22:14:08.000+0000

Description

Building *imported* from git or created in studio projects, that contain underscore('_') in application's id, return build failure. It does build on simulator. Not a regression, occurs in 3.0.0.GA Test steps: 1. Create project with illegal character in app id (e.g '_') 2. Build on to device Actual result: [ERROR] :  ** BUILD FAILED ** [ERROR] :  The following build commands failed: [ERROR] :   ProcessProductPackaging Entitlements.plist build/Build_timob7674.build/Debug-iphoneos/Build_timob7674-universal.build/Build_timob7674.xcent

Comments

  1. Shameer Jan 2013-04-05

    Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 5.1
  2. Chris Barber 2016-08-18

    Tested with Titanium SDK 6 and the iOS build errors out as expected:
       [ERROR] tiapp.xml contains an invalid app id "com.appc_foo.bar"
       [ERROR] The app id must consist of letters, numbers, and dashes.
       [ERROR] The first character must be a letter.
       [ERROR] Usually the app id is your company's reversed Internet domain name. (i.e. com.example.myapp)
       
  3. Lee Morris 2017-03-31

    Closing ticket as fixed, if there are any problems, please file a new ticket.

JSON Source