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

Unable to determine Swift version for the following pods #618

@rayyan808

Description

@rayyan808

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions