not sure what i did wrong here, but i'm trying to integrate MoEngage into our project using React Native.
Android Works fine, integration, notification push, inapp etc all works fine.
but now we try to integrate the iOS part of it, but for some reason we hit the same error everytime
MoEReactNativeInboxHandler.m:10:9 'ReactNativeMoEngage/MoEngageReactUtils.h' file not found
we, of course, already run the pod install, and it works just fine, not error thrown, but it seems the error is still persist
any advice ?
thank you in advance
Karthik answer is correct, but i will answer my own question because how i fix it is a bit different
in my case, use_frameworks! flag is absolutely necessary because of swift, so my solution...just put every single MoEngage pod as static, basically put
if pod.name.start_with?('MoE')
def pod.build_type;
Pod::BuildType.static_library
end
end
if pod.name.start_with?('ReactNativeMoEngage')
def pod.build_type;
Pod::BuildType.static_library
end
end
inside installer.pod_targets.each on pre_install