Xcode: Embed Framework in React Native Module without modifying application projectWarning: The Copy Bundle Resources build phase contains this target's Info.plist fileXcode subproject dependency linker error with React NativeError Running React Native App From Terminal (iOS)can't find ios framework headers in react native module libraryHow to create native ios react-native module?Native Module cannot be null - when integrating react-native project inside another react-native projectTrying to embed a YouTube video using react-native-youtube moduleHow to write IOS framework for react native componentsReact Native xcode project “Header Search Path”Can't build react native ios project after having installed my native module (Undefined symbols)

What is the purpose of using a decision tree?

I keep switching characters, how do I stop?

How to split IPA spelling into syllables

How do you justify more code being written by following clean code practices?

How to preserve electronics (computers, ipads, phones) for hundreds of years?

What should be the ideal length of sentences in a blog post for ease of reading?

Why would five hundred and five same as one?

Is there a distance limit for minecart tracks?

Connection Between Knot Theory and Number Theory

Should a narrator ever describe things based on a character's view instead of facts?

Can you describe someone as luxurious? As in someone who likes luxurious things?

Why didn't Voldemort know what Grindelwald looked like?

Offset in split text content

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

What is the tangent at a sharp point on a curve?

Sort with assumptions

Why is indicated airspeed rather than ground speed used during the takeoff roll?

Has the laser at Magurele, Romania reached the tenth of the Sun power?

Why does the frost depth increase when the surface temperature warms up?

Air travel with refrigerated insulin

"Marked down as someone wanting to sell shares." What does that mean?

What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?

Not hide and seek

Why is "la Gestapo" feminine?



Xcode: Embed Framework in React Native Module without modifying application project


Warning: The Copy Bundle Resources build phase contains this target's Info.plist fileXcode subproject dependency linker error with React NativeError Running React Native App From Terminal (iOS)can't find ios framework headers in react native module libraryHow to create native ios react-native module?Native Module cannot be null - when integrating react-native project inside another react-native projectTrying to embed a YouTube video using react-native-youtube moduleHow to write IOS framework for react native componentsReact Native xcode project “Header Search Path”Can't build react native ios project after having installed my native module (Undefined symbols)













11















I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.



React Native Module



React Native Module



Adding to main project works



Adding to main project works



My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.










share|improve this question
























  • Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

    – Aleksander Grzyb
    May 29 '17 at 16:21











  • A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

    – manishg
    May 30 '17 at 19:35











  • Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

    – Andrea Cresta
    May 3 '18 at 8:58















11















I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.



React Native Module



React Native Module



Adding to main project works



Adding to main project works



My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.










share|improve this question
























  • Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

    – Aleksander Grzyb
    May 29 '17 at 16:21











  • A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

    – manishg
    May 30 '17 at 19:35











  • Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

    – Andrea Cresta
    May 3 '18 at 8:58













11












11








11


2






I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.



React Native Module



React Native Module



Adding to main project works



Adding to main project works



My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.










share|improve this question
















I am developing a React Native Module that includes our Framework 'AntaviSense'.
I am able to include the framework in the main project and by "embed framework" in the Project Settings, everything works fine.



React Native Module



React Native Module



Adding to main project works



Adding to main project works



My question though is: can I avoid changing the main project, and just include it into the React Native Module project (which is a subproject)? I tried various directories in "React-Module/Build Phases/Copy Files" without luck. This would make the inclusion into other projects much easier.







ios xcode react-native






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 1:11









Cœur

19k9112154




19k9112154










asked May 9 '17 at 14:56









UlfUlf

562




562












  • Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

    – Aleksander Grzyb
    May 29 '17 at 16:21











  • A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

    – manishg
    May 30 '17 at 19:35











  • Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

    – Andrea Cresta
    May 3 '18 at 8:58

















  • Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

    – Aleksander Grzyb
    May 29 '17 at 16:21











  • A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

    – manishg
    May 30 '17 at 19:35











  • Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

    – Andrea Cresta
    May 3 '18 at 8:58
















Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

– Aleksander Grzyb
May 29 '17 at 16:21





Did you try in your "React Native Module" target to include AntaviSense framework in "Embedded Binaries"?

– Aleksander Grzyb
May 29 '17 at 16:21













A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

– manishg
May 30 '17 at 19:35





A library doesn't have an option to include framework in embedded binaries as it's not a "binary".

– manishg
May 30 '17 at 19:35













Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

– Andrea Cresta
May 3 '18 at 8:58





Having the same exact problem, I've tried to solve it following medium.com/@jverhoeven/… but without success. @ulf did you manage to find a solution to this?

– Andrea Cresta
May 3 '18 at 8:58












1 Answer
1






active

oldest

votes


















0














node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).






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%2f43873214%2fxcode-embed-framework-in-react-native-module-without-modifying-application-proj%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














    node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).






    share|improve this answer



























      0














      node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).






      share|improve this answer

























        0












        0








        0







        node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).






        share|improve this answer













        node-xcode could be an option, it enables you to parse an modify XCode projects, I am not a React developer but you could create a node-script which modifies the project and adds the framework when you add the module (in cordova this would be a hook, maybe there is something similar in React).







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 31 '17 at 21:06









        DavidDavid

        5,27431332




        5,27431332





























            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%2f43873214%2fxcode-embed-framework-in-react-native-module-without-modifying-application-proj%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

            Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

            Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

            Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved