Basic working version of bindings
1Pod::Spec.new do |s|
2 s.name = 'StretchKit'
3 s.version = '0.2.2'
4 s.summary = 'Swift bindings for the Stretch layout engine.'
5 s.description = "A high performance & cross-platform layout engine."
6 s.homepage = 'https://visly.app/stretch'
7 s.license = { :type => 'MIT', :file => 'LICENSE' }
8 s.author = { 'Visly Inc.' => 'emil@visly.app' }
9 s.source = { :git => 'https://github.com/vislyhq/stretch.git', :tag => s.version.to_s }
10 s.social_media_url = 'https://twitter.com/vislyhq'
11
12 s.swift_version = '4.2'
13 s.ios.deployment_target = '9.3'
14 s.source_files = 'bindings/swift/StretchKit/Classes/**/*'
15 s.xcconfig = { "ENABLE_BITCODE" => "NO" }
16
17 s.subspec 'StretchCore' do |core|
18 core.source_files = 'bindings/swift/StretchKit/Headers/*.h'
19 core.vendored_libraries = "bindings/swift/StretchKit/Libraries/libstretch.a"
20 core.xcconfig = { "HEADER_SEARCH_PATHS" => "${PODS_ROOT}/StretchCore/Headers" }
21 core.preserve_paths = ["bindings/swift/StretchKit/Libraries/libstretch.a", "bindings/swift/StretchKit/Headers/libstretch.h"]
22 core.public_header_files = "bindings/swift/StretchKit/Headers/*.h"
23 core.requires_arc = false
24 end
25end