{"id":811,"date":"2025-03-08T19:28:50","date_gmt":"2025-03-08T10:28:50","guid":{"rendered":"https:\/\/deskplate.net\/blog\/?p=811"},"modified":"2025-03-08T19:28:50","modified_gmt":"2025-03-08T10:28:50","slug":"boringssl-grpc-podspec-is-incompatible-with-xcode","status":"publish","type":"post","link":"https:\/\/deskplate.net\/blog\/archives\/811","title":{"rendered":"BoringSSL-GRPC podspec is incompatible with Xcode"},"content":{"rendered":"<p>BoringSSL-GRPC podspec is incompatible with Xcode<br \/>\nclang: error: unsupported option &#8216;-G&#8217; for target &#8216;arm64-apple-ios13-simulator&#8217;<br \/>\nclang: error: unsupported option &#8216;-G&#8217; for target &#8216;arm64-apple-ios14-simulator&#8217;<br \/>\nclang: error: unsupported option &#8216;-G&#8217; for target &#8216;arm64-apple-ios15-simulator&#8217;<\/p>\n<p>M4 mac\u306e\u5834\u5408\u306b\u306f\u6b21\u306e\u8a18\u8ff0\u304c\u5fc5\u8981\u3002M1 mac\u3067\u306f\u4e0d\u8981\u3060\u3063\u305f\u3002<\/p>\n<pre>\r\n   # for M4 mac\r\n   if target.name == 'BoringSSL-GRPC'\r\n     target.source_build_phase.files.each do |file|\r\n       if file.settings && file.settings['COMPILER_FLAGS']\r\n         flags = file.settings['COMPILER_FLAGS'].split\r\n         flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }\r\n         file.settings['COMPILER_FLAGS'] = flags.join(' ')\r\n       end\r\n     end\r\n   end\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>BoringSSL-GRPC podsp<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,67,46,37,36],"tags":[],"class_list":["post-811","post","type-post","status-publish","format-standard","hentry","category-m1-m2-mac","category-m4-mac","category-mac","category-swift","category-xcode"],"_links":{"self":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/comments?post=811"}],"version-history":[{"count":1,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":812,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/posts\/811\/revisions\/812"}],"wp:attachment":[{"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/media?parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/categories?post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deskplate.net\/blog\/wp-json\/wp\/v2\/tags?post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}