require 'json' package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json'))) Pod::Spec.new do |s| s.name = 'expo-healthkit' s.version = package['version'] s.summary = package['description'] s.description = 'Expo module for iOS HealthKit integration with workout tracking and statistics' s.license = package['license'] s.author = package['author'] s.homepage = 'https://github.com/Kayz-mann/health-kit-expo-modules' s.platforms = { :ios => '13.4' } s.swift_version = '5.4' s.source = { git: 'https://github.com/Kayz-mann/health-kit-expo-modules', tag: "v#{s.version}" } s.static_framework = true s.dependency 'ExpoModulesCore' # Swift/Objective-C compatibility s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'SWIFT_COMPILATION_MODE' => 'wholemodule' } s.module_name = 'expo_healthkit' # Only include iOS Swift files, exclude node_modules and android s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}" end