Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

[BUG] Unable to determine Swift version #3

Closed
hasan-li opened this issue Dec 5, 2019 · 3 comments
Closed

[BUG] Unable to determine Swift version #3

hasan-li opened this issue Dec 5, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@hasan-li
Copy link

hasan-li commented Dec 5, 2019

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
@hasan-li hasan-li added the bug Something isn't working label Dec 5, 2019
@matinzd
Copy link
Member

matinzd commented Jan 14, 2020

Does issue still exist?

@hasan-li
Copy link
Author

Hey. Yes

@randowize
Copy link

@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

@matinzd matinzd closed this as completed Mar 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants