Updating to xcode 14.3 broke my React Native app (YogaKit no longer found)

Everything has been going well but 2 days ago I was forced to update my Xcode version and now everything is broken.

After updating from 14.2 to 14.3 I have been unable to remove an error in "YogaKit.private.swiftinterface" and "YogaKit.swiftinterface".

Both of these headers give the same issues as follows:

  1. Failed to verify module interface of 'YogaKit' due to the errors above; the textual interface may be broken by project issues or a compiler bug
  2. Underlying Objective-C module 'YogaKit' not found
  3. no such module 'yoga'

SO FAR I HAVE:

++ Deleted DerivedData

++ Added Yoga as an explicit path in Podfile via

pod 'Yoga',:path => '../node_modules/react-native/ReactCommon/yoga' 

++ Tried each variation again with using lowercase yoga

++ Verified Yoga is in the Pods

++ Verified YogaKit is in the Pods

++ rm -rf pods, podlock, and node_modules and reinstalled numerous times

++ Verified the exact same build works perfectly on 14.2

++ Googled + ChatGPT couldn't find solution

^-------------------------^---------------------------^

I can read from the provided issues that there is likely a mismatch of some sort with Yoga/YogaKit/React Native. I am confused as to why an xCode version update would have breaking changes like this in it but regardless I could compile and archive just fine before this xCode version update so it's hard to imagine what else could have caused this at the exact same time as an Xcode version update.

Do you have the same problem? Were you able to fix it? Please help!

got the same issue on my side. for the moment was not able to find a fix. Did you find something on your side @DaneHoward ?

Same here

Same for me. Anyone had success solving this?

Hey, I have the same problem, any success on that?

Having the same issue here. Any movement on this? Same specs as OP.

+1 , I have the same issue , please help

Hi!

I have the same issue, and this comment fix the problem

https://stackoverflow.com/a/75898723/8189690

Same!

This issue is happening on Xcode 15 beta 5 still

Add use_frameworks! :linkage => :static! line and disable flipper on Podfile worked for me!

  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  # :flipper_configuration => flipper_config,

same issues and the above mentioned links is not helping me as well

Updating to xcode 14.3 broke my React Native app (YogaKit no longer found)
 
 
Q