RCT-Folly - issue

Hi, I've Xcode 14.3 & Mac OS Ventura, Apple M1 Pro.

After Pod install , I'm getting this error

ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:52:17: Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')

I've fixed by commented this line of code typedef uint8_t clockid_t; in Time.h file.

and able to run on device.

This is not the correct way to get it work done. Can anyone please suggest the correct to handle/fix this issue.

Here is the attached pod file. Please suggest if we need to update the pod to make it work.

Any help this regard would be appreciated.

Thanks

Same issue I also faced in my react-native project

I really like this question/answer. addresses the issue better than others I have seen. I'm going to apply it, and set it in version control with this gem

https://github.com/doublesymmetry/cocoapods-patch

That way you don't need to worry about manually editing external code, and the fix just drops off when the package is updated. Best answer I think...

RCT-Folly - issue
 
 
Q