Subito-it / PodBuilder

A tool to precompile CocoaPods pods
Other
284 stars 28 forks source link

Podbuilder is not working with react-native version 68.1 #62

Closed habiiev closed 1 year ago

habiiev commented 2 years ago

This is the error I am getting:

Screenshot 2022-04-26 at 17 35 25

It's related to this react-native issue

To reproduce just create an empty react-native project, install any dependency that has native ios code and then configure pod-builder:

Steps to reproduce:

  1. npx react-native init rnapp
  2. cd rnapp
  3. npm install react-native-reanimated --save
  4. cd ios
  5. pod_builder init
  6. pod_builder build_all

Without pod builder, everything works fine right now

I don't really know where to look for the cause of this error, I would be glad to help if you could point me in the correct direction :)

Versions: Xcode 13.3.1 pod_builder 4.4.1 Builds for ios 11 and 14

@tcamin could you help me with this?

habiiev commented 2 years ago

We are assuming that this is related to the new architecture with turbomodules

tcamin commented 2 years ago

Just a quick update: I've been taking a look at the compilation issues and found a way to make things work. I hope to be able to share something next week.

tcamin commented 2 years ago

I've pushed the changes to thehotfix/rn_68 branch. You can try the update as follows:

git clone -b hotfix/rn_68 https://github.com/Subito-it/PodBuilder.git
cd PodBuilder
sudo rake install

Out of curiosity I tried clean build times and results look really good! without PB 190s with PB 61s