You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn("Skipping \(duplicates.count) colors in palette '\(palette.filename)' because symbol '\(sanitizedName)' would be generated for all of these colors: \(duplicates.joinWithSeparator(", "))")
36
-
}
37
-
38
-
letempties= groupedColors.empties
39
-
iflet empty = empties.first where empties.count ==1{
40
-
warn("Skipping 1 color in palette '\(palette.filename)' because no swift identifier can be generated for image: \(empty)")
41
-
}
42
-
elseif empties.count >1{
43
-
warn("Skipping \(empties.count) images in palette '\(palette.filename)' because no swift identifier can be generated for all of these images: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) images because symbol '\(sanitizedName)' would be generated for all of these images: \(duplicates.joinWithSeparator(", "))")
29
-
}
30
-
31
-
letempties= groupedFunctions.empties
32
-
iflet empty = empties.first where empties.count ==1{
33
-
warn("Skipping 1 image because no swift identifier can be generated for image: \(empty)")
34
-
}
35
-
elseif empties.count >1{
36
-
warn("Skipping \(empties.count) images because no swift identifier can be generated for all of these images: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) resource files because symbol '\(name)' would be generated for all of these files: \(duplicates.joinWithSeparator(", "))")
20
-
}
21
-
22
-
letempties= groupedResourceFiles.empties
23
-
iflet empty = empties.first where empties.count ==1{
24
-
warn("Skipping 1 resource file because no swift identifier can be generated for file: \(empty)")
25
-
}
26
-
elseif empties.count >1{
27
-
warn("Skipping \(empties.count) resource files because no swift identifier can be generated for all of these files: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) reuseIdentifiers because symbol '\(name)' would be generated for all of these reuseIdentifiers: \(duplicates.joinWithSeparator(", "))")
25
-
}
26
-
27
-
letempties= groupedReusables.empties
28
-
iflet empty = empties.first where empties.count ==1{
29
-
warn("Skipping 1 reuseIdentifier because no swift identifier can be generated for reuseIdentifier: \(empty)")
30
-
}
31
-
elseif empties.count >1{
32
-
warn("Skipping \(empties.count) reuseIdentifiers because no swift identifier can be generated for all of these reuseIdentifiers: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) segues for '\(sourceType)' because symbol '\(name)' would be generated for all of these segues, but with a different destination or segue type: \(duplicates.joinWithSeparator(", "))")
51
-
}
52
-
53
-
letempties= groupedSeguesWithInfo.empties
54
-
iflet empty = empties.first where empties.count ==1{
55
-
warn("Skipping 1 segue for '\(sourceType)' because no swift identifier can be generated for segue: \(empty)")
56
-
}
57
-
elseif empties.count >1{
58
-
warn("Skipping \(empties.count) segues for '\(sourceType)' because no swift identifier can be generated for all of these segues: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) storyboards because symbol '\(name)' would be generated for all of these storyboards: \(duplicates.joinWithSeparator(", "))")
20
-
}
21
-
22
-
letempties= groupedStoryboards.empties
23
-
iflet empty = empties.first where empties.count ==1{
24
-
warn("Skipping 1 storyboard because no swift identifier can be generated for storyboard: \(empty)")
25
-
}
26
-
elseif empties.count >1{
27
-
warn("Skipping \(empties.count) storyboards because no swift identifier can be generated for all of these storyboards: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) strings files because symbol '\(sanitizedName)' would be generated for all of these filenames: \(duplicates.joinWithSeparator(", "))")
22
-
}
23
-
24
-
letempties= groupedLocalized.empties
25
-
iflet empty = empties.first where empties.count ==1{
26
-
warn("Skipping 1 strings file because no swift identifier can be generated for filename: \(empty)")
27
-
}
28
-
elseif empties.count >1{
29
-
warn("Skipping \(empties.count) strings files because no swift identifier can be generated for all of these filenames: \(empties.joinWithSeparator(", "))")
warn("Skipping \(duplicates.count) strings in \(filenameLocale) because symbol '\(sanitizedName)' would be generated for all of these keys: \(duplicates.map{"'\($0)'"}.joinWithSeparator(", "))")
80
-
}
81
-
82
-
letempties= groupedKeys.empties
83
-
iflet empty = empties.first where empties.count ==1{
84
-
warn("Skipping 1 string in \(filenameLocale) because no swift identifier can be generated for key: \(empty)")
85
-
}
86
-
elseif empties.count >1{
87
-
warn("Skipping \(empties.count) strings in \(filenameLocale) because no swift identifier can be generated for all of these keys: \(empties.joinWithSeparator(", "))")
warn("Skipping \(dups.count)\(sourcePlural) because symbol '\(sanitizedName)' would be generated for all of these \(resultPlural): \(dups.joinWithSeparator(", "))")
92
+
}
93
+
94
+
iflet empty = empties.first where empties.count ==1{
95
+
warn("Skipping 1 \(sourceSingular) because no swift identifier can be generated for \(resultSingular): \(empty)")
96
+
}
97
+
elseif empties.count >1{
98
+
warn("Skipping \(empties.count)\(sourcePlural) because no swift identifier can be generated for all of these \(resultPlural): \(empties.joinWithSeparator(", "))")
Copy file name to clipboardExpand all lines: ResourceApp/ResourceAppTests/ResourceAppTests.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,16 @@ class ResourceAppTests: XCTestCase {
17
17
"warning: [R.swift] Skipping 2 xibs because symbol 'duplicate' would be generated for all of these xibs: Duplicate, duplicate",
18
18
"warning: [R.swift] Skipping 2 storyboards because symbol 'duplicate' would be generated for all of these storyboards: Duplicate, duplicate",
19
19
"warning: [R.swift] Skipping 2 reuseIdentifiers because symbol 'duplicateCellView' would be generated for all of these reuseIdentifiers: DuplicateCellView, duplicateCellView",
20
-
"warning: [R.swift] Skipping 2 segues for 'SecondViewController' because symbol 'toFirst' would be generated for all of these segues, but with a different destination or segue type: ToFirst, toFirst",
20
+
"warning: [R.swift] Skipping 2 segues for 'SecondViewController' because symbol 'toFirst' would be generated for all of these segues: ToFirst, toFirst",
21
21
"warning: [R.swift] Skipping 2 images because symbol 'theAppIcon' would be generated for all of these images: The App Icon, TheAppIcon",
22
22
"warning: [R.swift] Skipping 2 images because symbol 'second' would be generated for all of these images: Second, second",
23
23
"warning: [R.swift] Skipping 2 resource files because symbol 'duplicateJson' would be generated for all of these files: Duplicate.json, duplicateJson",
24
24
"warning: [R.swift] Destination view controller with id Zbd-89-K73 for segue toUnknown in FirstViewController not found in storyboard References. Is this storyboard corrupt?",
25
25
"warning: [R.swift] Skipping 1 reuseIdentifier because no swift identifier can be generated for reuseIdentifier: ' '",
26
26
"warning: [R.swift] Skipping 2 colors in palette 'My R.swift colors' because symbol 'black' would be generated for all of these colors: Black, Black?",
27
27
28
-
"warning: [R.swift] Skipping 2 strings files because symbol 'duplicate' would be generated for all of these filenames: Duplicate, Duplicate#",
29
-
"warning: [R.swift] Skipping 1 strings file because no swift identifier can be generated for filename: '@@'",
28
+
"warning: [R.swift] Skipping 2 strings files because symbol 'duplicate' would be generated for all of these files: Duplicate, Duplicate#",
29
+
"warning: [R.swift] Skipping 1 strings file because no swift identifier can be generated for file: '@@'",
30
30
"warning: [R.swift] Skipping 1 string in 'Generic' because no swift identifier can be generated for key: '#'",
31
31
"warning: [R.swift] Strings file 'Localizable' (en) is missing translations for keys: 'japanese only'",
32
32
"warning: [R.swift] Strings file 'Localizable' (es) is missing translations for keys: 'japanese only'",
0 commit comments