{"id":4209,"date":"2016-04-28T18:16:38","date_gmt":"2016-04-28T09:16:38","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=4209"},"modified":"2025-03-12T11:27:31","modified_gmt":"2025-03-12T02:27:31","slug":"fastlane%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%80%80%e3%80%9c%e6%a7%8b%e9%80%a0%e3%82%92%e7%9f%a5%e3%82%8b%e3%80%9c","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2016\/04\/28\/fastlane%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%80%80%e3%80%9c%e6%a7%8b%e9%80%a0%e3%82%92%e7%9f%a5%e3%82%8b%e3%80%9c\/","title":{"rendered":"Fastlane\u306e\u57fa\u672c\u3000\u301c\u69cb\u9020\u3092\u77e5\u308b\u301c"},"content":{"rendered":"<p>iOS\u30a2\u30d7\u30ea\u751f\u6210\u6642\u306e\u30b3\u30b9\u30c8\u3092\u4e0b\u3052\u308b\u4e8b\u3092\u76ee\u6a19\u306bFastlane\u3092\u52c9\u5f37\u4e2d\u306a\u306e\u3067\u3059\u304c\u3001<br \/>\n\u691c\u7d22\u304b\u3051\u3066\u3082\u306a\u304b\u306a\u304b\u307e\u3068\u307e\u3063\u305f\u8a18\u4e8b\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u306e\u3067<br \/>\n\u81ea\u5206\u306e\u8133\u5185\u6574\u7406\u306e\u70ba\u306b\u7c21\u6f54\u306b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f<br \/>\n\u30c6\u30b9\u30c8\u7528\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u307e\u305aViewController\u3092\uff11\u3064\u7528\u610f\u3057\u305fFastlaneTest\u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u3001<br \/>\nFastlane\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u65e9\u901f\u52d5\u4f5c\u78ba\u8a8d<br \/>\nFastlane\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u69cb\u9020\u3053\u3093\u306a\u611f\u3058<\/p>\n<pre lang=\"ruby\">1 fastlane_version \"1.81.0\"\n2 default_platform :ios\n3\n4 platform :ios do\n5 before_all do\n6 say [\"before all\"]\n7 end\n8\n9 desc \"\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc\"\n10 lane :test do\n11 say [\"\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc\"]\n12 end\n13\n14 desc \"\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc\uff12\"\n15 lane :test2 do |options|\n16 say [options[:hoge]]\n17 end\n18\n19 after_all do |lane|\n20 say [\"after all\"]\n21 end\n22\n23 error do |lane, exception|\n24 say [\"\u30a8\u30e9\u30fc\"]\n25 end\n26 end<\/pre>\n<p>fastlane [lane\u540d]\u3067\u5b9f\u884c\u3057\u307e\u3059<br \/>\n\u305d\u3046\u3059\u308b\u3068before_all\u2192[lane\u540d]\u2192after_all\u306e\u9806\u756a\u3067\u8d70\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059<br \/>\n\u56e0\u307f\u306bsay[]\u306f\u30dc\u30a4\u30b9\u304c\u6d41\u308c\u308baction\u3067\u3059<br \/>\n\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306ferror\u306e\u4e2d\u8eab\u304c\u8d70\u308a\u3001after_all\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093<\/p>\n<pre lang=\"bash\">test:fastlane test$ fastlane test\n[12:06:55]: -------------------------------------------------\n[12:06:55]: --- Step: Verifying required fastlane version ---\n[12:06:55]: -------------------------------------------------\n[12:06:55]: fastlane version valid\n[12:06:55]: ------------------------------\n[12:06:55]: --- Step: default_platform ---\n[12:06:55]: ------------------------------\n[12:06:55]: Driving the lane 'ios test' &#x1f680;\n[12:06:55]: -----------------\n[12:06:55]: --- Step: say ---\n[12:06:55]: -----------------\n[12:06:55]: $ say 'before all'\n[12:06:56]: -----------------\n[12:06:56]: --- Step: say ---\n[12:06:56]: -----------------\n[12:06:56]: $ say '\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc'\n[12:06:58]: -----------------\n[12:06:58]: --- Step: say ---\n[12:06:58]: -----------------\n[12:06:58]: $ say 'after all'\n\n+------+-------------------------------------+-------------+\n| fastlane summary |\n+------+-------------------------------------+-------------+\n| Step | Action | Time (in s) |\n+------+-------------------------------------+-------------+\n| 1 | Verifying required fastlane version | 0 |\n| 2 | default_platform | 0 |\n| 3 | say | 1 |\n| 4 | say | 1 |\n| 5 | say | 1 |\n+------+-------------------------------------+-------------+\n\n[12:06:59]: fastlane.tools finished successfully &#x1f389;\n<\/pre>\n<pre lang=\"bash\">test:fastlane test$ fastlane test2 hoge:aaa\n[17:53:38]: -------------------------------------------------\n[17:53:38]: --- Step: Verifying required fastlane version ---\n[17:53:38]: -------------------------------------------------\n[17:53:38]: fastlane version valid\n[17:53:38]: ------------------------------\n[17:53:38]: --- Step: default_platform ---\n[17:53:38]: ------------------------------\n[17:53:38]: Driving the lane 'ios test2' &#x1f680;\n[17:53:38]: -----------------\n[17:53:38]: --- Step: say ---\n[17:53:38]: -----------------\n[17:53:38]: $ say 'before all'\n[17:53:39]: -----------------\n[17:53:39]: --- Step: say ---\n[17:53:39]: -----------------\n[17:53:39]: $ say 'aaa'\n[17:53:40]: -----------------\n[17:53:40]: --- Step: say ---\n[17:53:40]: -----------------\n[17:53:40]: $ say 'after all'\n\n+------+-------------------------------------+-------------+\n| fastlane summary |\n+------+-------------------------------------+-------------+\n| Step | Action | Time (in s) |\n+------+-------------------------------------+-------------+\n| 1 | Verifying required fastlane version | 0 |\n| 2 | default_platform | 0 |\n| 3 | say | 1 |\n| 4 | say | 1 |\n| 5 | say | 1 |\n+------+-------------------------------------+-------------+\n\n[17:53:41]: fastlane.tools finished successfully &#x1f389;\n<\/pre>\n<p>\u4eca\u56de\u306f\u3053\u3053\u307e\u3067<br \/>\n\u6b21\u56de\u306fgym\u3092\u5165\u308c\u3066ipa\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059<\/p>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209&#038;t=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209&#038;text=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209&#038;title=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9C%E6%A7%8B%E9%80%A0%E3%82%92%E7%9F%A5%E3%82%8B%E3%80%9C&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4209\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>iOS\u30a2\u30d7\u30ea\u751f\u6210\u6642\u306e\u30b3\u30b9\u30c8\u3092\u4e0b\u3052\u308b\u4e8b\u3092\u76ee\u6a19\u306bFastlane\u3092\u52c9\u5f37\u4e2d\u306a\u306e\u3067\u3059\u304c\u3001 \u691c\u7d22\u304b\u3051\u3066\u3082\u306a\u304b\u306a\u304b\u307e\u3068\u307e\u3063\u305f\u8a18\u4e8b\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u306e\u3067 \u81ea\u5206\u306e\u8133\u5185\u6574\u7406\u306e\u70ba\u306b\u7c21\u6f54\u306b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f \u30c6\u30b9\u30c8\u7528\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u307e\u305aViewCon [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[148,51],"class_list":["post-4209","post","type-post","status-publish","format-standard","hentry","category-ios","tag-fastlane","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=4209"}],"version-history":[{"count":8,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4209\/revisions"}],"predecessor-version":[{"id":4217,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4209\/revisions\/4217"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=4209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=4209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=4209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}