{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/snapshot/issues/76","labels_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/76/comments","events_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/76/events","html_url":"https://github.com/KrauseFx/snapshot/issues/76","id":57901970,"number":76,"title":"ios_version in Snapfile is not used ?","user":{"login":"doppelganger9","id":316439,"avatar_url":"https://avatars.githubusercontent.com/u/316439?v=3","gravatar_id":"","url":"https://api.github.com/users/doppelganger9","html_url":"https://github.com/doppelganger9","followers_url":"https://api.github.com/users/doppelganger9/followers","following_url":"https://api.github.com/users/doppelganger9/following{/other_user}","gists_url":"https://api.github.com/users/doppelganger9/gists{/gist_id}","starred_url":"https://api.github.com/users/doppelganger9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doppelganger9/subscriptions","organizations_url":"https://api.github.com/users/doppelganger9/orgs","repos_url":"https://api.github.com/users/doppelganger9/repos","events_url":"https://api.github.com/users/doppelganger9/events{/privacy}","received_events_url":"https://api.github.com/users/doppelganger9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T09:35:58Z","updated_at":"2015-02-17T10:31:59Z","closed_at":"2015-02-17T10:31:28Z","body":"I want to run snapshot on an older iOS version.\r\nThis seems to be a feature documented in Snapfile; I uncommented the line with ios_version to enable this.\r\nBut when I run snapshot, it does not seem to take it into account, as it still uses the latest SDK simulator.\r\n\r\nI have installed both versions of iOS installed, here is the result of xcrun simctl list:\r\n```\r\n== Device Types ==\r\niPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)\r\niPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)\r\niPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)\r\niPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)\r\niPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)\r\niPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)\r\niPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)\r\niPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)\r\nResizable iPhone (com.apple.CoreSimulator.SimDeviceType.Resizable-iPhone)\r\nResizable iPad (com.apple.CoreSimulator.SimDeviceType.Resizable-iPad)\r\n== Runtimes ==\r\niOS 7.0 (7.0 - Unknown) (com.apple.CoreSimulator.SimRuntime.iOS-7-0) (unavailable, runtime path not found)\r\niOS 7.1 (7.1 - 11D167) (com.apple.CoreSimulator.SimRuntime.iOS-7-1)\r\niOS 8.1 (8.1 - 12B411) (com.apple.CoreSimulator.SimRuntime.iOS-8-1)\r\n== Devices ==\r\n-- iOS 7.0 --\r\n    iPhone 4s (3E1F7834-5280-4D56-9175-C08AE215A2C1) (Shutdown) (unavailable)\r\n    iPhone 5 (26785B7E-D3E2-4EB6-8B47-C86FC413C3C5) (Shutdown) (unavailable)\r\n    iPhone 5s (4A8605E0-12E4-4244-A60E-93548F7FE2A5) (Shutdown) (unavailable)\r\n    iPad 2 (48C457B9-206B-4019-8591-40E2E0274ADA) (Shutdown) (unavailable)\r\n    iPad Retina (8603B7CE-1149-4B2B-AB86-7E962BDCB56A) (Shutdown) (unavailable)\r\n    iPad Air (1CA7942D-09AD-42BF-9583-7F933FDC0647) (Shutdown) (unavailable)\r\n-- iOS 7.1 --\r\n    iPhone 4s (3211142C-2BB1-45F8-8D02-DB55738DF194) (Shutdown)\r\n    iPhone 5 (09336A72-A54F-44EE-955A-0CE0D8C6D73C) (Shutdown)\r\n    iPhone 5s (5D502B95-4482-48B7-9934-174F92D9988E) (Shutdown)\r\n    iPad 2 (5DD0BF87-EADB-44B5-9E0A-A1F5F3421A2E) (Shutdown)\r\n    iPad Retina (7EBD41FA-9400-4A14-A1C9-9EA7460082A2) (Shutdown)\r\n    iPad Air (79269FD9-A503-4D80-B33B-999ED598FEDD) (Shutdown)\r\n-- iOS 8.1 --\r\n    iPhone 4s (DCEF4B5F-E441-4CE9-B9E4-E9C57DD6C533) (Shutdown)\r\n    iPhone 5 (13DBDD52-32D9-4B9D-8272-922FEF6C1E5C) (Shutdown)\r\n    iPhone 5s (648F4DF6-3878-471B-AD73-018E2CA1BD07) (Shutdown)\r\n    iPhone 6 Plus (5237310D-AB4E-44E9-95A9-E092350259FB) (Shutdown)\r\n    iPhone 6 (056DC89E-CF0F-47C7-A809-9A89614882F9) (Shutdown)\r\n    iPad 2 (C505FA0E-0C29-43CC-86D2-568D88803AFF) (Shutdown)\r\n    iPad Retina (4D9B8837-1132-44E9-BA5B-FC71F2A390F4) (Shutdown)\r\n    iPad Air (99D7D81E-09A1-4288-B70F-96E6C7AA9EEA) (Booted)\r\n    Resizable iPhone (01A19458-7B70-4E92-9816-4CC96EC860E2) (Shutdown)\r\n    Resizable iPad (8B3CBA84-5AAD-4B3C-A6A3-F7B415ED03A3) (Shutdown)\r\n```\r\n\r\nAnd \"instrument -s\" (as it seems to be the one used in lib/snapshot/simulators.rb)\r\n```\r\nKnown Devices:\r\niMac217955 [C4F4D284-8B79-50F5-8D67-35C0C263B252]\r\nResizable iPad (8.1 Simulator) [8B3CBA84-5AAD-4B3C-A6A3-F7B415ED03A3]\r\nResizable iPhone (8.1 Simulator) [01A19458-7B70-4E92-9816-4CC96EC860E2]\r\niPad 2 (7.1 Simulator) [5DD0BF87-EADB-44B5-9E0A-A1F5F3421A2E]\r\niPad 2 (8.1 Simulator) [C505FA0E-0C29-43CC-86D2-568D88803AFF]\r\niPad Air (7.1 Simulator) [79269FD9-A503-4D80-B33B-999ED598FEDD]\r\niPad Air (8.1 Simulator) [99D7D81E-09A1-4288-B70F-96E6C7AA9EEA]\r\niPad Retina (7.1 Simulator) [7EBD41FA-9400-4A14-A1C9-9EA7460082A2]\r\niPad Retina (8.1 Simulator) [4D9B8837-1132-44E9-BA5B-FC71F2A390F4]\r\niPhone 4s (7.1 Simulator) [3211142C-2BB1-45F8-8D02-DB55738DF194]\r\niPhone 4s (8.1 Simulator) [DCEF4B5F-E441-4CE9-B9E4-E9C57DD6C533]\r\niPhone 5 (7.1 Simulator) [09336A72-A54F-44EE-955A-0CE0D8C6D73C]\r\niPhone 5 (8.1 Simulator) [13DBDD52-32D9-4B9D-8272-922FEF6C1E5C]\r\niPhone 5s (7.1 Simulator) [5D502B95-4482-48B7-9934-174F92D9988E]\r\niPhone 5s (8.1 Simulator) [648F4DF6-3878-471B-AD73-018E2CA1BD07]\r\niPhone 6 (8.1 Simulator) [056DC89E-CF0F-47C7-A809-9A89614882F9]\r\niPhone 6 Plus (8.1 Simulator) [5237310D-AB4E-44E9-95A9-E092350259FB]\r\nKnown Templates:\r\n\"Activity Monitor\"\r\n\"Allocations\"\r\n\"Automation\"\r\n\"Blank\"\r\n\"Cocoa Layout\"\r\n\"Core Animation\"\r\n\"Core Data\"\r\n\"Counters\"\r\n\"Dispatch\"\r\n\"Energy Diagnostics\"\r\n\"File Activity\"\r\n\"GPU Driver\"\r\n\"Leaks\"\r\n\"Multicore\"\r\n\"Network\"\r\n\"OpenGL ES Analysis\"\r\n\"Sudden Termination\"\r\n\"System Trace\"\r\n\"System Usage\"\r\n\"Time Profiler\"\r\n\"UI Recorder\"\r\n\"Zombies\"\r\n```\r\n\r\nI tried to find in the source code where ios_version is used, but it does not appear anywhere except as a config parameter ..."},"comment":{"url":"https://api.github.com/repos/KrauseFx/snapshot/issues/comments/74647206","html_url":"https://github.com/KrauseFx/snapshot/issues/76#issuecomment-74647206","issue_url":"https://api.github.com/repos/KrauseFx/snapshot/issues/76","id":74647206,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T10:31:59Z","updated_at":"2015-02-17T10:31:59Z","body":"Let me know if it works. Please update using `sudo gem update snapshot` :+1: "}}