{"id":4265,"date":"2016-05-13T17:58:21","date_gmt":"2016-05-13T08:58:21","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=4265"},"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%9cgym%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%9c","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2016\/05\/13\/fastlane%e3%81%ae%e5%9f%ba%e6%9c%ac%e3%80%80%e3%80%9cgym%e5%85%a5%e3%82%8c%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%9c\/","title":{"rendered":"Fastlane\u306e\u57fa\u672c\u3000\u301cgym\u5165\u308c\u3066\u307f\u308b\u301c"},"content":{"rendered":"<p>Fastlane\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u69cb\u9020\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3067\u3001<br \/>\n\u6b21\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\uff11\u3064\u52d5\u304b\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059<br \/>\ngym\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002ipa\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059<br \/>\nsudo gem install gym\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059<\/p>\n<pre lang=\"ruby\">test:FastlaneTest test$ gym --workspace \"FastlaneTest.xcodeproj\/project.xcworkspace\" --scheme \"FastlaneTest\" --clean --use_legacy_build_api\n[11:38:10]: Using legacy build system - waiting for radar to be fixed: https:\/\/openradar.appspot.com\/radar?id=4952000420642816\n[11:38:10]: xcrun xcodebuild -list -workspace 'FastlaneTest.xcodeproj\/project.xcworkspace'\n\n+----------------------+--------------------------------------------+\n|                       Summary for gym 1.6.2                       |\n+----------------------+--------------------------------------------+\n| workspace            | FastlaneTest.xcodeproj\/project.xcworkspace |\n| scheme               | FastlaneTest                               |\n| clean                | true                                       |\n| use_legacy_build_api | true                                       |\n| destination          | generic\/platform=iOS                       |\n| output_name          | FastlaneTest                               |\n| output_directory     | .                                          |\n| silent               | false                                      |\n| buildlog_path        | ~\/Library\/Logs\/gym                         |\n+----------------------+--------------------------------------------+\n\n\u301c\u4e2d\u7565\u301c\n\n[11:38:34]: Successfully exported and compressed dSYM file\n[11:38:34]: Successfully exported and signed the ipa file:\n[11:38:34]: \/Users\/test\/WorkSpace\/test\/FastlaneTest\/FastlaneTest.ipa<\/pre>\n<p><a href=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/0862ab332e54dab32cb1d14c0d32cc90.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/0862ab332e54dab32cb1d14c0d32cc90.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-04-27 14.17.04\" width=\"207\" height=\"381\" class=\"alignnone size-full wp-image-4268\" \/><\/a><\/p>\n<p>ipa\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff01<br \/>\n\u2014use_legacy_build_api \u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u5165\u308c\u3066\u3044\u306a\u3044\u3068<br \/>\n&#8220;The operation couldn\u2019t be completed. (IDEDistributionErrorDomain error 1.)&#8221;<br \/>\n\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3088\u3046\u3067\u3059\uff08\u53c2\u8003\uff1ahttp:\/\/qiita.com\/takecian\/items\/6d34448d61c69e0d4a7f\uff09<br \/>\n\u4ee5\u4e0a\u3092\u78ba\u8a8d\u3057\u305f\u4e0a\u3067\u3001\u6700\u521d\u306b\u4f5c\u3063\u305fFastlane\u30d5\u30a1\u30a4\u30eb\u306bgym\u3092\u5165\u308c\u3066\u307f\u307e\u3059<\/p>\n<pre lang=\"ruby\">  1 fastlane_version \"1.81.0\"\n  2 default_platform :ios\n  3\n  4 platform :ios do\n  5   before_all do\n  6     say [\"before all\"]\n  7   end\n  8\n  9   desc \"\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc\"\n 10   lane :test do\n 11     gym(\n 12     workspace: \"FastlaneTest.xcodeproj\/project.xcworkspace\",\n 13     scheme: \"FastlaneTest\",\n 14     clean: true,\n 15     use_legacy_build_api: true\n 16     )\n 17   end\n 18\n 19   desc \"\u30c6\u30b9\u30c8\u3067\u3059\u3088\u30fc\uff12\"\n 20   lane :test2 do |options|\n 21     say [options[:hoge]]\n 22   end\n 23\n 24   after_all do |lane|\n 25     say [\"after all\"]\n 26   end\n 27\n 28   error do |lane, exception|\n 29     say [\"\u30a8\u30e9\u30fc\"]\n 30   end\n 31 end<\/pre>\n<p>ipa\u30d5\u30a1\u30a4\u30eb\u3092\u6d88\u3057\u3066\u5b9f\u884c<\/p>\n<pre lang=\"ruby\">test:fastlane test$ fastlane test\n[14:29:08]: -------------------------------------------------\n[14:29:08]: --- Step: Verifying required fastlane version ---\n[14:29:08]: -------------------------------------------------\n[14:29:08]: fastlane version valid\n[14:29:08]: ------------------------------\n[14:29:08]: --- Step: default_platform ---\n[14:29:08]: ------------------------------\n[14:29:08]: Driving the lane 'ios test' &#x1f680;\n[14:29:08]: -----------------\n[14:29:08]: --- Step: say ---\n[14:29:08]: -----------------\n[14:29:08]: $ say 'before all'\n[14:29:10]: -----------------\n[14:29:10]: --- Step: gym ---\n[14:29:10]: -----------------\n[14:29:10]: Using legacy build system - waiting for radar to be fixed: https:\/\/openradar.appspot.com\/radar?id=4952000420642816\n[14:29:10]: xcrun xcodebuild -list -workspace 'FastlaneTest.xcodeproj\/project.xcworkspace'\n\n+----------------------+--------------------------------------------+\n|                       Summary for gym 1.6.2                       |\n+----------------------+--------------------------------------------+\n| workspace            | FastlaneTest.xcodeproj\/project.xcworkspace |\n| scheme               | FastlaneTest                               |\n| clean                | true                                       |\n| use_legacy_build_api | true                                       |\n| destination          | generic\/platform=iOS                       |\n| output_name          | FastlaneTest                               |\n| output_directory     | .                                          |\n| silent               | false                                      |\n| buildlog_path        | ~\/Library\/Logs\/gym                         |\n+----------------------+--------------------------------------------+\n\n\u301c\u4e2d\u7565\u301c\n\n[14:29:45]: Successfully exported and compressed dSYM file\n[14:29:45]: Successfully exported and signed the ipa file:\n[14:29:45]: \/Users\/test\/WorkSpace\/test\/FastlaneTest\/FastlaneTest.ipa\n[14:29:45]: -----------------\n[14:29:45]: --- Step: say ---\n[14:29:45]: -----------------\n[14:29:45]: $ 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    | gym                                 | 35          |\n| 5    | say                                 | 1           |\n+------+-------------------------------------+-------------+\n\n[14:29:46]: fastlane.tools finished successfully &#x1f389;<\/pre>\n<p><a href=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/ec75357ce66efc120fb71e960735d104.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/ec75357ce66efc120fb71e960735d104.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-04-28 14.48.52\" width=\"172\" height=\"202\" class=\"alignnone size-full wp-image-4267\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c-400x226.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2016-04-28 11.48.50\" width=\"400\" height=\"226\" class=\"alignnone size-medium wp-image-4266\" srcset=\"https:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c-400x226.png 400w, https:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c-768x433.png 768w, https:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c-602x340.png 602w, https:\/\/www.lancard.com\/blog\/wp-content\/uploads\/2016\/05\/3ec36eba634fb6e8e13305014e16426c.png 771w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><br \/>\n\u4f8b\u3048\u3070\u3001FastlaneTest\u30b9\u30ad\u30fc\u30de\u3092\u30b3\u30d4\u30fc\u3057\u305fFastlane2\u3082<\/p>\n<pre lang=\"ruby\"> 10   lane :test do\n 11     gym(\n 12     workspace: \"FastlaneTest.xcodeproj\/project.xcworkspace\",\n 13     scheme: \"FastlaneTest2\",\n 14     clean: true,\n 15     use_legacy_build_api: true\n 16     )<\/pre>\n<p>\u3068scheme\u306e\u5024\u3092\u7de8\u96c6\u3059\u308c\u3070\u540c\u3058\u3088\u3046\u306bipa\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059<\/p>\n<p>\u6b21\u306f\u30ea\u30ea\u30fc\u30b9\u307e\u3067\u306e\u4e00\u901a\u308a\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5165\u308c\u305f\u72b6\u614b\u306eFastlane\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u307f\u3088\u3046\u304b\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%2F4265&#038;t=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%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%2F4265&#038;p&#091;images&#093;&#091;0&#093;=http%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-content%2Fuploads%2F2016%2F05%2F0862ab332e54dab32cb1d14c0d32cc90.png&#038;p&#091;title&#093;=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%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%2F4265&#038;text=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%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%2F4265&#038;title=Fastlane%E3%81%AE%E5%9F%BA%E6%9C%AC%E3%80%80%E3%80%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%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%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%E3%82%8B%E3%80%9C&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F4265\" 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%9Cgym%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%BF%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%2F4265\" 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>Fastlane\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u69cb\u9020\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3067\u3001 \u6b21\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\uff11\u3064\u52d5\u304b\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059 gym\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002ipa\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059 sudo gem install gym\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[148,51],"class_list":["post-4265","post","type-post","status-publish","format-standard","hentry","category-1","tag-fastlane","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4265","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=4265"}],"version-history":[{"count":2,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4265\/revisions"}],"predecessor-version":[{"id":4270,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/4265\/revisions\/4270"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=4265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=4265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=4265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}