Commit 9d3694c
committed
Make ActionUIVerifier Xcode friendly with proper warning and error messages
Xcode needs to see the proper prefixes for warning and error:
"warning: not great but we will live"
"error: bad situation"
Add ActionUIVerifier as a dependency for ActionUISwiftTestApp and run the verification when building. This will catch mistakes and also is a demonstration of the best practice in production environment.
Turned off Xcode user script sandboxing because it does not let specify a directory with GLOB content for the source declaration.1 parent 8c4ca37 commit 9d3694c
3 files changed
Lines changed: 64 additions & 9 deletions
File tree
- ActionUI.xcodeproj
- ActionUISwiftTestApp/Scripts
- ActionUIVerifier
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| |||
780 | 787 | | |
781 | 788 | | |
782 | 789 | | |
| 790 | + | |
783 | 791 | | |
784 | 792 | | |
785 | 793 | | |
786 | 794 | | |
787 | 795 | | |
| 796 | + | |
788 | 797 | | |
789 | 798 | | |
790 | 799 | | |
| |||
1146 | 1155 | | |
1147 | 1156 | | |
1148 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
1149 | 1181 | | |
1150 | 1182 | | |
1151 | 1183 | | |
| |||
1300 | 1332 | | |
1301 | 1333 | | |
1302 | 1334 | | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
1303 | 1340 | | |
1304 | 1341 | | |
1305 | 1342 | | |
| |||
1386 | 1423 | | |
1387 | 1424 | | |
1388 | 1425 | | |
1389 | | - | |
1390 | 1426 | | |
1391 | 1427 | | |
1392 | 1428 | | |
| |||
1456 | 1492 | | |
1457 | 1493 | | |
1458 | 1494 | | |
1459 | | - | |
1460 | 1495 | | |
1461 | 1496 | | |
1462 | 1497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
| |||
0 commit comments