{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/1567","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1567/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1567/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1567/events","html_url":"https://github.com/realm/realm-cocoa/issues/1567","id":59814887,"number":1567,"title":"Encrypted interprocess sharing is currently unsupported","user":{"login":"Fab1n","id":754598,"avatar_url":"https://avatars.githubusercontent.com/u/754598?v=3","gravatar_id":"","url":"https://api.github.com/users/Fab1n","html_url":"https://github.com/Fab1n","followers_url":"https://api.github.com/users/Fab1n/followers","following_url":"https://api.github.com/users/Fab1n/following{/other_user}","gists_url":"https://api.github.com/users/Fab1n/gists{/gist_id}","starred_url":"https://api.github.com/users/Fab1n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fab1n/subscriptions","organizations_url":"https://api.github.com/users/Fab1n/orgs","repos_url":"https://api.github.com/users/Fab1n/repos","events_url":"https://api.github.com/users/Fab1n/events{/privacy}","received_events_url":"https://api.github.com/users/Fab1n/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-cocoa/labels/pending","name":"pending","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-04T15:39:35Z","updated_at":"2015-03-05T09:49:30Z","closed_at":null,"body":"We get this exception when trying to secure our Realm db. \r\n\r\nIn run config we switched to \"Release\" and unticked \"Debug executable\".\r\n\r\nWe are working with `RLMRealm.setEncryptionKey(EncryptionHelper.getKey(), forRealmsAtPath: RLMRealm.defaultRealm().path)`\r\n\r\nUntil now I had no change of using an application encrypted. We need to test this as it is key to our product!!!"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/77335313","html_url":"https://github.com/realm/realm-cocoa/issues/1567#issuecomment-77335313","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/1567","id":77335313,"user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T09:49:30Z","updated_at":"2015-03-05T09:49:30Z","body":"> You even don't have gcd tests as far as I can see. So nobody knows, if it works or what best practices are...\r\n\r\nThere are in fact several multithreaded tests (just search for `dispatch_`) and with the recent encryption improvements (#1562) it's now possible to run the entire test suite using encrypted realms (see [`encryptTests()`](https://github.com/realm/realm-cocoa/blob/ed498a1a56a50496871b19ed29d615a6618dd64a/Realm/Tests/RLMTestCase.m#L78)). All the tests pass with this enabled.\r\n\r\nOnce Realm's multi-process support is officially released (which will be very very soon), we'll elaborate more on best practices.\r\n\r\nNow back to the issue you're facing, does it occur consistently or intermittently? Is there any code you could share to help us identify what may be going wrong? An Xcode project highlighting the issue would go a long way to helping us troubleshoot this with you.\r\n\r\nThanks."}}