{"id":4628,"date":"2019-12-13T23:47:38","date_gmt":"2019-12-13T14:47:38","guid":{"rendered":"https:\/\/kumapress.com\/?p=4628"},"modified":"2019-12-13T23:59:40","modified_gmt":"2019-12-13T14:59:40","slug":"mac%e3%81%a7git%e3%81%99%e3%82%8b%e3%81%a8request-admin-privileges%e3%81%a3%e3%81%a6%e3%80%82%e3%80%82","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=4628","title":{"rendered":"Mac\u3067Git\u3059\u308b\u3068request admin privileges\u3063\u3066\u3002\u3002"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">Mac\u3067<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ git init \u3084\u308d\u3046\u3068\u3057\u305f\u3089\u4e0b\u8a18\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3002\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Agreeing to the Xcode\/iOS license requires admin privileges, please run \u201csudo xcodebuild -license\u201d and then retry this command.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3061\u306a\u307f\u306bMacOS\u306fCatalina\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">google\u7ffb\u8a33\u3059\u308b\u3068\u3001<\/span><\/p>\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"\u7ffb\u8a33\"><span lang=\"ja\" style=\"font-size: 14pt;\" tabindex=\"0\">Xcode \/ iOS\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u540c\u610f\u3059\u308b\u306b\u306f\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u3067\u3059\u3002\u300csudo xcodebuild -license\u300d\u3092\u5b9f\u884c\u3057\u3066\u304b\u3089\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u518d\u8a66\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br><\/span><br><span style=\"font-size: 14pt;\">\u3068\u306e\u3053\u3068\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u3001\u3084\u308c\u3063\u3066\u3044\u3046\u3093\u3060\u304b\u3089\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/span><\/p>\n\n\n<h2 class=\"wp-block-heading\">\u30e9\u30a4\u30bb\u30f3\u30b9\u540c\u610f\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3002<\/h2>\n\n\n<p><span style=\"font-size: 14pt;\">$ sudo xcodebuild -license<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Hit the Enter key to view the license agreements at &#8216;\/Applications\/Xcode.app\/Contents\/Resources\/English.lproj\/License.rtf&#8217;<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u201cAuthorized Test Units\u201d means Apple-branded hardware units owned or controlled by You that have been designated by You for Your own testing and development purposes, and, if You permit, Apple-branded hardware units owned or controlled by Your Authorized Developers so long as such units are used for testing and development purposes on Your behalf and only as permitted hereunder.<\/span><br><span style=\"font-size: 14pt;\">Software License Agreements Press &#8216;space&#8217; for more, or &#8216;q&#8217; to quit<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u30e9\u30a4\u30bb\u30f3\u30b9\u306b\u540c\u610f\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">By typing &#8216;agree&#8217; you are agreeing to the terms of the software license agreements. Type &#8216;print&#8217; to print them or anything else to cancel, [agree, print, cancel]<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">You can view the license agreements in Xcode&#8217;s About Box, or at \/Applications\/Xcode.app\/Contents\/Resources\/English.lproj\/License.rtf<\/span><\/p>\n\n\n<h2 class=\"wp-block-heading\">\u518d\u5ea6git\u3057\u3066\u307f\u307e\u3057\u305f<\/h2>\n\n\n<p><span style=\"font-size: 14pt;\">$ git init<\/span><br \/><span style=\"font-size: 14pt;\">Initialized empty Git repository in \/Users\/hogehoge\/pulltest\/master\/.git\/<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u7121\u4e8b\u52d5\u304d\u307e\u3057\u305f\u3068\u3055(^^)v<\/span><\/p><aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>Mac\u3067 $ git init \u3084\u308d\u3046\u3068\u3057\u305f\u3089\u4e0b\u8a18\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3002\u3002\u3002 Agreeing to the Xcode\/iOS license requires admin privileges, please run \u201cs [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"4630","footnotes":""},"categories":[126],"tags":[157],"class_list":["post-4628","post","type-post","status-publish","format-standard","hentry","category-blog-memo","tag-git"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4628"}],"version-history":[{"count":2,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4628\/revisions"}],"predecessor-version":[{"id":4631,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4628\/revisions\/4631"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}