diff --git a/Source/MIKMIDIConnectionManager.m b/Source/MIKMIDIConnectionManager.m index 3ff79212..3e8520ad 100644 --- a/Source/MIKMIDIConnectionManager.m +++ b/Source/MIKMIDIConnectionManager.m @@ -179,7 +179,7 @@ - (void)scanAndConnectToInitialAvailableDevices - (void)updateAvailableDevices { NSArray *regularDevices = self.deviceManager.availableDevices; - NSMutableSet *result = [NSMutableSet setWithArray:regularDevices]; + NSMutableArray *result = [NSMutableArray arrayWithArray:regularDevices]; if (self.includesVirtualDevices) { NSMutableSet *endpointsInDevices = [NSMutableSet set];