mirror of
https://github.com/hanzoai/dev.git
synced 2026-11-21 14:22:49 +00:00
26 lines
1.1 KiB
Ruby
26 lines
1.1 KiB
Ruby
require 'json'
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = 'HanzoTerminalNative'
|
|
s.version = package['version']
|
|
s.summary = 'Native terminal surface for Hanzo Dev mobile.'
|
|
s.description = 'Native terminal surface bridge used by the Hanzo Dev React Native app.'
|
|
s.homepage = 'https://hanzodev.com'
|
|
s.license = { :type => 'UNLICENSED' }
|
|
s.author = { 'Hanzo AI' => '[email protected]' }
|
|
s.platforms = { :ios => '16.1' }
|
|
s.source = { :path => '.' }
|
|
s.source_files = 'ios/**/*.{h,m,mm,swift}'
|
|
s.vendored_frameworks = 'Vendor/libghostty/GhosttyKit.xcframework'
|
|
# libghostty has no x86_64 simulator slice, so a simulator build for every
|
|
# architecture (EAS's generic destination) fails to resolve GhosttyKit.
|
|
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
|
|
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
|
|
s.frameworks = 'IOSurface', 'Metal', 'MetalKit', 'QuartzCore', 'UIKit'
|
|
s.libraries = 'c++', 'z'
|
|
s.swift_version = '5.9'
|
|
s.dependency 'ExpoModulesCore'
|
|
end
|