gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 497HTML 254C 19JavaScript 81329 Definiciones

Basic swift / cocoapods project setup

3b201862cb213a3bfa5950717d88c5311e03beb6 · por Emil Sjölander · (hace 7 años) · padre 64efedbcd · ver el árbol en este commit

Delta semántico

Ninguna definición cambió: el cambio es de texto, documentación o datos.

1 archivos · +25 −0

diff --git a/StretchKit.podspec b/StretchKit.podspec
new file mode 100644
index 000000000..751e9191b
--- /dev/null
+++ b/StretchKit.podspec
@@ -0,0 +1,25 @@
+Pod::Spec.new do |s|
+  s.name             = 'StretchKit'
+  s.version          = '0.2.2'
+  s.summary          = 'Swift bindings for the Stretch layout engine.'
+  s.description      = "A high performance & cross-platform layout engine."
+  s.homepage         = 'https://visly.app/stretch'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'Visly Inc.' => 'emil@visly.app' }
+  s.source           = { :git => 'https://github.com/vislyhq/stretch.git', :tag => s.version.to_s }
+  s.social_media_url = 'https://twitter.com/vislyhq'
+
+  s.swift_version = '4.2'
+  s.ios.deployment_target  = '10.0'
+  s.source_files = 'bindings/swift/StretchKit/Classes/**/*'
+  s.xcconfig = { "ENABLE_BITCODE" => "NO" }
+
+  s.subspec 'StretchCore' do |core|
+    core.source_files = 'bindings/swift/StretchKit/Headers/*.h'
+    core.vendored_libraries = "bindings/swift/StretchKit/Libraries/libstretch.a"
+    core.xcconfig = { "HEADER_SEARCH_PATHS" => "${PODS_ROOT}/StretchCore/Headers" }
+    core.preserve_paths = ["bindings/swift/StretchKit/Libraries/libstretch.a", "bindings/swift/StretchKit/Headers/libstretch.h"]
+    core.public_header_files = "bindings/swift/StretchKit/Headers/*.h"
+    core.requires_arc = false
+  end
+end