{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/21897","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/21897/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/21897/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/21897/events","html_url":"https://github.com/flutter/flutter/issues/21897","id":360486459,"node_id":"MDU6SXNzdWUzNjA0ODY0NTk=","number":21897,"title":"Xcode Archive build fails even though flutter build ios succeeds","user":{"login":"jeffmikels","id":3506020,"node_id":"MDQ6VXNlcjM1MDYwMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3506020?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffmikels","html_url":"https://github.com/jeffmikels","followers_url":"https://api.github.com/users/jeffmikels/followers","following_url":"https://api.github.com/users/jeffmikels/following{/other_user}","gists_url":"https://api.github.com/users/jeffmikels/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffmikels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffmikels/subscriptions","organizations_url":"https://api.github.com/users/jeffmikels/orgs","repos_url":"https://api.github.com/users/jeffmikels/repos","events_url":"https://api.github.com/users/jeffmikels/events{/privacy}","received_events_url":"https://api.github.com/users/jeffmikels/received_events","type":"User","site_admin":false},"labels":[{"id":283479343,"node_id":"MDU6TGFiZWwyODM0NzkzNDM=","url":"https://api.github.com/repos/flutter/flutter/labels/severe:%20crash","name":"severe: crash","color":"900000","default":false},{"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":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-14T23:55:07Z","updated_at":"2018-10-23T03:57:57Z","closed_at":null,"author_association":"NONE","body":"As the title says, I can build from the command line and install on my device, but when I try to run an archive in Xcode, I get the following error.\r\n\r\n```\r\nld: warning: directory not found for option '-L/Volumes/Jeff/Library/Developer/Xcode/DerivedData/Runner-dhytviduagshlmbbozuwftfdndsj/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/flutter_youtube'\r\nld: warning: directory not found for option '-L/Volumes/Jeff/Library/Developer/Xcode/DerivedData/Runner-dhytviduagshlmbbozuwftfdndsj/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/video_player'\r\nld: library not found for -lXCDYouTubeKit\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/432081986","html_url":"https://github.com/flutter/flutter/issues/21897#issuecomment-432081986","issue_url":"https://api.github.com/repos/flutter/flutter/issues/21897","id":432081986,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjA4MTk4Ng==","user":{"login":"admerzeau","id":4128215,"node_id":"MDQ6VXNlcjQxMjgyMTU=","avatar_url":"https://avatars0.githubusercontent.com/u/4128215?v=4","gravatar_id":"","url":"https://api.github.com/users/admerzeau","html_url":"https://github.com/admerzeau","followers_url":"https://api.github.com/users/admerzeau/followers","following_url":"https://api.github.com/users/admerzeau/following{/other_user}","gists_url":"https://api.github.com/users/admerzeau/gists{/gist_id}","starred_url":"https://api.github.com/users/admerzeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/admerzeau/subscriptions","organizations_url":"https://api.github.com/users/admerzeau/orgs","repos_url":"https://api.github.com/users/admerzeau/repos","events_url":"https://api.github.com/users/admerzeau/events{/privacy}","received_events_url":"https://api.github.com/users/admerzeau/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T03:57:57Z","updated_at":"2018-10-23T03:57:57Z","author_association":"NONE","body":"I was facing the same problem. The solution I found was open Xcode workspace and not the project: \r\n\r\nopen ios/Runner.xcworkspace/\r\n\r\nLet me know if help\r\n\r\n"}}
{"actor":{"display_login":"admerzeau"}}