Post

Replies

Boosts

Views

Activity

Reply to Error in UIStackView.h "Use of undeclared identifier 'FLT_MAX'"
If anyone is experiencing the same issue, I found that adding header search paths in the podfile can lead to this problem. I had the following code in podfile to fix the 'react/debug/react_native_assert.h' file not found error. However, after removing it and implementing a different workaround, the error 'Use of undeclared identifier 'FLT_MAX'' disappeared. # Add the additional search path target.build_configurations.each do |config| config.build_settings["HEADER_SEARCH_PATHS"] << "${PODS_ROOT}/../../node_modules/react-native/ReactCommon/**" end
Feb ’24