skip to Main Content

I recently updated my Xcode to version 15.3 and encountered an issue while trying to build my React Native app on the simulator. The error message I’m receiving is:

"Called object type ‘facebook::flipper::SocketCertificateProvider’ is not a function or function pointer."

My react-native version is 0.71.8

Could someone please advise on how to resolve this error and successfully build my React Native app on Xcode 15.3?
Any insights or suggestions would be greatly appreciated.

enter image description here

2

Answers


  1. If you are using a CI/CD or need a CLI fix

    Execute the following command inside your project.

    chmod 755 ./ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h && sed -i '' 's|#pragma once.*#include <string>|#pragma oncen#include <functional>n#include <string>|' ./ios/Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h
    

    then Clean and rebuild

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search