Giter VIP home page Giter VIP logo

Comments (16)

mhorowitz avatar mhorowitz commented on May 18, 2024 1

When I set up CocoaPods for CxxBridge, boost worked out of the box for me. I never even looked at the original Podspec, so I don't know why it's set up the way it is.

My best guess why it isn't working now is that something in the maze of ifdefs changed, and now type_index.h is being included, but the type_index/ directory isn't included in any of the subspecs in the podspec you linked. Adding it to one of the existing subspecs, or making a new one, would be the next thing to try.

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

@itchingpixels, thanks for digging the details.
Are you up to send a PR to fix that?

from boost-for-react-native.

almostintuitive avatar almostintuitive commented on May 18, 2024

I'd be happy to do that, but haven't got around making it work just yet - I don't know what the delta is between this and the 1.59.0 release that's on cocoapods, but it's really confusing!

from boost-for-react-native.

almostintuitive avatar almostintuitive commented on May 18, 2024

it seems like there's some magic (at least to me) going on with preserve_paths that I don't understand (why is it needed at all?) in the original podspec. will try a few different things and report back.

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

@ide, do you have some context on this to help us out?

from boost-for-react-native.

ide avatar ide commented on May 18, 2024

I don't have a lot of context around this and @mhorowitz set up the third-party pods. If we go in this direction I think we should just add a podspec to this repo to install direct from GitHub but not publish to CocoaPods since we're not going to remember to keep it updated.

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

Pinged @mhorowitz, thanks @ide

from boost-for-react-native.

fishmwei avatar fishmwei commented on May 18, 2024

@mhorowitz
I add a subspec to boost.podspec , then pod install again , it works.

#added by hmw
spec.subspec 'type_index-includes' do |cs|
    cs.preserve_paths = 'boost/type_index/**/*.hpp'
 end

from boost-for-react-native.

almostintuitive avatar almostintuitive commented on May 18, 2024

Great!!! Sorry guys that I backed out, had been super busy with a release...
@fishmwei : do you have a PR?

from boost-for-react-native.

fishmwei avatar fishmwei commented on May 18, 2024

@itchingpixels I have a PR in your branch PR

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

Anyone wants to send a PR for this repo?
I suppose other people will have a similar problem.

Thanks @fishmwei for finding the solution.

from boost-for-react-native.

almostintuitive avatar almostintuitive commented on May 18, 2024

I've created a PR: facebook/react-native#16756
This is my first PR to react-native, I'm not sure what to do to get it merged in - if you can bump it, that may work?

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

Thanks, I'll ping iOS people internally

from boost-for-react-native.

almostintuitive avatar almostintuitive commented on May 18, 2024

@bestander do you have any news regarding this? I'm not sure whom should I be in contact with.

from boost-for-react-native.

Pranit-Harekar avatar Pranit-Harekar commented on May 18, 2024

+1 any update ?

from boost-for-react-native.

bestander avatar bestander commented on May 18, 2024

Trunk is still broken, I'll merge it once it is green: https://circleci.com/gh/facebook/react-native/tree/master.
Someone from RN team is on it but a PR with a fix is welcome.

from boost-for-react-native.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.