# Redefinition of RCTVideoType error when building brand new React Native UIKit project

**URL:** https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361
**Category:** UIkit
**Created:** [June 27, 2024, 2:49am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361 "2024-06-27T02:49:34Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jay](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jay](https://forum.social.plus/u/jay)
#### Post date: [June 27, 2024, 2:49am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/1 "2024-06-27T02:49:34Z")

</div>

![xcodeerror](https://europe1.discourse-cdn.com/flex013/uploads/amity/original/1X/e119fb73539b9294c604cb62a119f565928fcbbe.jpeg)

I built the UIKIT SDK and started a new RN project using the community react native CLI as per instructed in this tutorial: [React Native | Amity Docs](https://docs.amity.co/amity-uikit/uikit-v4-beta/installation-guide/react-native)

The build worked fine in a blank project however however after adding the SDK and it’s dependencies I get those errors above.  
The Typescript code I have is just the one that is in instructions.

I tried cleaning the build folder and derived data and running pod install but that did not fix the errors.

I also noticed the tutorial seems to have conflicting information, at the top it says the minimum iOS target should be 13.4 but later on it says the minimum should be 12.x

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [June 27, 2024, 11:16am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/2 "2024-06-27T11:16:23Z")

</div>

Hello @jay ,Regarding the issue you encountered, we need some additional information to help you further:

- Your uikit version that you are using
- Your xcode version that you are using

Thank you

---

<div class="post-metadata">

### Author: ![Raunakkmr](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Raunakkmr](https://forum.social.plus/u/Raunakkmr)
#### Post date: [August 7, 2024, 8:44am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/3 "2024-08-07T08:44:57Z")

</div>

Hello, what is the solution for this.?  
What was the problem and how can I avoid this problem.?

---

<div class="post-metadata">

### Author: ![Raunakkmr](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Raunakkmr](https://forum.social.plus/u/Raunakkmr)
#### Post date: [August 13, 2024, 1:42pm UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/4 "2024-08-13T13:42:31Z")

</div>

Hi @SocialPlus_Support  
Currently I am using

1. UIKIT version - 4.0.0-beta-12
2. Xcode version - Version 15.3

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [August 14, 2024, 4:21am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/5 "2024-08-14T04:21:34Z")

</div>

Hello @Raunakkmr , Let me pass this to our team for checking, and I’ll get back to you.

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [August 14, 2024, 9:08am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/6 "2024-08-14T09:08:01Z")

</div>

Hello @Raunakkmr , For further investigation, we need to know your React Native version.

---

<div class="post-metadata">

### Author: ![Raunakkmr](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Raunakkmr](https://forum.social.plus/u/Raunakkmr)
#### Post date: [August 14, 2024, 2:57pm UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/7 "2024-08-14T14:57:52Z")

</div>

Sure

react native version is : 0.74.5

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [August 15, 2024, 6:35am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/8 "2024-08-15T06:35:50Z")

</div>

Hello @Raunakkmr ,Thank you for providing additional info, we have passed it to our team to check this further.

---

<div class="post-metadata">

### Author: ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)
#### Post date: [August 20, 2024, 11:11am UTC](https://forum.social.plus/t/redefinition-of-rctvideotype-error-when-building-brand-new-react-native-uikit-project/1361/9 "2024-08-20T11:11:14Z")

</div>

Hello @Raunakkmr , After further investigation, we found that the build process currently encounters issues on React Native version 0.74.0 and above. We recommend that you delete your current project and rebuild it using a React Native version between 0.72.0 and 0.73.0.

Please try this solution and let us know if it resolves the errors. If you continue to experience issues, feel free to reach out for further assistance.
