{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/6686","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/6686/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/6686/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/6686/events","html_url":"https://github.com/flutter/flutter/issues/6686","id":187146436,"number":6686,"title":"New app fails to build for iOS before Android is built","user":{"login":"collinjackson","id":394889,"avatar_url":"https://avatars.githubusercontent.com/u/394889?v=3","gravatar_id":"","url":"https://api.github.com/users/collinjackson","html_url":"https://github.com/collinjackson","followers_url":"https://api.github.com/users/collinjackson/followers","following_url":"https://api.github.com/users/collinjackson/following{/other_user}","gists_url":"https://api.github.com/users/collinjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/collinjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collinjackson/subscriptions","organizations_url":"https://api.github.com/users/collinjackson/orgs","repos_url":"https://api.github.com/users/collinjackson/repos","events_url":"https://api.github.com/users/collinjackson/events{/privacy}","received_events_url":"https://api.github.com/users/collinjackson/received_events","type":"User","site_admin":false},"labels":[{"id":283480100,"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20tools","name":"affects: tools","color":"777777","default":false},{"id":381246489,"url":"https://api.github.com/repos/flutter/flutter/labels/dependency:%20dart","name":"dependency: dart","color":"003570","default":false},{"id":283479936,"url":"https://api.github.com/repos/flutter/flutter/labels/%E2%8C%BA%E2%80%AC%20platform-ios","name":"⌺‬ platform-ios","color":"FCEAD2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-03T18:04:05Z","updated_at":"2016-11-03T18:08:53Z","closed_at":null,"body":"## Steps to Reproduce\r\n\r\nLaunch iPhone 6s Plus simulator.\r\n\r\n```\r\nflutter create myproject\r\ncd myproject\r\nflutter run -d \"iPhone 6s Plus\"\r\n```\r\n\r\nI get the following error.\r\n\r\nException from flutter run: FileSystemException: Cannot open file, path = 'build/snapshot_blob.bin' (OS Error: No such file or directory, errno = 2)\r\n\r\nIt works fine once I run it on an Android app.\r\n\r\n## Logs\r\n\r\n```\r\nException from flutter run: FileSystemException: Cannot open file, path = 'build/snapshot_blob.bin' (OS Error: No such file or directory, errno = 2)\r\ndart:io                                             _File.readAsBytesSync\r\npackage:flutter_tools/src/asset.dart 36             AssetBundleEntry.contentsAsBytes\r\npackage:flutter_tools/src/zip.dart 68               _ZipToolBuilder.createZip\r\npackage:flutter_tools/src/flx.dart 165              assemble.<async>\r\ndart:async                                          _SyncCompleter.complete\r\npackage:flutter_tools/src/asset.dart 145            AssetBundle.build.<async>\r\ndart:async                                          _SyncCompleter.complete\r\npackage:flutter_tools/src/asset.dart 291            _obtainLicenses.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          _Completer.completeError\r\npackage:flutter_tools/src/flx.dart 171              assemble.<async>\r\ndart:async                                          _SyncCompleter.complete\r\npackage:flutter_tools/src/asset.dart 145            AssetBundle.build.<async>\r\ndart:async                                          _SyncCompleter.complete\r\npackage:flutter_tools/src/asset.dart 291            _obtainLicenses.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          _asyncThenWrapperHelper\r\npackage:flutter_tools/src/flx.dart                  assemble\r\npackage:flutter_tools/src/flx.dart 114              build.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          Future.Future.microtask\r\npackage:flutter_tools/src/flx.dart                  build\r\npackage:flutter_tools/src/ios/simulators.dart 536   IOSSimulator._sideloadUpdatedAssetsForInstalledApplicationBundle.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          Future.Future.microtask\r\npackage:flutter_tools/src/ios/simulators.dart       IOSSimulator._sideloadUpdatedAssetsForInstalledApplicationBundle\r\npackage:flutter_tools/src/ios/simulators.dart 500   IOSSimulator._setupUpdatedApplicationBundle.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          Future.Future.microtask\r\npackage:flutter_tools/src/ios/simulators.dart       IOSSimulator._setupUpdatedApplicationBundle\r\npackage:flutter_tools/src/ios/simulators.dart 424   IOSSimulator.startApp.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          Future.Future.microtask\r\npackage:flutter_tools/src/ios/simulators.dart       IOSSimulator.startApp\r\npackage:flutter_tools/src/hot.dart 243              HotRunner._run.<async>\r\ndart:async                                          _SyncCompleter.complete\r\npackage:flutter_tools/src/resident_runner.dart 101  ResidentRunner.startEchoingDeviceLog.<async>\r\n===== asynchronous gap ===========================\r\ndart:async                                          _asyncThenWrapperHelper\r\npackage:flutter_tools/src/hot.dart                  HotRunner._run\r\npackage:flutter_tools/src/hot.dart 147              HotRunner.run.<fn>\r\npackage:stack_trace                                 Chain.capture\r\npackage:flutter_tools/src/hot.dart 146              HotRunner.run\r\npackage:flutter_tools/src/commands/run.dart 236     RunCommand.runCommand.<async>\r\n```\r\n\r\n## Flutter Doctor\r\n\r\n[✓] Flutter (on Mac OS, channel master)\r\n    • Flutter at /Users/jackson/git/flutter\r\n    • Framework revision d86900d22f (45 minutes ago), 2016-11-03 13:17:35\r\n    • Engine revision 16077d474b\r\n    • Tools Dart version 1.21.0-dev.3.0\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 23.0.3)\r\n    • Android SDK at /Users/jackson/Library/Android/sdk\r\n    • Platform android-N, build-tools 23.0.3\r\n    • ANDROID_HOME = /Users/jackson/Library/Android/\r\n    • Java(TM) SE Runtime Environment (build 1.8.0_91-b14)\r\n\r\n[-] iOS toolchain - develop for iOS devices (Xcode 7.3.1)\r\n    • XCode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 7.3.1, Build version 7D1014\r\n    x libimobiledevice is incompatible with the installed XCode version. To update, run:\r\n      brew uninstall libimobiledevice\r\n      brew install --HEAD libimobiledevice\r\n\r\n[✓] IntelliJ IDEA Community Edition (version 2016.2.5)\r\n    • Dart plugin installed\r\n    • Flutter plugin installed\r\n\r\n[✓] Connected devices\r\n    •                • 14710ae2e8497590643751c5532d907ed1ff2eed • ios • iOS  ()\r\n    • iPhone 6s Plus • A524B495-C7BF-45A4-834D-1CA9926ED076     • ios • iOS 9.3 (simulator)\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/258226687","html_url":"https://github.com/flutter/flutter/issues/6686#issuecomment-258226687","issue_url":"https://api.github.com/repos/flutter/flutter/issues/6686","id":258226687,"user":{"login":"eseidelGoogle","id":11857803,"avatar_url":"https://avatars.githubusercontent.com/u/11857803?v=3","gravatar_id":"","url":"https://api.github.com/users/eseidelGoogle","html_url":"https://github.com/eseidelGoogle","followers_url":"https://api.github.com/users/eseidelGoogle/followers","following_url":"https://api.github.com/users/eseidelGoogle/following{/other_user}","gists_url":"https://api.github.com/users/eseidelGoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/eseidelGoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eseidelGoogle/subscriptions","organizations_url":"https://api.github.com/users/eseidelGoogle/orgs","repos_url":"https://api.github.com/users/eseidelGoogle/repos","events_url":"https://api.github.com/users/eseidelGoogle/events{/privacy}","received_events_url":"https://api.github.com/users/eseidelGoogle/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T18:08:52Z","updated_at":"2016-11-03T18:08:52Z","body":"This must be a recent regression.  I often build only for iOS.  Could this be related to the Dart AOT changes last week? @chinmaygarde @rmacnak-google?"}}
{"actor":{"display_login":"eseidelGoogle"}}