Pod::Spec.new do |s| s.name = 'RebreakProtection' s.version = '0.1.0' s.summary = 'ReBreak unified protection — NEFilter + Family Controls.' s.description = 'Single native module that wraps NEFilterDataProvider + AuthorizationCenter + ManagedSettings for the ReBreak gambling-recovery app.' s.author = 'ReBreak' s.homepage = 'https://rebreak.org' s.license = { :type => 'Proprietary' } s.platforms = { :ios => '15.1', :tvos => '15.1' } s.swift_version = '5.9' s.source = { :git => '' } s.static_framework = true s.dependency 'ExpoModulesCore' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'SWIFT_COMPILATION_MODE' => 'wholemodule', } # NUR Top-Level-Sources ins Hauptmodul. RebreakURLFilter/ enthält Sources # für die NetworkExtension — die werden vom Config-Plugin in ein separates # Xcode-Target gepackt, NICHT in die Hauptmodul-Lib. s.source_files = '*.{h,m,mm,swift,hpp,cpp}' s.exclude_files = 'RebreakURLFilter/**/*' # Layer-2 (webContent-Filter): gebündelte Gambling-Domain-Liste pro Land. # Wird als eigenständiges Resource-Bundle (RebreakProtectionResources.bundle) # ins App-Bundle gepackt — RebreakProtectionModule.swift liest es zur Laufzeit # via RebreakProtectionResources.bundle/gambling-domains.json. # WICHTIG: Die JSON MUSS im Pod-Verzeichnis liegen (neben dieser Podspec). # CocoaPods bündelt resource_bundles-Dateien NICHT, wenn der Pfad aus dem # Pod-Root herauszeigt (`../../../assets/...` → Bundle blieb leer). s.resource_bundles = { 'RebreakProtectionResources' => ['gambling-domains.json'] } end