Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS build crashing on v4 #64

Open
Lespoir opened this issue Jun 12, 2024 · 3 comments
Open

IOS build crashing on v4 #64

Lespoir opened this issue Jun 12, 2024 · 3 comments

Comments

@Lespoir
Copy link

Lespoir commented Jun 12, 2024

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

  • We don't have ios and android folders due is an expo application
  • Using react native new architecture
  • Using expo version: "expo": "~51.0.11",
  • Dependencies:
    • "react-native": "0.74.2"
    • "@cometchat/chat-sdk-react-native": "~4.0.8",
    • "@cometchat/chat-uikit-react-native": "~4.3.10",
    • "@react-native-clipboard/clipboard": "1.14.1",
    • "@react-native-async-storage/async-storage": "~1.23.1",
@cometchat-helpcenter-bot

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

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:

  • Make sure you have the latest version of the React Native UIKit v4.3.11.
  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 
  1. Add Expo to Your Project:
  • Run the following command to add Expo:
    yarn add expo
  1. 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
  1. 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.
  1. 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
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants