{"action":"created","issue":{"url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/1","labels_url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/1/comments","events_url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/1/events","html_url":"https://github.com/Air-Craft/MIDIFish/issues/1","id":116313007,"number":1,"title":"Could not create Virtual Source with name...","user":{"login":"alexbuga","id":2833805,"avatar_url":"https://avatars.githubusercontent.com/u/2833805?v=3","gravatar_id":"","url":"https://api.github.com/users/alexbuga","html_url":"https://github.com/alexbuga","followers_url":"https://api.github.com/users/alexbuga/followers","following_url":"https://api.github.com/users/alexbuga/following{/other_user}","gists_url":"https://api.github.com/users/alexbuga/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbuga/subscriptions","organizations_url":"https://api.github.com/users/alexbuga/orgs","repos_url":"https://api.github.com/users/alexbuga/repos","events_url":"https://api.github.com/users/alexbuga/events{/privacy}","received_events_url":"https://api.github.com/users/alexbuga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-11T11:18:28Z","updated_at":"2015-11-12T12:19:06Z","closed_at":"2015-11-12T08:34:48Z","body":"I have the following code and when I open the app I get this error:\r\n\"Terminating app due to uncaught exception 'MFNonFatalException', reason: \"Could not create Virtual Source with name ABMidiTest\"\r\n\r\n<code>\r\nclass ViewController: UIViewController {\r\n\r\n  var midiSession: MFMIDISession!\r\n\r\n  override func viewDidLoad() {\r\n    super.viewDidLoad()\r\n\r\n    midiSession = MFMIDISession(name: \"ABMidiTest\")\r\n    midiSession.networkEnabled = true\r\n    midiSession.restorePreviousConnectionStates = true\r\n    midiSession.autoEnableDestinations = true\r\n    midiSession.channel = 1\r\n    midiSession.createVirtualSourceWithName(midiSession.name)\r\n  }\r\n\r\n  @IBAction func didPressNote() {\r\n    midiSession.sendNoteOn(64, velocity: 120)\r\n  }\r\n}\r\n</code>\r\n"},"comment":{"url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/comments/156089231","html_url":"https://github.com/Air-Craft/MIDIFish/issues/1#issuecomment-156089231","issue_url":"https://api.github.com/repos/Air-Craft/MIDIFish/issues/1","id":156089231,"user":{"login":"Air-Craft","id":559135,"avatar_url":"https://avatars.githubusercontent.com/u/559135?v=3","gravatar_id":"","url":"https://api.github.com/users/Air-Craft","html_url":"https://github.com/Air-Craft","followers_url":"https://api.github.com/users/Air-Craft/followers","following_url":"https://api.github.com/users/Air-Craft/following{/other_user}","gists_url":"https://api.github.com/users/Air-Craft/gists{/gist_id}","starred_url":"https://api.github.com/users/Air-Craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Air-Craft/subscriptions","organizations_url":"https://api.github.com/users/Air-Craft/orgs","repos_url":"https://api.github.com/users/Air-Craft/repos","events_url":"https://api.github.com/users/Air-Craft/events{/privacy}","received_events_url":"https://api.github.com/users/Air-Craft/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T12:19:06Z","updated_at":"2015-11-12T12:19:06Z","body":"Awesome. Rock on...\n\n\n\n<http://air-craft.co/?utm_source=emailsig-ac1-logo&utm_medium=email-signature&utm_campaign=air-craft-general>\nThe future of musical artistry...\n\n*Watch the demo (~1m) »*\n<http://air-craft.co/?utm_source=emailsig-ac1-video&utm_medium=email-signature&utm_campaign=air-craft-general>\n\nhttp://air-craft.co\n<http://air-craft.co/?utm_source=emailsig-ac1-website&utm_medium=email-signature&utm_campaign=air-craft-general>\n · 0779 055 6418 · London SE1\n\n\nOn 12 November 2015 at 08:34, alexbuga <notifications@github.com> wrote:\n\n> Holy smokes! IT WORKS !!!\n> Thanks!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Air-Craft/MIDIFish/issues/1#issuecomment-156033601>.\n>\n"}}