Closed Mythar closed 5 years ago
you can set SWIFT_VERSION in Podfile for example:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
fatal error: 'flutter_des/flutter_des-Swift.h' file not found, after set SWIFT_VERSION in Podfile
[!] Unable to determine Swift version for the following pods:
- `flutter_des` does not specify a Swift version and none of the targets (`Runner`) 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.
Please check Swift for new projects:
Please try the created project:
Please add: s.swift_version = '?.?' to flutter_des.podspec Where ?.? is the swift version you are using