ClipboardManager icon indicating copy to clipboard operation
ClipboardManager copied to clipboard

Does not work on iOS, `SWIFT_VERSION`

Open liuyuejiang opened this issue 5 years ago • 3 comments

  • clipboard_manager 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.

liuyuejiang avatar Mar 29 '19 05:03 liuyuejiang

set you swift language in xcode build setting

JiweiMaster avatar May 09 '19 03:05 JiweiMaster

i have same issue, i just add

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '4.2'
    end
  end
end

but still erro.

dudenk avatar Jun 19 '19 14:06 dudenk

i have same issue, i just add

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '4.2'
    end
  end
end

but still erro.

https://github.com/ko2ic/image_downloader/issues/9#issuecomment-471608482

i use this solution, the problem sovled

ashamp avatar Sep 24 '19 14:09 ashamp