From 8ed36853ba08d82ebce3bd27f7c510db87fa7b0a Mon Sep 17 00:00:00 2001 From: Vitaly Samoylik Date: Mon, 26 Oct 2020 17:34:15 +0200 Subject: [PATCH] Read podspec version from VERSION file (#205) * Read podspec version from VERSION file * Add AppKit dependency into podspec --- dist/hidapi.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/hidapi.podspec b/dist/hidapi.podspec index 271e428..b2f061b 100644 --- a/dist/hidapi.podspec +++ b/dist/hidapi.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "hidapi" - spec.version = "" + 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