Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Build fails after updating Xcode Command Line tools. #869

Closed
relez opened this issue Mar 6, 2024 · 2 comments
Closed

[iOS] Build fails after updating Xcode Command Line tools. #869

relez opened this issue Mar 6, 2024 · 2 comments

Comments

@relez
Copy link

relez commented Mar 6, 2024

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!

@relez relez closed this as completed Mar 6, 2024
@JBlazej
Copy link

JBlazej commented Mar 11, 2024

Hi, @relez How did you resolve the issue?

@relez
Copy link
Author

relez commented Mar 11, 2024

Yes, same issue here:

#866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants