Skip to content
Source
Sign inSign up
Open History to see the last commit

T3TerminalNative.podspec

25 lines1.1 KB

1require 'json'
2​
3package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4​
5Pod::Spec.new do |s|
6 s.name = 'T3TerminalNative'
7 s.version = package['version']
8 s.summary = 'Native terminal surface for T3 Code mobile.'
9 s.description = 'Native terminal surface bridge used by the T3 Code React Native app.'
10 s.homepage = 'https://t3tools.com'
11 s.license = { :type => 'UNLICENSED' }
12 s.author = { 'T3 Tools' => 'hello@t3tools.com' }
13 s.platforms = { :ios => '16.1' }
14 s.source = { :path => '.' }
15 s.source_files = 'ios/**/*.{h,m,mm,swift}'
16 s.vendored_frameworks = 'Vendor/libghostty/GhosttyKit.xcframework'
17 # libghostty has no x86_64 simulator slice, so a simulator build for every
18 # architecture (EAS's generic destination) fails to resolve GhosttyKit.
19 s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
20 s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
21 s.frameworks = 'IOSurface', 'Metal', 'MetalKit', 'QuartzCore', 'UIKit'
22 s.libraries = 'c++', 'z'
23 s.swift_version = '5.9'
24 s.dependency 'ExpoModulesCore'
25end