BluetoothKit icon indicating copy to clipboard operation
BluetoothKit copied to clipboard

pod install

Open AMBIENTE1 opened this issue 3 years ago • 3 comments

my Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0' use_frameworks!

pod 'BluetoothKit', '~> 0.4.0'

Installing BluetoothKit (0.4.0) [!] Unable to determine Swift version for the following pods:

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

[!] The abstract target Pods is not inherited by a concrete target, so the following dependencies won't make it into any targets in your project: - BluetoothKit (~> 0.4.0)

AMBIENTE1 avatar Jan 12 '21 20:01 AMBIENTE1

same here.

zinwalin avatar Mar 26 '21 01:03 zinwalin

ENV['SWIFT_VERSION'] = '5'
source 'https://github.com/CocoaPods/Specs.git'
platform :osx, '10.10'
target 'Nine.CLP' do
use_frameworks!

pod 'BluetoothKit'

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

Sharkboy-j avatar Jun 21 '21 12:06 Sharkboy-j

This should work with newest version

rhummelmose avatar Jul 28 '21 19:07 rhummelmose