iran-react-community/rn-dominant-color

[BUG] Unable to determine Swift version

hasan-li opened this issue · 3 comments

Describe the bug
After running pod install in ios folder there is an error:

[!] Unable to determine Swift version for the following pods:

- `RNDominantColor` does not specify a Swift version and none of the targets (`PROJECT`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

To Reproduce
<--
Steps to reproduce the behavior:

  1. Go to ios folder
  2. run pod install
    !-->

Expected behavior
Installation of rn-dominant-color without errors

Screenshots
https://imgur.com/a/8M1rGGh

Desktop (please complete the following information):

  • OS: iOS

Does issue still exist?

Hey. Yes

@hasan-li , SWIFT_VERSION is not configured in this project. Just add an empty Swift file to the project using Xcode and it should fix your the issue