{"id":12407,"date":"2015-09-25T09:58:04","date_gmt":"2015-09-25T13:58:04","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=12407"},"modified":"2015-09-25T09:58:04","modified_gmt":"2015-09-25T13:58:04","slug":"fbsimulatorcontrol","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/09\/25\/fbsimulatorcontrol\/","title":{"rendered":"FBSimulatorControl"},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/facebook\/FBSimulatorControl\">Facebook<\/a> (via <a href=\"https:\/\/twitter.com\/steipete\/status\/642035218791157760\">Peter Steinberger<\/a>):<\/p>\n<blockquote cite=\"https:\/\/github.com\/facebook\/FBSimulatorControl\">\n<p>The original use-case for <code>FBSimulatorControl<\/code> was to boot Simulators to run End-to-End tests with <code>WebDriverAgent<\/code>. As <code>FBSimulatorControl<\/code> is a Mac OS X framework, it can be linked to from inside any Mac OS Library, Application, or <code>xctest<\/code> target. There may be additional use-cases that you may find beyond UI Test Automation.<\/p>\n<p><code>FBSimulatorControl<\/code> works by linking with the private <code>DVTFoundation<\/code>, <code>CoreSimulator<\/code> and <code>DVTiPhoneSimulatorRemoteClient<\/code> frameworks that are present inside the Xcode bundle. Doing this allows  <code>FBSimulatorControl<\/code> to talk directly to the same APIs that Xcode and <code>simctl<\/code> do. This, combined with launching the Simulator binaries directly, means that multiple Simulators can be launched simultaneously. Test targets can be made that don&rsquo;t depend on any Application targets, or that launch multiple Application targets. This enables running against pre-built and archived Application binaries, rather than a binary that is built by a Test Target.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Facebook (via Peter Steinberger): The original use-case for FBSimulatorControl was to boot Simulators to run End-to-End tests with WebDriverAgent. As FBSimulatorControl is a Mac OS X framework, it can be linked to from inside any Mac OS Library, Application, or xctest target. There may be additional use-cases that you may find beyond UI Test Automation. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[75,31,30,74,71,268],"class_list":["post-12407","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-developertool","tag-ios","tag-mac","tag-opensource","tag-programming","tag-testing"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=12407"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12407\/revisions"}],"predecessor-version":[{"id":12408,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/12407\/revisions\/12408"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=12407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=12407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=12407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}