1Pod::Spec.new do |s|
2 s.name = 'T3NativeControls'
3 s.version = '1.0.0'
4 s.summary = 'Native UIKit controls for T3 Code mobile.'
5 s.description = 'UIKit-backed controls that match native iOS navigation chrome.'
6 s.author = 'T3 Tools'
7 s.homepage = 'https://t3tools.com'
8 s.platforms = {
9 :ios => '18.0',
10 }
11 s.source = { :path => '.' }
12 s.static_framework = true
13
14 s.dependency 'ExpoModulesCore'
15 s.pod_target_xcconfig = {
16 'DEFINES_MODULE' => 'YES',
17 }
18
19 ios_sdk_version = Gem::Version.new(`xcrun --sdk iphoneos --show-sdk-version`.strip)
20 if ios_sdk_version >= Gem::Version.new('27.1')
21 s.pod_target_xcconfig['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = '$(inherited) T3_IOS_27_1_SDK'
22 end
23
24 s.source_files = '**/*.{h,m,mm,swift,hpp,cpp}'
25end