{"id":1094,"date":"2019-09-27T14:23:42","date_gmt":"2019-09-27T05:23:42","guid":{"rendered":"https:\/\/tech.at-iroha.jp\/?p=1094"},"modified":"2020-07-21T13:07:05","modified_gmt":"2020-07-21T04:07:05","slug":"phonegap-build-%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9fios%e3%82%a2%e3%83%97%e3%83%aa%e3%81%ae%e3%83%93%e3%83%ab%e3%83%89%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/tech.at-iroha.jp\/?p=1094","title":{"rendered":"PhoneGap Build \u3092\u4f7f\u7528\u3057\u305fiOS\u30a2\u30d7\u30ea\u306e\u30d3\u30eb\u30c9\u65b9\u6cd5"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" aria-label=\"PhoneGap Build (opens in a new tab)\" href=\"https:\/\/build.phonegap.com\/\" target=\"_blank\">PhoneGap Build<\/a> \u3068\u306f\u30af\u30e9\u30a6\u30c9\u4e0a\u3067Cordova\/PhoneGap \u30a2\u30d7\u30ea\u3092\u30d3\u30eb\u30c9\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308b\u3002 Adobe \u793e\u304c\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u3082\u3057\u304f\u306f\u975e\u516c\u958b\u306e\u30a2\u30d7\u30ea\u3067\u30821\u500b\u307e\u3067\u306a\u3089\u7121\u6599\u3067\u30d3\u30eb\u30c9\u3067\u304d\u308b\u3002\u540c\u69d8\u306e\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u306f<a href=\"https:\/\/ja.monaca.io\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Monaca  (opens in a new tab)\">Monaca <\/a>\u304c\u6709\u540d\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u306f Xcode \u3084 Android Studio \u306a\u3069\u500b\u5225\u306e\u7d71\u5408\u958b\u767a\u74b0\u5883\u304c\u306a\u304f\u3066\u3082\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u3067\u3001\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u305d\u308c\u305e\u308c\u306bOS\u306b\u5408\u308f\u305b\u3066\u30d3\u30eb\u30c9\u3057\u3066\u304f\u308c\u308b\u3053\u3068\u3067\u3042\u308b\u3002Mac \u304c\u306a\u304f\u3066\u3082 App Store \u306b\u7533\u8acb\u53ef\u80fd\u306a .ipa \u30d5\u30a1\u30a4\u30eb\u307e\u3067\u4f5c\u6210\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u8fd1\u306f\u3042\u307e\u308a\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u3092\u4f5c\u3089\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u304c\u3001\u305f\u307e\u306b\u53e4\u3044\u30a2\u30d7\u30ea\u3092\u66f4\u65b0\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002\u305f\u3060\u305d\u306e\u305f\u3073\u306b\u8a3c\u660e\u66f8\u3084\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u306b\u624b\u9593\u53d6\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4eca\u5f8c\u306e\u70ba\u306b\u60c5\u5831\u3092\u6574\u7406\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5168\u4f53\u306e\u6d41\u308c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3042\u308b\u3002\u5b9f\u969b\u306b\u306f\u3053\u308c\u4ee5\u5916\u306b\u3082\u3001\u7d30\u304b\u3044\u4e0b\u6e96\u5099\u304c\u6570\u591a\u304f\u3042\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"466\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-13-1024x466.png\" alt=\"\" class=\"wp-image-1117\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-13-1024x466.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-13-700x319.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-13-768x350.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u79d8\u5bc6\u9375\u3068\u8a3c\u660e\u66f8\u7f72\u540d\u8981\u6c42\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u307e\u305a\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u3001 OpenSSL \u3092\u4f7f\u7528\u3057\u3066\u79d8\u5bc6\u9375(.key)\u3068\u8a3c\u660e\u66f8\u7f72\u540d\u8981\u6c42 (Certificate Signing Request, .csr)\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n\n<p>openssl genrsa -out ios_20190911.key 2048<br> openssl req -new -key ios_20190911.key -out ios_20190911.csr -subj &#8220;\/emailAddress=xxx@xxx, CN=XXX, C=JP&#8221;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a3c\u660e\u66f8\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u306f Apple Developer \u4e0a\u3067\u4f5c\u696d\u3067\u3042\u308b\u3002\u307e\u305a Certificates, Identifiers &amp; Profiles \u306e Certificates \u753b\u9762\u304b\u3089\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u4f5c\u6210\u3057\u305f \u8a3c\u660e\u66f8\u7f72\u540d\u8981\u6c42(.csr) \u3092\u5143\u306b\u8a3c\u660e\u66f8(.cer)\u306e\u4f5c\u6210\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"249\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-1024x249.png\" alt=\"\" class=\"wp-image-1095\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-1024x249.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-700x170.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-768x187.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image.png 1261w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-2-1024x499.png\" alt=\"\" class=\"wp-image-1103\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-2-1024x499.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-2-700x341.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-2-768x374.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-2.png 1229w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c7\u30d0\u30a4\u30b9\u306e\u767b\u9332<\/h2>\n\n\n\n<p>\u6b21\u306b Devices \u753b\u9762\u304b\u3089\u3001\u5b9f\u6a5f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u7814\u4fee\u3059\u308b\u305f\u3081\u306b\u3001\u5404iOS\u30c7\u30d0\u30a4\u30b9\u306eUUID\u3092\u767b\u9332\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-3-1024x447.png\" alt=\"\" class=\"wp-image-1104\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-3-1024x447.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-3-700x306.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-3-768x336.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-3.png 1236w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-4-1024x544.png\" alt=\"\" class=\"wp-image-1105\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-4-1024x544.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-4-700x372.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-4-768x408.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-4.png 1237w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>Profiles \u753b\u9762\u304b\u3089\u3001\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb(.mobileprovision)\u306e\u4f5c\u6210\u3092\u884c\u3044\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"702\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-5-1024x702.png\" alt=\"\" class=\"wp-image-1106\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-5-1024x702.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-5-700x480.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-5-768x527.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-5.png 1245w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a3c\u660e\u66f8(.cer) \u3068\u79d8\u5bc6\u9375(.key)\u304b\u3089.p12 \u8a3c\u660e\u66f8\u3092\u4f5c\u6210<\/h2>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u306f\u518d\u3073\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u306e\u4f5c\u696d\u3067\u3042\u308b\u3002OpenSSL\u3092\u4f7f\u7528\u3057\u3066\u3001\u307e\u305a.cer\u30d5\u30a1\u30a4\u30eb\u3092pem\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3059\u308b\u3002\u6b21\u306b.pem\u30d5\u30a1\u30a4\u30eb\u3068.key \u30d5\u30a1\u30a4\u30eb\u304b\u3089.p12\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n\n<p>openssl x509 -in ios_development_20190911.cer -inform DER -out ios_development_20190911.pem -outform PEM<br>\nopenssl pkcs12 -export -inkey ios_20190911.key -in ios_development_20190911.pem -out ios_development_20190911.p12<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8a3c\u660e\u66f8(.p12)\u3068\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u767b\u9332<\/h2>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u306f PhoneGap Build \u5074\u306e\u4f5c\u696d\u3067\u3042\u308b\u3002\u307e\u305a PhoneGap Build \u306b\u30b5\u30a4\u30f3\u30a4\u30f3\u3057\u3001\u300c\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u7de8\u96c6\u300d\u753b\u9762\u3092\u958b\u304d\u3001\u300c\u7f72\u540d\u30ad\u30fc\u300d\u30bf\u30d6\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u300c\u8ffd\u52a0\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001OpenSSL\u3067\u4f5c\u6210\u3057\u305f\u8a3c\u660e\u66f8(.p12)\u3068\u3001Apple Developer \u3067\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u767b\u9332\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u8a3c\u660e\u66f8\u3068\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306f\u3001development \u7528\u3068\u3001distribution \u7528\u305d\u308c\u305e\u308c\u767b\u9332\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"985\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-9-1024x985.png\" alt=\"\" class=\"wp-image-1110\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-9-1024x985.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-9-700x673.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-9-768x739.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-9.png 1148w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30bd\u30fc\u30b9\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h2>\n\n\n\n<p>Cordova\/PhoneGap \u306e\u30bd\u30fc\u30b9\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3057\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"656\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-11-1024x656.png\" alt=\"\" class=\"wp-image-1112\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-11-1024x656.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-11-700x449.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-11-768x492.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-11.png 1064w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d3\u30eb\u30c9<\/h2>\n\n\n\n<p>\u767b\u9332\u3057\u305f\u7f72\u540d\u30ad\u30fc\u3092\u9078\u629e\u3057\u3001\u30d3\u30eb\u30c9\u3092\u884c\u3046\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"116\" src=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-12-1024x116.png\" alt=\"\" class=\"wp-image-1113\" srcset=\"https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-12-1024x116.png 1024w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-12-700x79.png 700w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-12-768x87.png 768w, https:\/\/tech.at-iroha.jp\/wp-content\/uploads\/2019\/09\/image-12.png 1059w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u304a\u307e\u3051<\/h2>\n\n\n\n<p>\u5b9f\u6a5f\u306eUUID\u3092\u53d6\u5f97\u3084\u3001\u30a2\u30d7\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306a\u3069\u306f iTools \u3068\u3044\u3046\u4e2d\u56fd\u306e\u30a2\u30d7\u30ea\u304c\u3068\u3066\u3082\u4fbf\u5229\u3060\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PhoneGap Build \u3068\u306f\u30af\u30e9\u30a6\u30c9\u4e0a\u3067Cordova\/PhoneGap \u30a2\u30d7\u30ea\u3092\u30d3\u30eb\u30c9\u3067\u304d\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308b\u3002 Adobe \u793e\u304c\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30a2\u30d7\u30ea\u3082\u3057\u304f\u306f\u975e\u516c\u958b\u306e\u30a2\u30d7\u30ea\u3067\u30821\u500b\u307e\u3067\u306a\u3089\u7121\u6599\u3067\u30d3\u30eb\u30c9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-1094","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5js"],"_links":{"self":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/1094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1094"}],"version-history":[{"count":12,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/1094\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/posts\/1094\/revisions\/1126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=\/wp\/v2\/media\/1117"}],"wp:attachment":[{"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.at-iroha.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}