mixpanel-swift/Mixpanel-swift.podspec

55 lines
2.3 KiB
Text
Raw Normal View History

2016-07-27 21:04:12 +00:00
Pod::Spec.new do |s|
s.name = 'Mixpanel-swift'
2025-03-31 23:51:20 +00:00
s.version = '4.4.0'
2017-11-14 23:34:13 +00:00
s.module_name = 'Mixpanel'
2016-07-27 21:04:12 +00:00
s.license = 'Apache License, Version 2.0'
2016-09-29 03:28:17 +00:00
s.summary = 'Mixpanel tracking library for iOS (Swift)'
s.swift_version = '5.0'
2016-07-27 21:04:12 +00:00
s.homepage = 'https://mixpanel.com'
s.author = { 'Mixpanel, Inc' => 'support@mixpanel.com' }
s.source = { :git => 'https://github.com/mixpanel/mixpanel-swift.git',
:tag => "v#{s.version}" }
2024-03-27 18:34:38 +00:00
s.resource_bundles = {'Mixpanel' => ['Sources/Mixpanel/PrivacyInfo.xcprivacy']}
2022-12-14 18:19:34 +00:00
s.ios.deployment_target = '11.0'
2016-09-27 19:14:42 +00:00
s.ios.frameworks = 'UIKit', 'Foundation', 'CoreTelephony'
s.ios.pod_target_xcconfig = {
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) IOS'
}
s.default_subspec = 'Complete'
2020-10-15 17:33:07 +00:00
base_source_files = ['Sources/Network.swift', 'Sources/FlushRequest.swift', 'Sources/PrintLogging.swift', 'Sources/FileLogging.swift',
2025-01-30 21:39:49 +00:00
'Sources/MixpanelLogger.swift', 'Sources/JSONHandler.swift', 'Sources/Error.swift', 'Sources/AutomaticProperties.swift',
2020-10-15 17:33:07 +00:00
'Sources/Constants.swift', 'Sources/MixpanelType.swift', 'Sources/Mixpanel.swift', 'Sources/MixpanelInstance.swift',
2021-08-26 20:52:32 +00:00
'Sources/Flush.swift','Sources/Track.swift', 'Sources/People.swift', 'Sources/AutomaticEvents.swift',
2020-10-15 17:33:07 +00:00
'Sources/Group.swift',
'Sources/ReadWriteLock.swift', 'Sources/SessionMetadata.swift', 'Sources/MPDB.swift', 'Sources/MixpanelPersistence.swift', 'Sources/Data+Compression.swift']
2022-12-14 18:19:34 +00:00
s.tvos.deployment_target = '11.0'
2016-09-27 19:14:42 +00:00
s.tvos.frameworks = 'UIKit', 'Foundation'
s.tvos.pod_target_xcconfig = {
2022-06-23 18:01:26 +00:00
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) TV_OS'
}
2022-12-14 18:19:34 +00:00
s.osx.deployment_target = '10.13'
s.osx.frameworks = 'Cocoa', 'Foundation'
s.osx.pod_target_xcconfig = {
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) MAC_OS'
}
2022-12-14 18:41:03 +00:00
s.watchos.deployment_target = '4.0'
s.watchos.pod_target_xcconfig = {
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) WATCH_OS'
}
s.subspec 'Complete' do |ss|
2020-10-15 17:33:07 +00:00
ss.ios.source_files = ['Sources/*.swift']
ss.tvos.source_files = base_source_files
ss.osx.source_files = base_source_files
ss.watchos.source_files = base_source_files
end
s.subspec 'Core' do |ss|
ss.ios.source_files = base_source_files
ss.tvos.source_files = base_source_files
ss.osx.source_files = base_source_files
ss.watchos.source_files = base_source_files
end
2017-11-14 23:34:13 +00:00
end