[TIMOB-27376] iOS: Malformed Xcode project warning printed on every build
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-09-04T23:03:30.000+0000 |
Affected Version/s | Release 8.1.1 |
Fix Version/s | Release 8.2.0 |
Components | iOS |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Vijay Singh |
Created | 2019-09-04T11:35:15.000+0000 |
Updated | 2019-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.
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.
FR Passed. PR Merged.
Verfied the fix on sdk 8.2.0.v20190904142953.No error on building app.Works as expected.