Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Unable to determine Swift version for the following pods #618

Open
rayyan808 opened this issue Jul 10, 2021 · 0 comments
Open

Unable to determine Swift version for the following pods #618

rayyan808 opened this issue Jul 10, 2021 · 0 comments

Comments

@rayyan808
Copy link

Added the tensorflow library to my custom flutter plugin, within the iOS code the following occurs after adding it to the Podfile
`[!] Unable to determine Swift version for the following pods:

- `TensorFlowLiteSwift-library` does not specify a Swift version and none of
the targets (`Pods`) 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.`

I've already tried:
target 'Runner' do use_frameworks! use_modular_headers!

post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_iso_build_settings(target) target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '5.0' config.build_settings['ENABLE_BITCODE'] = 'NO' end end

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

No branches or pull requests

1 participant