{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/16753","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/16753/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/16753/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/16753/events","html_url":"https://github.com/flutter/flutter/issues/16753","id":315963842,"number":16753,"title":"`flutter run` fails to launch an app on ios simulator","user":{"login":"aam","id":381137,"avatar_url":"https://avatars0.githubusercontent.com/u/381137?v=4","gravatar_id":"","url":"https://api.github.com/users/aam","html_url":"https://github.com/aam","followers_url":"https://api.github.com/users/aam/followers","following_url":"https://api.github.com/users/aam/following{/other_user}","gists_url":"https://api.github.com/users/aam/gists{/gist_id}","starred_url":"https://api.github.com/users/aam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aam/subscriptions","organizations_url":"https://api.github.com/users/aam/orgs","repos_url":"https://api.github.com/users/aam/repos","events_url":"https://api.github.com/users/aam/events{/privacy}","received_events_url":"https://api.github.com/users/aam/received_events","type":"User","site_admin":false},"labels":[{"id":560683446,"url":"https://api.github.com/repos/flutter/flutter/labels/%E2%9A%A0%20TODAY","name":"⚠ TODAY","color":"FF0000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T17:06:59Z","updated_at":"2018-04-19T17:14:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\n$FH/flutter/examples/flutter_gallery$  $FH/flutter/bin/flutter run -v        \r\n...\r\n[ +534 ms] /usr/bin/xcrun simctl install EA2E716D-F4F4-45BE-97A3-4F638958C55D $FH/flutter/examples/flutter_gallery/build/ios/iphonesimulator/Runner.app\r\n[+4417 ms] /usr/bin/xcrun simctl launch EA2E716D-F4F4-45BE-97A3-4F638958C55D io.flutter.examples.gallery --enable-dart-profiling --flutter-assets-dir=$FH/flutter/examples/flutter_gallery/build/flutter_assets --dart-main=$FH/flutter/examples/flutter_gallery/lib/main.dart.dill --packages=$FH/flutter/examples/flutter_gallery/.packages --enable-checked-mode --observatory-port=63241\r\n[+3528 ms] io.flutter.examples.gallery: 64400\r\n[        ] Waiting for observatory port to be available...\r\n[+1553 ms] [DEVICE LOG] 2018-04-19 10:00:52.555985-0700  localhost Runner[64400]: (Runner) Created Activity ID: 0x9a459b1, Description: Loading Preferences From System CFPrefsD For Search List\r\n[   +2 ms] [DEVICE LOG] 2018-04-19 10:00:52.555985-0700  localhost Runner[64400]: (Runner) Created Activity ID: 0x9a459b0, Description: Loading Preferences From System CFPrefsD For Search List\r\n[  +22 ms] [DEVICE LOG] 2018-04-19 10:00:52.583944-0700  localhost Runner[64400]: (Runner) Created Activity ID: 0x9a459b2, Description: Loading Preferences From System CFPrefsD For Search List\r\n[  +21 ms] [DEVICE LOG] 2018-04-19 10:00:52.603791-0700  localhost Runner[64400]: (libAccessibility.dylib) [com.apple.Accessibility:AccessibilitySupport] Retrieving resting unlock: 0\r\n[ +581 ms] [DEVICE LOG] 2018-04-19 10:00:53.185503-0700  localhost Runner[64400]: (UIKit) You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add \"remote-notification\" to the list of your supported UIBackgroundModes in your Info.plist.\r\n```\r\nand gets stuck here."},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/382813016","html_url":"https://github.com/flutter/flutter/issues/16753#issuecomment-382813016","issue_url":"https://api.github.com/repos/flutter/flutter/issues/16753","id":382813016,"user":{"login":"aam","id":381137,"avatar_url":"https://avatars0.githubusercontent.com/u/381137?v=4","gravatar_id":"","url":"https://api.github.com/users/aam","html_url":"https://github.com/aam","followers_url":"https://api.github.com/users/aam/followers","following_url":"https://api.github.com/users/aam/following{/other_user}","gists_url":"https://api.github.com/users/aam/gists{/gist_id}","starred_url":"https://api.github.com/users/aam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aam/subscriptions","organizations_url":"https://api.github.com/users/aam/orgs","repos_url":"https://api.github.com/users/aam/repos","events_url":"https://api.github.com/users/aam/events{/privacy}","received_events_url":"https://api.github.com/users/aam/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T17:14:53Z","updated_at":"2018-04-19T17:14:53Z","author_association":"CONTRIBUTOR","body":"@chinmaygarde even if I pass `--dart-main` set to physical location of a dill file that definitely exists($FH/flutter/examples/flutter_gallery/build/app.dill), it fails to launch the app with following diagnostic:\r\n\r\n```\r\n[  +41 ms] [DEVICE LOG] 2018-04-19 10:10:24.643316-0700  localhost Runner[66066]: (Flutter) [VERBOSE-2:dart_error.cc(16)] Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8.\r\n[        ] [DEVICE LOG] 2018-04-19 10:10:24.643434-0700  localhost Runner[66066]: (Flutter) [VERBOSE-2:FlutterViewController.mm(170)] Could not launch engine with configuration.\r\n[        ] [VERBOSE-2:dart_error.cc(16)] Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8.\r\n[        ] [VERBOSE-2:FlutterViewController.mm(170)] Could not launch engine with configuration.\r\n```"}}
{"actor":{"display_login":"aam"}}