25 lines · 906 B · Text
RawDownload
require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json")))new_arch_enabled = ENV["RCT_NEW_ARCH_ENABLED"] == "1" Pod::Spec.new do |s|  s.name = "T3MarkdownText"  s.version = package["version"]  s.summary = "Native selectable markdown renderer for T3 Code mobile."  s.description = "Fabric-backed attributed text and markdown rendering primitives owned by T3 Code."  s.homepage = "https://t3tools.com"  s.license = { :type => "MIT", :file => "LICENSE" }  s.author = { "T3 Tools" => "hello@t3tools.com" }  s.platforms = { :ios => min_ios_version_supported }  s.source = { :path => "." }  s.source_files = "ios/**/*.{h,m,mm,cpp}"   install_modules_dependencies(s)   if ENV["USE_FRAMEWORKS"] != nil && new_arch_enabled    add_dependency(s, "React-FabricComponents", :additional_framework_paths => [      "react/renderer/textlayoutmanager/platform/ios",    ])  endend