File tree Expand file tree Collapse file tree
RIBsTreeViewerClient.xcodeproj
RIBsTreeViewerClient/Sources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 323323 SKIP_INSTALL = YES;
324324 SUPPORTS_MACCATALYST = NO;
325325 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
326- SWIFT_VERSION = 4.2 ;
326+ SWIFT_VERSION = 5.0 ;
327327 TARGETED_DEVICE_FAMILY = 1;
328328 };
329329 name = Debug;
356356 PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
357357 SKIP_INSTALL = YES;
358358 SUPPORTS_MACCATALYST = NO;
359- SWIFT_VERSION = 4.2 ;
359+ SWIFT_VERSION = 5.0 ;
360360 TARGETED_DEVICE_FAMILY = 1;
361361 };
362362 name = Release;
Original file line number Diff line number Diff line change @@ -191,6 +191,8 @@ class WebSocketClient: NSObject {
191191 self . delegate? . onMessage ( client: self , data: data)
192192 case . string( let text) :
193193 self . delegate? . onMessage ( client: self , text: text)
194+ @unknown default :
195+ fatalError ( )
194196 }
195197 case . failure( let error) :
196198 self . delegate? . onError ( client: self , error: error)
You can’t perform that action at this time.
0 commit comments