Closed lrusso closed 2 years ago
Hello, please provide information about your environment as complete as possible.
In the package.json we have a "postinstall": "cd node_modules/infobip-mobile-messaging-react-native-plugin && npm run mm_build"
that it's required in order to the Infobip plugin to work with the iOS App.
In the 3.1.0 version I added to the FRAMEWORK_SEARCH_PATHS to following path:
$(SRCROOT)/../node_modules/infobip-mobile-messaging-react-native-plugin/ios/Carthage/Build/iOS/
But in the 4.0.0, the iOS folder is not there.
Because of this, I got the "No such module 'MobileMessaging'" error message in the 4.0.0 version.
What is your Xcode version?
12.4
I just updated to xcode 12.5.1 and the issue remains:
And the Carthage folder doesn't have the Build/iOS framework folder like the 3.x version:
What is your Carthage version?
0.37.0
does it help if you change FRAMEWORK_SEARCH_PATHS
to $(SRCROOT)/../node_modules/infobip-mobile-messaging-react-native-plugin/ios/Carthage/Build
?
I just updated to xcode 12.5.1 and the issue remains:
did you try to reinstall the plugin after updating to newer Xcode?
I just tried both suggestions and the issue remains.
What is your React Native version?
Yes, but it didn't work for me. My solution was to use $(SRCROOT)/../node_modules/infobip-mobile-messaging-react-native-plugin/ios/Carthage/Build/MobileMessaging.xcframework
and 'Do Not Embed' in the MobileMessaging framework.
Hello, I'm currently using the 3.1.0 version and when trying to update to the latest version, I'm getting a "No such module 'MobileMessaging'".
In the 3.1.0 version I added to the FRAMEWORK_SEARCH_PATHS to following path:
$(SRCROOT)/../node_modules/infobip-mobile-messaging-react-native-plugin/ios/Carthage/Build/iOS/
But in the 4.0.0 version that path does not exist.
Best regards and waiting for your comments, Leonardo