{"id":1657,"date":"2022-01-24T15:20:56","date_gmt":"2022-01-24T06:20:56","guid":{"rendered":"http:\/\/leenux.kr\/?p=1657"},"modified":"2022-01-24T15:20:56","modified_gmt":"2022-01-24T06:20:56","slug":"could-not-build-module-firebase_core-import-%ec%97%90%eb%9f%ac-%ed%95%b4%ea%b2%b0%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1657","title":{"rendered":"could not build module &#8216;firebase_core&#8217;     #import <firebase_core\/FLTFirebasePlugin.h> \uc5d0\ub7ec \ud574\uacb0\ud558\uae30"},"content":{"rendered":"\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>IOS\uc5d0\uc11c FirebaseCore \ubaa8\ub4c8\uc744 \ubabb\ucc3e\uc544 Xcode\uc5d0\uc11c \uc9c1\uc811 \uc218\uc815\ud558\uc5ec \uc784\uc2dc\uc801\uc73c\ub85c \ube4c\ub4dc\ud588\ub2e4. \ud558\uc9c0\ub9cc Android Studio\uc5d0\uc11c \ube4c\ub4dc\ub97c \ud588\uc744 \uacbd\uc6b0 \ud574\ub2f9 ios\/Runner\/GeneratedPluginRegistrant.m \uacbd\ub85c\uc5d0 \uc788\ub294 \ud30c\uc77c\uc774 \ucd08\uae30\ud654\ub418\uc5b4 \ube4c\ub4dc\uc5d0 \uc2e4\ud328\ud558\uc5ec \uacc4\uc18d Xcode\uc5d0\uc11c\ub9cc \uc218\uc815 \ud6c4 \ube4c\ub4dc\uac00 \uac00\ub2a5\ud588\ub2e4.<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#import &lt;firebase_core\/FLTFirebasePlugin.h>\n#import &lt;FLTFirebasePlugin.h> #\uc218\uc815<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ud574\ub2f9 \ubb38\uc81c\ub294 \uc885\uc18d\uc131\uc5d0 \ub300\ud55c \ubb38\uc81c\ub85c Podfile\uc5d0\uc11c \uc21c\uc11c\ub9cc \ubc14\uafb8\uc5b4\uc8fc\uba74 \ub418\ub294 \uac04\ub2e8\ud55c \ubb38\uc81c\uc600\ub2e4,&#8230;..\u3160<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Uncomment this line to define a global platform for your project\nplatform :ios, '11.0'\n\n# CocoaPods analytics sends network stats synchronously affecting flutter build latency.\nENV['COCOAPODS_DISABLE_STATS'] = 'true'\n\nproject 'Runner', {\n  'Debug' => :debug,\n  'Profile' => :release,\n  'Release' => :release,\n}\n\ndef flutter_root\n  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)\n  unless File.exist?(generated_xcode_build_settings_path)\n    raise \"#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first\"\n  end\n\n  File.foreach(generated_xcode_build_settings_path) do |line|\n    matches = line.match(\/FLUTTER_ROOT\\=(.*)\/)\n    return matches[1].strip if matches\n  end\n  raise \"FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get\"\nend\n\nrequire File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)\n\nflutter_ios_podfile_setup\n\ntarget 'Runner' do\n  use_frameworks!\n  use_modular_headers!\n\n  pod 'Firebase\/Core'\n  pod 'Firebase\/InAppMessaging'\n  pod 'Firebase\/Messaging'\n  \n  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))\nend\n\npost_install do |installer|\n  installer.pods_project.targets.each do |target|\n    flutter_additional_ios_build_settings(target)\n    target.build_configurations.each do |config|\n      #config.build_settings['ENABLE_BITCODE'] = 'NO'\n      #config.build_settings['SWIFT_VERSION'] = '5.3'\n      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'\n    end\n  end\nend\n\n\n<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc704\uc5d0 \ucf54\ub4dc\uc640 \uac19\uc774 Goole(Firebase)\uc5d0 \uad00\ud55c pod\ub97c target &#8216;Runner&#8217; do \uc548\uc73c\ub85c \ub123\uc5b4\uc8fc\uba74 \uc5d0\ub7ec\uac00 \ud574\uacb0\ub41c\ub2e4.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>could not build module &#8216;firebase_core&#8217;     #import <firebase_core\/FLTFirebasePlugin.h> \uc5d0\ub7ec \ud574\uacb0\ud558\uae30<\/p>\n","protected":false},"author":1,"featured_media":1658,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,3,98],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1657"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1657"}],"version-history":[{"count":1,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1657\/revisions"}],"predecessor-version":[{"id":1659,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1657\/revisions\/1659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1658"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}