{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/12493","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/12493/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/12493/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/12493/events","html_url":"https://github.com/fastlane/fastlane/issues/12493","id":321981327,"node_id":"MDU6SXNzdWUzMjE5ODEzMjc=","number":12493,"title":"Simulator visibility during snapshot","user":{"login":"ppamorim","id":5521682,"node_id":"MDQ6VXNlcjU1MjE2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5521682?v=4","gravatar_id":"","url":"https://api.github.com/users/ppamorim","html_url":"https://github.com/ppamorim","followers_url":"https://api.github.com/users/ppamorim/followers","following_url":"https://api.github.com/users/ppamorim/following{/other_user}","gists_url":"https://api.github.com/users/ppamorim/gists{/gist_id}","starred_url":"https://api.github.com/users/ppamorim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppamorim/subscriptions","organizations_url":"https://api.github.com/users/ppamorim/orgs","repos_url":"https://api.github.com/users/ppamorim/repos","events_url":"https://api.github.com/users/ppamorim/events{/privacy}","received_events_url":"https://api.github.com/users/ppamorim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-10T15:48:06Z","updated_at":"2018-06-04T15:29:18Z","closed_at":null,"author_association":"NONE","body":"### Question Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n- [x] I read [docs.fastlane.tools](https://docs.fastlane.tools)\r\n- [x] I searched for [existing GitHub issues](https://github.com/fastlane/fastlane/issues)\r\n\r\n### Question Subject\r\nWhy I am not able to see the emulator while `snapshot` is running? if I start the lane with the simulator opened, it closes.\r\n#### Question Description\r\n<!-- Please include expected behavior and any relevant code samples with your question if possible -->\r\nSometimes I want to do some configuration, control the device while the automation is running or simply see it, but I can't since the simulator is not visible anymore. What I can do to solve this? Is this a expected behaviour?\r\nMy UI tests/automation are working fine, the compilation is super fast compared to fastlane, just fastlane is not dealing correct with the process to build and run the test. Probably there is something wrong... You can check my config here: https://github.com/fastlane/fastlane/issues/12480\r\nThis last version of `fastlane` is very unstable, I am wasting more than a day just to solve a issue on a single action. It's driving me crazy.\r\n\r\nProbably related to https://github.com/fastlane/fastlane/issues/10381\r\n\r\nEdit 1:\r\n\r\nI was able to find one sign of what is happening, I am running the `snapshot` inside a foreach, like this:\r\n\r\n```ruby\r\n  SCREENSHOTS_ARRAY.each_with_index do |screenshotScheme, index|\r\n    ENV[\"SCREENSHOT_SCHEME\"] = screenshotScheme\r\n    ENV[\"APP_IDENTIFIER\"] = POSSIBLE_IDENTIFIER_ARRAY[index]\r\n    ENV[\"SCHEME\"] = POSSIBLE_SCHEME_ARRAY[index]\r\n    ENV[\"SCHEME_NICKNAME\"] = POSSIBLE_SCHEME_NICKNAME_ARRAY[index]\r\n    snapshot(\r\n        workspace: \"MyApp.xcworkspace\",\r\n        scheme: ENV[\"SCREENSHOT_SCHEME\"],\r\n        derived_data_path: \"/Users/me/Library/Developer/Xcode\",\r\n        output_simulator_logs: false,\r\n        skip_open_summary: true,\r\n        erase_simulator: false,\r\n        clear_previous_screenshots: true,\r\n        test_without_building: false,\r\n        reinstall_app: false,\r\n        concurrent_simulators: false,\r\n        stop_after_first_error: false)\r\n  end\r\n```\r\nAfter removing it from the interaction, the simulator started to appear. Is `snapshot` locking the thread? This can be the problem.\r\n\r\nEdit 2:\r\n\r\nThe error `unable to spawn process (Resource temporarily unavailable)` still happening, even just running a single `snapshot` action.\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/394396758","html_url":"https://github.com/fastlane/fastlane/issues/12493#issuecomment-394396758","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/12493","id":394396758,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM5Njc1OA==","user":{"login":"mmysliwiec","id":5293201,"node_id":"MDQ6VXNlcjUyOTMyMDE=","avatar_url":"https://avatars1.githubusercontent.com/u/5293201?v=4","gravatar_id":"","url":"https://api.github.com/users/mmysliwiec","html_url":"https://github.com/mmysliwiec","followers_url":"https://api.github.com/users/mmysliwiec/followers","following_url":"https://api.github.com/users/mmysliwiec/following{/other_user}","gists_url":"https://api.github.com/users/mmysliwiec/gists{/gist_id}","starred_url":"https://api.github.com/users/mmysliwiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmysliwiec/subscriptions","organizations_url":"https://api.github.com/users/mmysliwiec/orgs","repos_url":"https://api.github.com/users/mmysliwiec/repos","events_url":"https://api.github.com/users/mmysliwiec/events{/privacy}","received_events_url":"https://api.github.com/users/mmysliwiec/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T15:29:18Z","updated_at":"2018-06-04T15:29:18Z","author_association":"NONE","body":"It's a big issue for me since headless simulator is ignoring geolocation setup and my screenshots show different location than I want. Check my feature request https://github.com/fastlane/fastlane/issues/12682 describing the issue and solution."}}
{"actor":{"display_login":"mmysliwiec"}}