{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/12725","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/12725/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/12725/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/12725/events","html_url":"https://github.com/flutter/flutter/issues/12725","id":268573380,"node_id":"MDU6SXNzdWUyNjg1NzMzODA=","number":12725,"title":"flutter build ios fail","user":{"login":"frederickcook","id":221998,"node_id":"MDQ6VXNlcjIyMTk5OA==","avatar_url":"https://avatars0.githubusercontent.com/u/221998?v=4","gravatar_id":"","url":"https://api.github.com/users/frederickcook","html_url":"https://github.com/frederickcook","followers_url":"https://api.github.com/users/frederickcook/followers","following_url":"https://api.github.com/users/frederickcook/following{/other_user}","gists_url":"https://api.github.com/users/frederickcook/gists{/gist_id}","starred_url":"https://api.github.com/users/frederickcook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederickcook/subscriptions","organizations_url":"https://api.github.com/users/frederickcook/orgs","repos_url":"https://api.github.com/users/frederickcook/repos","events_url":"https://api.github.com/users/frederickcook/events{/privacy}","received_events_url":"https://api.github.com/users/frederickcook/received_events","type":"User","site_admin":false},"labels":[{"id":283480100,"node_id":"MDU6TGFiZWwyODM0ODAxMDA=","url":"https://api.github.com/repos/flutter/flutter/labels/tool","name":"tool","color":"5319e7","default":false},{"id":283479936,"node_id":"MDU6TGFiZWwyODM0Nzk5MzY=","url":"https://api.github.com/repos/flutter/flutter/labels/%E2%8C%BA%E2%80%AC%20platform-ios","name":"⌺‬ platform-ios","color":"003570","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2017-10-25T22:36:24Z","updated_at":"2018-07-06T20:09:20Z","closed_at":"2017-10-26T22:01:14Z","author_association":"NONE","body":"## Steps to Reproduce\r\n\r\nWe've been working on an app for several months and are finally ready to start beta testing but I'm having an issue building. Can anyone help grep through the log below and see if there is a clue as to what the issue is?\r\n\r\nRunning `flutter build ios` fails. Notably, the app works fine in the iOS simulator when running `flutter run` and the flutter example apps build successfully using `flutter build ios`.\r\n\r\n## Logs\r\n\r\nTo long to copy/paste - see text file: https://firebasestorage.googleapis.com/v0/b/bullwheel-6c673.appspot.com/o/Terminal%20Saved%20Output.txt?alt=media&token=e5792633-976a-44d9-ac7f-aeede7f8e4c8\r\n\r\n## Flutter Doctor\r\n\r\n```\r\nFrederick-Cook-Air% flutter doctor\r\n[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel master)\r\n    • Flutter at /Users/frederickcook/flutter\r\n    • Framework revision 28366002d9 (16 hours ago), 2017-10-25 08:25:44 +0200\r\n    • Engine revision 91071f817b\r\n    • Tools Dart version 1.25.0-dev.11.0\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)\r\n    • Android SDK at /Users/frederickcook/Library/Android/sdk\r\n    • Platform android-26, build-tools 26.0.0\r\n    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)\r\n\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 9.0.1)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 9.0.1, Build version 9A1004\r\n    • ios-deploy 1.9.2\r\n    • CocoaPods version 1.2.1\r\n\r\n[✓] Android Studio (version 2.3)\r\n    • Android Studio at /Applications/Android Studio.app/Contents\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)\r\n\r\n[✓] IntelliJ IDEA Community Edition (version 2017.2.5)\r\n    • Flutter plugin version 18.1\r\n    • Dart plugin version 172.4343.25\r\n\r\n[✓] Connected devices\r\n    • Frederick Cook’s iPhone • c181836da6febb49dcdbea495dea15b137def3cd • ios • iOS 11.0.3\r\n    • iPhone 7                • 2AE532E3-5B4B-4D8D-8CFB-F54C3BF6F8EE     • ios • iOS 11.0 (simulator)\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/403134255","html_url":"https://github.com/flutter/flutter/issues/12725#issuecomment-403134255","issue_url":"https://api.github.com/repos/flutter/flutter/issues/12725","id":403134255,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzEzNDI1NQ==","user":{"login":"asibilia","id":5579814,"node_id":"MDQ6VXNlcjU1Nzk4MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5579814?v=4","gravatar_id":"","url":"https://api.github.com/users/asibilia","html_url":"https://github.com/asibilia","followers_url":"https://api.github.com/users/asibilia/followers","following_url":"https://api.github.com/users/asibilia/following{/other_user}","gists_url":"https://api.github.com/users/asibilia/gists{/gist_id}","starred_url":"https://api.github.com/users/asibilia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asibilia/subscriptions","organizations_url":"https://api.github.com/users/asibilia/orgs","repos_url":"https://api.github.com/users/asibilia/repos","events_url":"https://api.github.com/users/asibilia/events{/privacy}","received_events_url":"https://api.github.com/users/asibilia/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T20:09:20Z","updated_at":"2018-07-06T20:09:20Z","author_association":"NONE","body":"I'm having a similar issue, my app runs fine on a simulator but iOS fails to build for release. \r\n\r\nWhen I run `flutter build ios --release` I get this output:\r\n\r\n```\r\nAutomatically signing iOS for device deployment using specified development team in Xcode project: BDHAGLMYJS\r\nStarting Xcode build...\r\n ├─Building Dart code...                              7.0s\r\n ├─Assembling Flutter resources...                    1.6s\r\n └─Compiling, linking and signing...                  0.3s\r\nXcode build done.                                           12.9s\r\nFailed to build iOS app\r\nError output from Xcode build:\r\n↳\r\n    ** BUILD FAILED **\r\n\r\nXcode's output:\r\n↳\r\n    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===\r\n    Release.xcconfig line 2: Unable to find included file \"Pods/Target Support Files/Pods-Runner/Release.xcconfig\"\r\n    Release.xcconfig line 2: Unable to find included file \"Pods/Target Support Files/Pods-Runner/Release.xcconfig\"\r\n    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===\r\n    Building AOT snapshot in release mode (ios-release)...\r\n    compiler message: file:///Users/alecsibilia/.pub-cache/hosted/pub.dartlang.org/lists-0.0.22/lib/src/range_list.dart:87:21: Error: The parameter 'value' of the method 'RangeList::contains' has type dart.core::int, which does not match the corresponding type in the overridden method (dart.core::Object).\r\n    compiler message: Change to a supertype of dart.core::Object (or, for a covariant parameter, a subtype).\r\n    compiler message:   bool contains(int value) {\r\n    compiler message:                     ^\r\n    compiler message: file:///b/build/slave/Linux_Engine/build/src/third_party/dart/sdk/lib/collection/list.dart:1: Context: This is the overriden method ('contains').\r\n    compiler message: file:///Users/alecsibilia/.pub-cache/hosted/pub.dartlang.org/lists-0.0.22/lib/src/step_list.dart:73:21: Error: The parameter 'value' of the method 'StepList::contains' has type dart.core::int, which does not match the corresponding type in the overridden method (dart.core::Object).\r\n    compiler message: Change to a supertype of dart.core::Object (or, for a covariant parameter, a subtype).\r\n    compiler message:   bool contains(int value) {\r\n    compiler message:                     ^\r\n    compiler message: file:///b/build/slave/Linux_Engine/build/src/third_party/dart/sdk/lib/collection/list.dart:1: Context: This is the overriden method ('contains').\r\n    compiler message: file:///Users/alecsibilia/.pub-cache/hosted/pub.dartlang.org/lists-0.0.22/lib/src/list_pointer.dart:60:48: Error: A value of type 'dart.core::List<dynamic>' can't be assigned to a variable of type 'dart.core::num'.\r\n    compiler message: Try changing the type of the left hand side, or casting the right hand side to 'dart.core::num'.\r\n    compiler message:       return new ListPointer<T>(base, offset + other);\r\n    compiler message:                                                ^\r\n    Compiler terminated unexpectedly.\r\n    cp: build/aot/App.framework: No such file or directory\r\n    cp: /Users/alecsibilia/Github/testapp/ios/Flutter/App.framework/Info.plist: No such file or directory\r\n    Project /Users/alecsibilia/Github/testapp built and packaged successfully.\r\n    Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure\r\n    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===\r\n    ld: framework not found App\r\n    clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nEncountered error while building for device.\r\n```\r\n"}}
{"actor":{"display_login":"asibilia"}}