{"action":"created","issue":{"url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/123","repository_url":"https://api.github.com/repos/Instabug/instabug-reactnative","labels_url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/123/comments","events_url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/123/events","html_url":"https://github.com/Instabug/instabug-reactnative/issues/123","id":304806048,"number":123,"title":"iOS issue: Linking fails if project doesn't have a target named like the project","user":{"login":"ricbermo","id":2601363,"avatar_url":"https://avatars3.githubusercontent.com/u/2601363?v=4","gravatar_id":"","url":"https://api.github.com/users/ricbermo","html_url":"https://github.com/ricbermo","followers_url":"https://api.github.com/users/ricbermo/followers","following_url":"https://api.github.com/users/ricbermo/following{/other_user}","gists_url":"https://api.github.com/users/ricbermo/gists{/gist_id}","starred_url":"https://api.github.com/users/ricbermo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricbermo/subscriptions","organizations_url":"https://api.github.com/users/ricbermo/orgs","repos_url":"https://api.github.com/users/ricbermo/repos","events_url":"https://api.github.com/users/ricbermo/events{/privacy}","received_events_url":"https://api.github.com/users/ricbermo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Korazy","id":4321051,"avatar_url":"https://avatars1.githubusercontent.com/u/4321051?v=4","gravatar_id":"","url":"https://api.github.com/users/Korazy","html_url":"https://github.com/Korazy","followers_url":"https://api.github.com/users/Korazy/followers","following_url":"https://api.github.com/users/Korazy/following{/other_user}","gists_url":"https://api.github.com/users/Korazy/gists{/gist_id}","starred_url":"https://api.github.com/users/Korazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korazy/subscriptions","organizations_url":"https://api.github.com/users/Korazy/orgs","repos_url":"https://api.github.com/users/Korazy/repos","events_url":"https://api.github.com/users/Korazy/events{/privacy}","received_events_url":"https://api.github.com/users/Korazy/received_events","type":"User","site_admin":false},"assignees":[{"login":"Korazy","id":4321051,"avatar_url":"https://avatars1.githubusercontent.com/u/4321051?v=4","gravatar_id":"","url":"https://api.github.com/users/Korazy","html_url":"https://github.com/Korazy","followers_url":"https://api.github.com/users/Korazy/followers","following_url":"https://api.github.com/users/Korazy/following{/other_user}","gists_url":"https://api.github.com/users/Korazy/gists{/gist_id}","starred_url":"https://api.github.com/users/Korazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korazy/subscriptions","organizations_url":"https://api.github.com/users/Korazy/orgs","repos_url":"https://api.github.com/users/Korazy/repos","events_url":"https://api.github.com/users/Korazy/events{/privacy}","received_events_url":"https://api.github.com/users/Korazy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-13T15:10:56Z","updated_at":"2018-03-14T11:07:03Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\nI have `MyAwesomeProject` with 2 targets, staging and prod. As soon as I run `react-native link` the ruby script throws an error because I don't have a target named `MyAwesomeProject`.\r\n\r\nSolution #1: Add a target named `MyAwesomeProject`.\r\nSolution #2: in `link.rb`\r\n```ruby\r\ndefault_target = project.targets.find { |target| target.to_s == default_target_name } || project.targets.first\r\n```\r\nWould love to send a PR.\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/comments/372983994","html_url":"https://github.com/Instabug/instabug-reactnative/issues/123#issuecomment-372983994","issue_url":"https://api.github.com/repos/Instabug/instabug-reactnative/issues/123","id":372983994,"user":{"login":"Korazy","id":4321051,"avatar_url":"https://avatars1.githubusercontent.com/u/4321051?v=4","gravatar_id":"","url":"https://api.github.com/users/Korazy","html_url":"https://github.com/Korazy","followers_url":"https://api.github.com/users/Korazy/followers","following_url":"https://api.github.com/users/Korazy/following{/other_user}","gists_url":"https://api.github.com/users/Korazy/gists{/gist_id}","starred_url":"https://api.github.com/users/Korazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korazy/subscriptions","organizations_url":"https://api.github.com/users/Korazy/orgs","repos_url":"https://api.github.com/users/Korazy/repos","events_url":"https://api.github.com/users/Korazy/events{/privacy}","received_events_url":"https://api.github.com/users/Korazy/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T11:07:03Z","updated_at":"2018-03-14T11:07:03Z","author_association":"NONE","body":"Hey @ricbermo , this is currently planned for the next release. I will update you once it's resolved."}}
{"actor":{"display_login":"Korazy"}}