{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/412","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/412/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/412/events","html_url":"https://github.com/fastlane/fastlane/issues/412","id":95092449,"number":412,"title":"I want to use fastlane in TravisCI.","user":{"login":"westbefore","id":1203832,"avatar_url":"https://avatars.githubusercontent.com/u/1203832?v=3","gravatar_id":"","url":"https://api.github.com/users/westbefore","html_url":"https://github.com/westbefore","followers_url":"https://api.github.com/users/westbefore/followers","following_url":"https://api.github.com/users/westbefore/following{/other_user}","gists_url":"https://api.github.com/users/westbefore/gists{/gist_id}","starred_url":"https://api.github.com/users/westbefore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westbefore/subscriptions","organizations_url":"https://api.github.com/users/westbefore/orgs","repos_url":"https://api.github.com/users/westbefore/repos","events_url":"https://api.github.com/users/westbefore/events{/privacy}","received_events_url":"https://api.github.com/users/westbefore/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/awaiting-reply","name":"awaiting-reply","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-15T02:53:30Z","updated_at":"2016-03-24T20:47:42Z","closed_at":"2016-03-24T20:47:42Z","body":"I want to use fastlane in TravisCI.\r\nBut it don't work.\r\nPlease help me.\r\n\r\nHere are the relevant lines in my Fastfile:\r\n```\r\nplatform :ios do\r\n\r\n  before_all do\r\n    build_number = Time.new.strftime(\"%y%m%d.%H%I\")\r\n    increment_build_number build_number: build_number\r\n\r\n    ENV[\"PROFILE_UDID\"] = Actions.lane_context[Actions::SharedValues::SIGH_UDID]\r\n    ipa(scheme: \"ios_sample\",embed:\"./fastlane/test.mobileprovision\")\r\n  end\r\n  desc \"Deploy a new version to the App Store\"\r\n  desc \"** Full Markdown** Support: `code`\"\r\n  lane :deploy do\r\n    deliver(skip_deploy: true, force: true)\r\n  end\r\nend\r\n```\r\n\r\nhere is the output:\r\n```\r\n[02:23:37]: -----------------\r\n[02:23:37]: --- Step: ipa ---\r\n[02:23:37]: -----------------\r\n[02:23:37]: set -o pipefail && krausefx-ipa build -s \"ios_sample\" -m \"./fastlane/test.mobileprovision\" --verbose | xcpretty\r\n[02:23:37]: [SHELL COMMAND]: set -o pipefail && krausefx-ipa build -s \"ios_sample\" -m \"./fastlane/test.mobileprovision\" --verbose | xcpretty\r\n[02:23:40]: -------------------------------------------------------\r\n[02:23:40]: Original Error:\r\n[02:23:40]:  => Exit status of command 'set -o pipefail && krausefx-ipa build -s \"ios_sample\" -m \"./fastlane/test.mobileprovision\" --verbose | xcpretty' was 256 instead of 0. \r\n[02:23:40]: A build error occured. This can have many reasons, usually\r\n[02:23:40]: it has something to do with code signing. The `ipa` action\r\n[02:23:40]: uses `shenzhen` under the hood: https://github.com/nomad/shenzhen\r\n[02:23:40]: For code signing related issues, check out this guide:\r\n[02:23:40]: https://github.com/KrauseFx/fastlane/blob/master/docs/CodeSigning.md\r\n[02:23:40]: The command that was used by fastlane:\r\n[02:23:40]: krausefx-ipa build -s \"ios_sample\" -m \"./fastlane/test.mobileprovision\" --verbose | xcpretty\r\n[02:23:40]: -------------------------------------------------------\r\n[02:23:40]: Variable Dump:\r\n[02:23:40]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>nil, :PLATFORM_NAME=>:ios, :LANE_NAME=>\"ios deploy\", :BUILD_NUMBER=>0, :SIGH_PROFILE_PATH=>\"/Users/travis/build/atfreaks/ios_sample/fastlane/test.mobileprovision\", :SIGH_UDID=>\"0cbfcd4f-9589-4d78-bf5d-5e0999b5efd3\"}\r\n[02:23:40]: A build error occured, this is usually related to code signing. Take a look at the error above\r\n[02:23:40]: Sending Crash/Success information. More information on: https://github.com/fastlane/enhancer\r\n[02:23:40]: No personal/sensitive data is sent. Only sharing the following:\r\n[02:23:40]: {:fastlane_version=>1, :default_platform=>1, :increment_build_number=>1, :sigh=>1, :ipa=>1}\r\n[02:23:40]: ipa\r\n[02:23:40]: This information is used to fix failing actions and improve integrations that are often used.\r\n[02:23:40]: You can disable this by adding `opt_out_usage` to your Fastfile\r\n[02:23:40]: fastlane finished with errors\r\n/Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/fastlane-1.8.0/lib/fastlane/actions/ipa.rb:95:in `rescue in run': A build error occured, this is usually related to code signing. Take a look at the error above (RuntimeError)\r\n```\r\n\r\nI try running this commnad.\r\n``` \r\n krausefx-ipa build -w \"./ios_sample.xcworkspace\" -s \"ios_sample\" -m \"./fastlane/test.mobileprovision\" --verbose\r\n```\r\n\r\nhere is the output:\r\n```\r\n$ krausefx-ipa build -w \"./ios_sample.xcworkspace\" -s \"ios_sample\"  -m \"./fastlane/test.mobileprovision\"\r\nScheme ios_sample not found\r\nThe command \"krausefx-ipa build -w \"./ios_sample.xcworkspace\" -s \"ios_sample\"  -m \"./fastlane/test.mobileprovision\"\" exited with 1.\r\n```\r\n\r\n```\r\nuse fastlane ver1.8\r\n```"}}