Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27376] iOS: Malformed Xcode project warning printed on every build

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-09-04T23:03:30.000+0000
Affected Version/sRelease 8.1.1
Fix Version/sRelease 8.2.0
ComponentsiOS
Labelsn/a
ReporterJan Vennemann
AssigneeVijay Singh
Created2019-09-04T11:35:15.000+0000
Updated2019-09-04T23:03:30.000+0000

Description

The following is printed as red error text when building for iOS:
>> [ERROR] 2019-08-22 23:51:47.821 xcodebuild[39858:743045] warning:  The file reference for "" is a member of multiple groups ("TableView & ListView" and "UI"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
>> [ERROR] 2019-08-22 23:51:47.821 xcodebuild[39858:743045] warning:  The file reference for "" is a member of multiple groups ("UI" and "UI"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
>> [ERROR] 2019-08-22 23:51:47.821 xcodebuild[39858:743045] warning:  The file reference for "" is a member of multiple groups ("UI" and "UI"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
>> [ERROR] 2019-08-22 23:51:47.821 xcodebuild[39858:743045] warning:  The file reference for "" is a member of multiple groups ("UI" and "UI"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
Those are warnings that indicate a malformed Xcode project. Since they will be printed as red warning messages they get especially confusing when the build actually fails.

Comments

  1. Jan Vennemann 2019-09-04

    PR: https://github.com/appcelerator/titanium_mobile/pull/11194 Thanks to [~hknoechel] for the PR! [~amukherjee] this is an important QoL improvement that should make it into 8.2.0 considering that this version is specifically targeted for iOS. I've seen multiple reports on Slack where users have mistaken the warning as the reason of build errors, causing a lot of confusion when tracking down the actual error.
  2. Lokesh Choudhary 2019-09-04

    FR Passed. PR Merged.
  3. Keerthi Mahalingam 2019-09-04

    Verfied the fix on sdk 8.2.0.v20190904142953.No error on building app.Works as expected.
       Operating System
         Name                        = Mac OS X
         Version                     = 10.14.5
         Architecture                = 64bit
       Node.js
         Node.js Version             = 10.16.2
         npm Version                 = 6.9.0
       Titanium CLI
         CLI Version                 = 5.2.1
       Titanium SDK
         SDK Version                 = 8.2.0.v20190904142953
       

JSON Source