customerio / customerio-reactnative

MIT License
23 stars 11 forks source link

No such module 'CioMessagingPush' #189

Closed ferrero1987 closed 1 year ago

ferrero1987 commented 1 year ago

customerio-reactnative: 3.1.7 react-native: 0.72.4 react: 18.2.0 Xcode version: 14.3.1

MacBook Pro M1 Chip

Describe the bug When building an iOS app in Xcode, the following error prevents a build:

/Users/Documents/AwesomeProject/node_modules/customerio-reactnative/ios/CustomerioPushMessaging.swift:3:8 No such module 'CioMessagingPush'

Additional context execute command pod update --repo-update --project-directory=ios

mrehan27 commented 1 year ago

Thanks for reaching out and sharing the details. We're working on a fix and expect to have this resolved soon. In the meantime, enabling push notifications following instructions in documentation should resolve the error. If you encounter any problems or have additional questions, please don't hesitate to contact us.

ferrero1987 commented 1 year ago

I seem to have solved it by adding to the Podfile pod 'customerio-reactnative/apn', :path => '../node_modules/customerio-reactnative'

mrehan27 commented 1 year ago

Glad to hear the issue has been resolved. Closing this now. If you have any more questions, please feel free to reach out. Thanks!