{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/snapshot/issues/61","repository_url":"https://api.github.com/repos/fastlane/snapshot","labels_url":"https://api.github.com/repos/fastlane/snapshot/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/snapshot/issues/61/comments","events_url":"https://api.github.com/repos/fastlane/snapshot/issues/61/events","html_url":"https://github.com/fastlane/snapshot/issues/61","id":56653892,"number":61,"title":"Allow snapshot to be used for non Xcode projects","user":{"login":"tomquist","id":528585,"avatar_url":"https://avatars.githubusercontent.com/u/528585?v=3","gravatar_id":"","url":"https://api.github.com/users/tomquist","html_url":"https://github.com/tomquist","followers_url":"https://api.github.com/users/tomquist/followers","following_url":"https://api.github.com/users/tomquist/following{/other_user}","gists_url":"https://api.github.com/users/tomquist/gists{/gist_id}","starred_url":"https://api.github.com/users/tomquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomquist/subscriptions","organizations_url":"https://api.github.com/users/tomquist/orgs","repos_url":"https://api.github.com/users/tomquist/repos","events_url":"https://api.github.com/users/tomquist/events{/privacy}","received_events_url":"https://api.github.com/users/tomquist/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/snapshot/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/fastlane/snapshot/labels/migrated","name":"migrated","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-05T10:42:30Z","updated_at":"2016-03-07T23:57:37Z","closed_at":"2015-04-02T18:03:12Z","body":"We're using snapshot to do automated screenshots for our Xamarin iOS app. It works great, however it doesn't work out of the box:\r\n* Xamarin projects neither have a ``.xcworkspace`` nor a ``.xcproject``, however snapshot requires one of them even when you supply a custom ``build_command``. What I did was creating an empty directory called ``<MyProjectName>.xcworkspace``\r\n* Snapshot looks for ``** BUILD SUCCEEDED **`` within the build-command output which is specific to xcodebuild. To work around this issue is specified a build command like this:\r\n```\r\n    build_command \"\\\"/Applications/Xamarin Studio.app/Contents/MacOS/mdtool\\\" -v build \\\"--configuration:Release|iPhoneSimulator\\\" <MySolutionName>.sln && mkdir -p /tmp/snapshot && cp -R <MyProjectDirectory>/bin/iPhoneSimulator/Release /tmp/snapshot/build && echo '** BUILD SUCCEEDED **'\"\r\n```\r\n\r\nMy suggestions:\r\n* If a ``build_command`` is specified, make the ``project_path`` optional\r\n* Instead of parsing the ``build_command`` output, use the exit status of ``build_command`` which should be ``0`` for successful builds"},"comment":{"url":"https://api.github.com/repos/fastlane/snapshot/issues/comments/193513779","html_url":"https://github.com/fastlane/snapshot/issues/61#issuecomment-193513779","issue_url":"https://api.github.com/repos/fastlane/snapshot/issues/61","id":193513779,"user":{"login":"fastlanebot","id":17711343,"avatar_url":"https://avatars.githubusercontent.com/u/17711343?v=3","gravatar_id":"","url":"https://api.github.com/users/fastlanebot","html_url":"https://github.com/fastlanebot","followers_url":"https://api.github.com/users/fastlanebot/followers","following_url":"https://api.github.com/users/fastlanebot/following{/other_user}","gists_url":"https://api.github.com/users/fastlanebot/gists{/gist_id}","starred_url":"https://api.github.com/users/fastlanebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastlanebot/subscriptions","organizations_url":"https://api.github.com/users/fastlanebot/orgs","repos_url":"https://api.github.com/users/fastlanebot/repos","events_url":"https://api.github.com/users/fastlanebot/events{/privacy}","received_events_url":"https://api.github.com/users/fastlanebot/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T23:57:36Z","updated_at":"2016-03-07T23:57:36Z","body":"This issue was migrated to https://github.com/fastlane/fastlane/issues/2697. Please post all further comments there.\n\n`fastlane` is now a mono repo, you can read more about the change in our [blog post](https://krausefx.com/blog/our-goal-to-unify-fastlane-tools). All tools are now available in the [fastlane main repo](https://github.com/fastlane/fastlane) :rocket:"}}