From 7dad6992df3e5c1629d5ae180c8dd4e2e925e5a3 Mon Sep 17 00:00:00 2001 From: "Ahmad M. Zawawi" Date: Wed, 19 Oct 2016 15:28:15 +0300 Subject: [PATCH] Bump version to 1.0.2. Cocoapod is now working :) --- ZeroMQ.podspec | 27 +++++++++++---------------- ZeroMQ/Info.plist | 2 +- 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/ZeroMQ.podspec b/ZeroMQ.podspec index e9076c2..ed600df 100644 --- a/ZeroMQ.podspec +++ b/ZeroMQ.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = "ZeroMQ" - s.version = "1.0.0" + s.version = "1.0.2" s.summary = "ZeroMQ Swift Bindings for iOS." s.description = <<-DESC This project provides iOS Swift bindings for the ZeroMQ @@ -12,34 +12,29 @@ Pod::Spec.new do |s| s.license = "MIT" s.author = { "Ahmad M. Zawawi" => "ahmad.zawawi@gmail.com" } - s.ios.deployment_target = "10.0" - s.source = { :git => "https://github.com/azawawi/ZeroMQ.git", :tag => "#{s.version}" } - s.libraries = "stdc++" - s.xcconfig = { -# "HEADER_SEARCH_PATHS" => "${SRCROOT}/ZeroMQ", - "SWIFT_INCLUDE_PATH" => "${PROJECT_ROOT)/ZeroMQ", - "LIBRARY_SEARCH_PATHS" => "$(PROJECT_ROOT)/ZeroMQ", - "ENABLE_BITCODE" => "NO" - } - s.module_name = "ZeroMQ" - s.default_subspecs = "ZeroMQ" + s.module_name = "ZeroMQ" + s.default_subspecs = "ZeroMQ" + s.ios.deployment_target = "10.0" + s.libraries = "stdc++" s.subspec "ZeroMQ" do |ss| - ss.source_files = "ZeroMQ/*.swift", "ZeroMQ/*.h" - ss.dependency "ZeroMQ/CZeroMQ" + ss.source_files = "ZeroMQ/*.swift" + ss.dependency "ZeroMQ/CZeroMQ" end s.subspec "CZeroMQ" do |ss| ss.source_files = "CZeroMQ/*.h" ss.vendored_libraries = "CZeroMQ/libzmq.a" ss.preserve_paths = "CZeroMQ/*" + ss.xcconfig = { + "SWIFT_INCLUDE_PATH" => "${PROJECT_ROOT)/CZeroMQ", + "ENABLE_BITCODE" => "NO" + } end - #s.module_map = "ZeroMQ/module.modulemap" - #s.preserve_paths = "ZeroMQ/module.modulemap", "ZeroMQ/libzmq.a", "ZeroMQ/zmq.h" end diff --git a/ZeroMQ/Info.plist b/ZeroMQ/Info.plist index f9a8194..175b2b5 100644 --- a/ZeroMQ/Info.plist +++ b/ZeroMQ/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.1 + 1.0.2 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass