Error when adding Firebase to my iOS project without CocoaPods












0















I am trying to add Firebase to my project and especially their barcode reader frameworks (Vision). I have followed these instructions:



https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/



I have added the folder that contains what I want - MLVision with all the frameworks there.
I have imported the header files, also did @import Firebase and @import GoogleMobileVision in my main file.



The problem is that I am getting the following error when trying to run my project:



Undefined symbols for architecture arm64:
"_kFIRLoggerMLKit", referenced from:
_FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Any ideas how to solve this one? Thanks in advance.










share|improve this question





























    0















    I am trying to add Firebase to my project and especially their barcode reader frameworks (Vision). I have followed these instructions:



    https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/



    I have added the folder that contains what I want - MLVision with all the frameworks there.
    I have imported the header files, also did @import Firebase and @import GoogleMobileVision in my main file.



    The problem is that I am getting the following error when trying to run my project:



    Undefined symbols for architecture arm64:
    "_kFIRLoggerMLKit", referenced from:
    _FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    Any ideas how to solve this one? Thanks in advance.










    share|improve this question



























      0












      0








      0








      I am trying to add Firebase to my project and especially their barcode reader frameworks (Vision). I have followed these instructions:



      https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/



      I have added the folder that contains what I want - MLVision with all the frameworks there.
      I have imported the header files, also did @import Firebase and @import GoogleMobileVision in my main file.



      The problem is that I am getting the following error when trying to run my project:



      Undefined symbols for architecture arm64:
      "_kFIRLoggerMLKit", referenced from:
      _FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
      ld: symbol(s) not found for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)


      Any ideas how to solve this one? Thanks in advance.










      share|improve this question
















      I am trying to add Firebase to my project and especially their barcode reader frameworks (Vision). I have followed these instructions:



      https://www.mokacoding.com/blog/setting-up-firebase-without-cocoapods/



      I have added the folder that contains what I want - MLVision with all the frameworks there.
      I have imported the header files, also did @import Firebase and @import GoogleMobileVision in my main file.



      The problem is that I am getting the following error when trying to run my project:



      Undefined symbols for architecture arm64:
      "_kFIRLoggerMLKit", referenced from:
      _FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_1ae3a68aef0eb3884b887b653b700305.o)
      ld: symbol(s) not found for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)


      Any ideas how to solve this one? Thanks in advance.







      ios xcode firebase firebase-mlkit google-ios-vision






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 '18 at 11:01







      scourGINHO

















      asked Nov 21 '18 at 10:28









      scourGINHOscourGINHO

      1811624




      1811624
























          1 Answer
          1






          active

          oldest

          votes


















          0














          FIRMLKitLog is defined in FirebaseMLCommon.framework. Make sure you've included that framework in your link.




          ~/sample/Carthage/Build/iOS/FirebaseMLCommon.framework (master) $ nm FirebaseMLCommon | grep FIRMLKitLog
          U _FIRMLKitLog
          FirebaseMLCommon(FIRMLKitLogger_4a96f641767bb7a6a0ec53c79b8453a7.o):
          ---------------- T _FIRMLKitLog






          share|improve this answer
























          • Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

            – scourGINHO
            Nov 22 '18 at 10:26











          • Is it in the Link Binary With Libraries Build Phase?

            – Paul Beusterien
            Nov 28 '18 at 16:34











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53410037%2ferror-when-adding-firebase-to-my-ios-project-without-cocoapods%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          FIRMLKitLog is defined in FirebaseMLCommon.framework. Make sure you've included that framework in your link.




          ~/sample/Carthage/Build/iOS/FirebaseMLCommon.framework (master) $ nm FirebaseMLCommon | grep FIRMLKitLog
          U _FIRMLKitLog
          FirebaseMLCommon(FIRMLKitLogger_4a96f641767bb7a6a0ec53c79b8453a7.o):
          ---------------- T _FIRMLKitLog






          share|improve this answer
























          • Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

            – scourGINHO
            Nov 22 '18 at 10:26











          • Is it in the Link Binary With Libraries Build Phase?

            – Paul Beusterien
            Nov 28 '18 at 16:34
















          0














          FIRMLKitLog is defined in FirebaseMLCommon.framework. Make sure you've included that framework in your link.




          ~/sample/Carthage/Build/iOS/FirebaseMLCommon.framework (master) $ nm FirebaseMLCommon | grep FIRMLKitLog
          U _FIRMLKitLog
          FirebaseMLCommon(FIRMLKitLogger_4a96f641767bb7a6a0ec53c79b8453a7.o):
          ---------------- T _FIRMLKitLog






          share|improve this answer
























          • Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

            – scourGINHO
            Nov 22 '18 at 10:26











          • Is it in the Link Binary With Libraries Build Phase?

            – Paul Beusterien
            Nov 28 '18 at 16:34














          0












          0








          0







          FIRMLKitLog is defined in FirebaseMLCommon.framework. Make sure you've included that framework in your link.




          ~/sample/Carthage/Build/iOS/FirebaseMLCommon.framework (master) $ nm FirebaseMLCommon | grep FIRMLKitLog
          U _FIRMLKitLog
          FirebaseMLCommon(FIRMLKitLogger_4a96f641767bb7a6a0ec53c79b8453a7.o):
          ---------------- T _FIRMLKitLog






          share|improve this answer













          FIRMLKitLog is defined in FirebaseMLCommon.framework. Make sure you've included that framework in your link.




          ~/sample/Carthage/Build/iOS/FirebaseMLCommon.framework (master) $ nm FirebaseMLCommon | grep FIRMLKitLog
          U _FIRMLKitLog
          FirebaseMLCommon(FIRMLKitLogger_4a96f641767bb7a6a0ec53c79b8453a7.o):
          ---------------- T _FIRMLKitLog







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 21 '18 at 15:10









          Paul BeusterienPaul Beusterien

          13.7k43679




          13.7k43679













          • Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

            – scourGINHO
            Nov 22 '18 at 10:26











          • Is it in the Link Binary With Libraries Build Phase?

            – Paul Beusterien
            Nov 28 '18 at 16:34



















          • Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

            – scourGINHO
            Nov 22 '18 at 10:26











          • Is it in the Link Binary With Libraries Build Phase?

            – Paul Beusterien
            Nov 28 '18 at 16:34

















          Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

          – scourGINHO
          Nov 22 '18 at 10:26





          Well, I have added FirebaseMLCommon as you can see here: imgur.com/ttqplc0

          – scourGINHO
          Nov 22 '18 at 10:26













          Is it in the Link Binary With Libraries Build Phase?

          – Paul Beusterien
          Nov 28 '18 at 16:34





          Is it in the Link Binary With Libraries Build Phase?

          – Paul Beusterien
          Nov 28 '18 at 16:34




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53410037%2ferror-when-adding-firebase-to-my-ios-project-without-cocoapods%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith