cometchat / cometchat-uikit-react-native

Ready-to-use Chat UI Components for React Native
https://www.cometchat.com
Other
40 stars 24 forks source link

IOS build crashing on v4 #64

Open Lespoir opened 2 months ago

Lespoir commented 2 months ago

Describe the problem

When building ios I get an error saying:

Cause: Unable to find a specification for `RCTSlider` depended upon by `react-native-cometchat-ui-kit`

What was the expected behavior?

Be able to build IOS

Reproduction

Full log:

image

Environment

cometchat-helpcenter-bot commented 2 months ago

Rosanne Fernando (CometChat Team) replied:

Hello there,

Thanks for reaching out with your concern. I am Rosanne from the Support team.

I've forwarded your issue to the implementation team. You will be hearing from them shortly.

Regards.

Rosanne Fernando CometChat

cometchat-helpcenter-bot commented 2 months ago

Aman K.A (CometChat Team) replied:

Hi,

Thank you for reaching out and providing the details of your issue. To address the error you're encountering, please try the following steps:

  1. Delete node_modules and Reinstall Dependencies Using Yarn:

    • Open your terminal and navigate to your project directory.
    • Run the following commands:rm -rf node_modules 
  2. Add Expo to Your Project:

    • Run the following command to add Expo: yarn add expo
  3. Deintegrate and Reinstall iOS Pods:

    • Navigate to the ios directory within your project: cd ios
    • Deintegrate your pods: pod deintegrate
    • Reinstall the pods: pod install
  4. Clean the Xcode Project:

    • Open your project in Xcode.
    • Navigate to Product in the menu bar.
    • Select Clean Build Folder or use the shortcut Command + Shift + K.
  5. If You Encounter Derived Data Issues in your Xcode:

    • Delete the Derived Data folder:
    • In Xcode, go to Settings > Locations > Derived Data.
    • Click on the arrow to open the Derived Data folder in Finder.
    • Delete the contents of this folder.
    • After deleting the Derived Data, clean the build folder again and then run your project.

Following these steps should help resolve the issue you're experiencing. If the problem persists, please let us know, and we'll be happy to assist you further.

Regards,

Aman K.A CometChat

adityagokula2210 commented 1 month ago

@Lespoir Can you please let us know if this issue was resolved ? If no, Can you also share your email on which our team can reach out to you for more information ? We would like to start a thread with our support team to investigate this issue further. You could also raise a support ticket yourself at : https://help.cometchat.com/hc/en-us/requests/new

Thanks, Aditya Gokula CometChat