{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/479","labels_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/479/comments","events_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/479/events","html_url":"https://github.com/KrauseFx/fastlane/issues/479","id":99612768,"number":479,"title":"Fastlane's error output","user":{"login":"Khronoss","id":4353229,"avatar_url":"https://avatars.githubusercontent.com/u/4353229?v=3","gravatar_id":"","url":"https://api.github.com/users/Khronoss","html_url":"https://github.com/Khronoss","followers_url":"https://api.github.com/users/Khronoss/followers","following_url":"https://api.github.com/users/Khronoss/following{/other_user}","gists_url":"https://api.github.com/users/Khronoss/gists{/gist_id}","starred_url":"https://api.github.com/users/Khronoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khronoss/subscriptions","organizations_url":"https://api.github.com/users/Khronoss/orgs","repos_url":"https://api.github.com/users/Khronoss/repos","events_url":"https://api.github.com/users/Khronoss/events{/privacy}","received_events_url":"https://api.github.com/users/Khronoss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-07T09:22:26Z","updated_at":"2015-08-07T12:01:57Z","closed_at":null,"body":"Hello :)\r\n\r\nI've been stuck for a while on build failure using Fastlane. In fact, everything went great when I tried using it on my local computer, but when I launched a build on a distant server, the build directly failed each time.\r\nIt seems you override the ipa's error output tu write yours : \r\n```\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mA build error occured. This can have many reasons, usually\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mit has something to do with code signing. The `ipa` action\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33muses `shenzhen` under the hood: https://github.com/nomad/shenzhen\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mFor code signing related issues, check out this guide:\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mhttps://github.com/KrauseFx/fastlane/blob/master/docs/CodeSigning.md\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mThe command that was used by fastlane:\u001B[0m\r\n\u001B[31m[11:05:33]: \u001B[0m\u001B[33mkrausefx-ipa build -s \"smarty\" -c \"Release\" -m \"/Users/admin/.jenkins/jobs/SMARTY_iOS_Dev/workspace/InHouse_com.prismamedia.smarty.dev.mobileprovision\" --verbose | xcpretty\u001B[0m\r\n```\r\n\r\nBut actually, this time it wasn't caused by a bad provisioning profile ! (Yes, it can happen some times :p)\r\nSo I tried to launch the command line on my server using ssh, and the error was simply as follow : \r\n\"Could not find the scheme <scheme name>\"\r\n\r\nAnd then I figured out that I had to share my schemes on the repository, and...tadam ! Everything worked well :)\r\n\r\nSo I think that at first sight, writing you error is not bad because it's true that the build phase usually fails because of the provisioning profile, but when it's not because of that...it's just not possible to find why it failed without launching the same command manually. Maybe it would be nice to not override the error, but just concatenate your ? :)\r\n\r\nThank you, and as always : Your tool chain is awesome :)"},"comment":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/comments/128683505","html_url":"https://github.com/KrauseFx/fastlane/issues/479#issuecomment-128683505","issue_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/479","id":128683505,"user":{"login":"Khronoss","id":4353229,"avatar_url":"https://avatars.githubusercontent.com/u/4353229?v=3","gravatar_id":"","url":"https://api.github.com/users/Khronoss","html_url":"https://github.com/Khronoss","followers_url":"https://api.github.com/users/Khronoss/followers","following_url":"https://api.github.com/users/Khronoss/following{/other_user}","gists_url":"https://api.github.com/users/Khronoss/gists{/gist_id}","starred_url":"https://api.github.com/users/Khronoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Khronoss/subscriptions","organizations_url":"https://api.github.com/users/Khronoss/orgs","repos_url":"https://api.github.com/users/Khronoss/repos","events_url":"https://api.github.com/users/Khronoss/events{/privacy}","received_events_url":"https://api.github.com/users/Khronoss/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T12:01:57Z","updated_at":"2015-08-07T12:01:57Z","body":"Okay, why not ? :)"}}