From 65389fab8a7b119c612d3fcc9a04884d89c525a5 Mon Sep 17 00:00:00 2001 From: Dov Frankel Date: Mon, 2 Nov 2015 12:05:50 -0500 Subject: [PATCH] Fixed Issue #28 by specifying which headers should be public --- UnrarKit.podspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UnrarKit.podspec b/UnrarKit.podspec index 6abfe43..a44121c 100644 --- a/UnrarKit.podspec +++ b/UnrarKit.podspec @@ -8,10 +8,13 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/abbeycode/UnrarKit.git", :tag => "#{s.version}" } s.ios.deployment_target = "5.0" s.osx.deployment_target = "10.7" - s.requires_arc = 'Classes/**/*' + s.requires_arc = "Classes/**/*" s.source_files = "Classes/**/*.{mm,m,h}" + s.public_header_files = "Classes/*.h" s.subspec "unrar-lib" do |ss| + ss.public_header_files = "Libraries/unrar/raros.hpp", + "Libraries/unrar/dll.hpp" ss.source_files = "Libraries/unrar/*.hpp", "Libraries/unrar/rar.cpp", "Libraries/unrar/strlist.cpp",