IOS - Problem on using FirebaseDynamicLinks










0














I got the same problem on using FirebaseDynamicLinks
Also added -ObjC in build settings "Other Linker Flag"



Imported in AppDelegate.m



#import "AppDelegate.h"
#import "FirebaseCore/FIRApp.h"
#import "FirebaseCore/FIROptions.h"
#import "FirebaseDynamicLinks/FIRDynamicLinks.h"


ERROR:



Undefined symbols for architecture armv7:
"OBJC_CLASS$_FIRComponent", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRDependency", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentType", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentContainer", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question























  • Try to reinstall pods again, clean and run the project.
    – Sateesh
    Nov 12 '18 at 7:00










  • i am not using cocopods. added frameworks manually
    – Siva Murugan
    Nov 12 '18 at 8:28










  • Try to remove and add the framework, clean the build, run the project once.
    – Sateesh
    Nov 12 '18 at 8:33










  • i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
    – Siva Murugan
    Nov 12 '18 at 9:22















0














I got the same problem on using FirebaseDynamicLinks
Also added -ObjC in build settings "Other Linker Flag"



Imported in AppDelegate.m



#import "AppDelegate.h"
#import "FirebaseCore/FIRApp.h"
#import "FirebaseCore/FIROptions.h"
#import "FirebaseDynamicLinks/FIRDynamicLinks.h"


ERROR:



Undefined symbols for architecture armv7:
"OBJC_CLASS$_FIRComponent", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRDependency", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentType", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentContainer", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question























  • Try to reinstall pods again, clean and run the project.
    – Sateesh
    Nov 12 '18 at 7:00










  • i am not using cocopods. added frameworks manually
    – Siva Murugan
    Nov 12 '18 at 8:28










  • Try to remove and add the framework, clean the build, run the project once.
    – Sateesh
    Nov 12 '18 at 8:33










  • i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
    – Siva Murugan
    Nov 12 '18 at 9:22













0












0








0







I got the same problem on using FirebaseDynamicLinks
Also added -ObjC in build settings "Other Linker Flag"



Imported in AppDelegate.m



#import "AppDelegate.h"
#import "FirebaseCore/FIRApp.h"
#import "FirebaseCore/FIROptions.h"
#import "FirebaseDynamicLinks/FIRDynamicLinks.h"


ERROR:



Undefined symbols for architecture armv7:
"OBJC_CLASS$_FIRComponent", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRDependency", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentType", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentContainer", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)









share|improve this question















I got the same problem on using FirebaseDynamicLinks
Also added -ObjC in build settings "Other Linker Flag"



Imported in AppDelegate.m



#import "AppDelegate.h"
#import "FirebaseCore/FIRApp.h"
#import "FirebaseCore/FIROptions.h"
#import "FirebaseDynamicLinks/FIRDynamicLinks.h"


ERROR:



Undefined symbols for architecture armv7:
"OBJC_CLASS$_FIRComponent", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRDependency", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentType", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
"OBJC_CLASS$_FIRComponentContainer", referenced from:
objc-class-ref in FirebaseDynamicLinks(FIRDynamicLinks.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)






ios objective-c firebase firebase-dynamic-links






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 '18 at 11:42









KENdi

5,7292821




5,7292821










asked Nov 12 '18 at 6:59









Siva MuruganSiva Murugan

6417




6417











  • Try to reinstall pods again, clean and run the project.
    – Sateesh
    Nov 12 '18 at 7:00










  • i am not using cocopods. added frameworks manually
    – Siva Murugan
    Nov 12 '18 at 8:28










  • Try to remove and add the framework, clean the build, run the project once.
    – Sateesh
    Nov 12 '18 at 8:33










  • i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
    – Siva Murugan
    Nov 12 '18 at 9:22
















  • Try to reinstall pods again, clean and run the project.
    – Sateesh
    Nov 12 '18 at 7:00










  • i am not using cocopods. added frameworks manually
    – Siva Murugan
    Nov 12 '18 at 8:28










  • Try to remove and add the framework, clean the build, run the project once.
    – Sateesh
    Nov 12 '18 at 8:33










  • i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
    – Siva Murugan
    Nov 12 '18 at 9:22















Try to reinstall pods again, clean and run the project.
– Sateesh
Nov 12 '18 at 7:00




Try to reinstall pods again, clean and run the project.
– Sateesh
Nov 12 '18 at 7:00












i am not using cocopods. added frameworks manually
– Siva Murugan
Nov 12 '18 at 8:28




i am not using cocopods. added frameworks manually
– Siva Murugan
Nov 12 '18 at 8:28












Try to remove and add the framework, clean the build, run the project once.
– Sateesh
Nov 12 '18 at 8:33




Try to remove and add the framework, clean the build, run the project once.
– Sateesh
Nov 12 '18 at 8:33












i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
– Siva Murugan
Nov 12 '18 at 9:22




i am still having the same problem "Try to remove and add the framework, clean the build, run the project once"
– Siva Murugan
Nov 12 '18 at 9:22












3 Answers
3






active

oldest

votes


















0














Those symbols are defined in FirebaseCore.framework.



Make sure that the FirebaseCore.framework that is being linked comes from the same distribution as the FirebaseDynamicLinks.framework.






share|improve this answer




























    0














    I had the same problem. I found that I didn't update my older Analytics framework and downloaded the new firebase SDK from google console and drag only the FirebaseDynamicLinks framework to my code.



    So, I removed the old Analytics framework and drag the new Analytics frameworks to my code. Don't combine old and updated frameworks. Here is screenshot of Analytics and Dynamiclink framework.



    enter image description here






    share|improve this answer




























      -1














      You can check the version of your firebaseCore framework and make sure the version is the same as the firebasedynamiclink framework.






      share|improve this answer




















        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%2f53257230%2fios-problem-on-using-firebasedynamiclinks%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        0














        Those symbols are defined in FirebaseCore.framework.



        Make sure that the FirebaseCore.framework that is being linked comes from the same distribution as the FirebaseDynamicLinks.framework.






        share|improve this answer

























          0














          Those symbols are defined in FirebaseCore.framework.



          Make sure that the FirebaseCore.framework that is being linked comes from the same distribution as the FirebaseDynamicLinks.framework.






          share|improve this answer























            0












            0








            0






            Those symbols are defined in FirebaseCore.framework.



            Make sure that the FirebaseCore.framework that is being linked comes from the same distribution as the FirebaseDynamicLinks.framework.






            share|improve this answer












            Those symbols are defined in FirebaseCore.framework.



            Make sure that the FirebaseCore.framework that is being linked comes from the same distribution as the FirebaseDynamicLinks.framework.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 13 '18 at 0:45









            Paul BeusterienPaul Beusterien

            13.7k43679




            13.7k43679























                0














                I had the same problem. I found that I didn't update my older Analytics framework and downloaded the new firebase SDK from google console and drag only the FirebaseDynamicLinks framework to my code.



                So, I removed the old Analytics framework and drag the new Analytics frameworks to my code. Don't combine old and updated frameworks. Here is screenshot of Analytics and Dynamiclink framework.



                enter image description here






                share|improve this answer

























                  0














                  I had the same problem. I found that I didn't update my older Analytics framework and downloaded the new firebase SDK from google console and drag only the FirebaseDynamicLinks framework to my code.



                  So, I removed the old Analytics framework and drag the new Analytics frameworks to my code. Don't combine old and updated frameworks. Here is screenshot of Analytics and Dynamiclink framework.



                  enter image description here






                  share|improve this answer























                    0












                    0








                    0






                    I had the same problem. I found that I didn't update my older Analytics framework and downloaded the new firebase SDK from google console and drag only the FirebaseDynamicLinks framework to my code.



                    So, I removed the old Analytics framework and drag the new Analytics frameworks to my code. Don't combine old and updated frameworks. Here is screenshot of Analytics and Dynamiclink framework.



                    enter image description here






                    share|improve this answer












                    I had the same problem. I found that I didn't update my older Analytics framework and downloaded the new firebase SDK from google console and drag only the FirebaseDynamicLinks framework to my code.



                    So, I removed the old Analytics framework and drag the new Analytics frameworks to my code. Don't combine old and updated frameworks. Here is screenshot of Analytics and Dynamiclink framework.



                    enter image description here







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered yesterday









                    GSKGSK

                    1,7221319




                    1,7221319





















                        -1














                        You can check the version of your firebaseCore framework and make sure the version is the same as the firebasedynamiclink framework.






                        share|improve this answer

























                          -1














                          You can check the version of your firebaseCore framework and make sure the version is the same as the firebasedynamiclink framework.






                          share|improve this answer























                            -1












                            -1








                            -1






                            You can check the version of your firebaseCore framework and make sure the version is the same as the firebasedynamiclink framework.






                            share|improve this answer












                            You can check the version of your firebaseCore framework and make sure the version is the same as the firebasedynamiclink framework.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 27 '18 at 2:41









                            Xiao yuxieXiao yuxie

                            1




                            1



























                                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%2f53257230%2fios-problem-on-using-firebasedynamiclinks%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

                                Use pre created SQLite database for Android project in kotlin

                                Darth Vader #20

                                Ondo