[iOS] Build fails after updating Xcode Command Line tools.
relez opened this issue · comments
Hi there, I just updated Xcode Command Line Tools and using iOS 17.4 Simulator, and the build fails, throwing me this error:
› Compiling @react-native-community/datetimepicker Pods/RNDateTimePicker » RNDateTimePickerShadowView.m
❌ (node_modules/@react-native-community/datetimepicker/ios/RNDateTimePickerShadowView.m:8:41)
6 | {
7 | if (self = [super init]) {
> 8 | YGNodeSetMeasureFunc(self.yogaNode, RNDateTimePickerShadowViewMeasure);
| ^ incompatible function pointer types passing 'YGSize ' (aka 'struct YGSize (struct YGNode *, float, enum YGMeasureMode, float, enum YGMeasureMode)') to parameter of type 'YGMeasureFunc' (aka 'struct YGSize (*)(const struct YGNode *, float, enum YGMeasureMode, float, enum YGMeasureMode)') [-Wincompatible-function-pointer-types]
9 | }
10 | return self;
11 | }
Any suggestion? Thanks!
Hi, @relez How did you resolve the issue?
Yes, same issue here: