Error when adding Firebase to my iOS project without CocoaPods
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
add a comment |
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
add a comment |
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
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
ios xcode firebase firebase-mlkit google-ios-vision
edited Nov 22 '18 at 11:01
scourGINHO
asked Nov 21 '18 at 10:28


scourGINHOscourGINHO
1811624
1811624
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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