Read podspec version from VERSION file (#205)

* Read podspec version from VERSION file
* Add AppKit dependency into podspec
This commit is contained in:
Vitaly Samoylik
2020-10-26 17:34:15 +02:00
committed by GitHub
parent 302d1f2401
commit 8ed36853ba
+2 -2
View File
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|
spec.name = "hidapi"
spec.version = "<fill me up from VERSION file, before submit>"
spec.version = File.read('../VERSION')
spec.summary = "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows."
spec.description = <<-DESC
@@ -26,6 +26,6 @@ Pod::Spec.new do |spec|
spec.public_header_files = "hidapi/hidapi.h"
spec.frameworks = "IOKit", "CoreFoundation"
spec.frameworks = "IOKit", "CoreFoundation", "AppKit"
end