{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/39","labels_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/39/comments","events_url":"https://api.github.com/repos/facebook/FBSimulatorControl/issues/39/events","html_url":"https://github.com/facebook/FBSimulatorControl/issues/39","id":109481627,"number":39,"title":"Use xcode-select to link the appropriate version of CoreSimulator at runtime","user":{"login":"lawrencelomax","id":217883,"avatar_url":"https://avatars.githubusercontent.com/u/217883?v=3","gravatar_id":"","url":"https://api.github.com/users/lawrencelomax","html_url":"https://github.com/lawrencelomax","followers_url":"https://api.github.com/users/lawrencelomax/followers","following_url":"https://api.github.com/users/lawrencelomax/following{/other_user}","gists_url":"https://api.github.com/users/lawrencelomax/gists{/gist_id}","starred_url":"https://api.github.com/users/lawrencelomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawrencelomax/subscriptions","organizations_url":"https://api.github.com/users/lawrencelomax/orgs","repos_url":"https://api.github.com/users/lawrencelomax/repos","events_url":"https://api.github.com/users/lawrencelomax/events{/privacy}","received_events_url":"https://api.github.com/users/lawrencelomax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-02T12:29:44Z","updated_at":"2015-10-02T12:29:44Z","closed_at":null,"body":"[`xctool` has a smart way of linking the `xcode-select` version of Xcode](https://github.com/facebook/xctool/blob/9ea80c3fdc8840e80f20d94e6d50ca84d7bc7a4b/xctool/xctool/main.m#L37) by interrogating `xcode-select` at runtime.\r\n\r\n`FBSimulatorControl` could do with something similar as this would mean:\r\n- The framework is no longer hard-coded (in the `rpath`) to a specific path of Xcode's `PrivateFramework`s\r\n- We can remove the assertion that compares the `xcode-select` version of Xcode with the running processes assumed version"}}