{"action":"created","issue":{"url":"https://api.github.com/repos/google/bazel/issues/162","labels_url":"https://api.github.com/repos/google/bazel/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/google/bazel/issues/162/comments","events_url":"https://api.github.com/repos/google/bazel/issues/162/events","html_url":"https://github.com/google/bazel/issues/162","id":71100004,"number":162,"title":"Target //tools/objc:ios_test_on_bazel is missing","user":{"login":"trevorgray","id":216851,"avatar_url":"https://avatars.githubusercontent.com/u/216851?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorgray","html_url":"https://github.com/trevorgray","followers_url":"https://api.github.com/users/trevorgray/followers","following_url":"https://api.github.com/users/trevorgray/following{/other_user}","gists_url":"https://api.github.com/users/trevorgray/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorgray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorgray/subscriptions","organizations_url":"https://api.github.com/users/trevorgray/orgs","repos_url":"https://api.github.com/users/trevorgray/repos","events_url":"https://api.github.com/users/trevorgray/events{/privacy}","received_events_url":"https://api.github.com/users/trevorgray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-26T18:06:04Z","updated_at":"2015-04-27T10:04:57Z","closed_at":null,"body":"I'm trying to write an ios_test however get an error that the build rule must depend on `//tools/objc:ios_test_on_bazel` even though this rule does not exist.\r\n\r\n```\r\nbazel build examples/objc:example_test\r\nERROR: /Users/trevorgray/code/src/github.com/google/bazel/examples/objc/BUILD:97:1: every rule of type ios_test implicitly depends upon the target '//tools/objc:ios_test_on_bazel',  but this target could not be found. If this is an integration test, maybe you forgot to add a mock for your new tool?.\r\nERROR: Loading failed; build aborted.\r\nINFO: Elapsed time: 0.091s\r\n```"},"comment":{"url":"https://api.github.com/repos/google/bazel/issues/comments/96591248","html_url":"https://github.com/google/bazel/issues/162#issuecomment-96591248","issue_url":"https://api.github.com/repos/google/bazel/issues/162","id":96591248,"user":{"login":"ulfjack","id":7355745,"avatar_url":"https://avatars.githubusercontent.com/u/7355745?v=3","gravatar_id":"","url":"https://api.github.com/users/ulfjack","html_url":"https://github.com/ulfjack","followers_url":"https://api.github.com/users/ulfjack/followers","following_url":"https://api.github.com/users/ulfjack/following{/other_user}","gists_url":"https://api.github.com/users/ulfjack/gists{/gist_id}","starred_url":"https://api.github.com/users/ulfjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulfjack/subscriptions","organizations_url":"https://api.github.com/users/ulfjack/orgs","repos_url":"https://api.github.com/users/ulfjack/repos","events_url":"https://api.github.com/users/ulfjack/events{/privacy}","received_events_url":"https://api.github.com/users/ulfjack/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T10:04:57Z","updated_at":"2015-04-27T10:04:57Z","body":"I think this is referring to the ios test runner, which is still missing in\nBazel - i.e., it's not currently possible to write ios_test rules (which is\nvery unfortunate). I'm not sure what the current status is and most of the\npeople involved are at a summit this week.\n\nOn Sun, Apr 26, 2015 at 8:06 PM, Trevor Gray <notifications@github.com>\nwrote:\n\n> I'm trying to write an ios_test however get an error that the build rule\n> must depend on //tools/objc:ios_test_on_bazel even though this rule does\n> not exist.\n>\n> bazel build examples/objc:example_test\n> ERROR: /Users/trevorgray/code/src/github.com/google/bazel/examples/objc/BUILD:97:1: every rule of type ios_test implicitly depends upon the target '//tools/objc:ios_test_on_bazel',  but this target could not be found. If this is an integration test, maybe you forgot to add a mock for your new tool?.\n> ERROR: Loading failed; build aborted.\n> INFO: Elapsed time: 0.091s\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/google/bazel/issues/162>.\n>\n"}}