forked from mixpanel/mixpanel-iphone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMixpanel.podspec
33 lines (30 loc) · 1.46 KB
/
Mixpanel.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Pod::Spec.new do |s|
s.name = 'Mixpanel'
s.version = '2.8.1-rusSurveys'
s.summary = 'iPhone tracking library for Mixpanel Analytics - Russian Surveys'
s.homepage = 'https://mixpanel.com'
s.license = 'Apache License, Version 2.0'
s.author = { 'Mixpanel, Inc' => '[email protected]' }
s.platform = :ios, '6.0'
s.source = { :git => 'https://github.com/maxgoncharov/mixpanel-iphone.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.default_subspec = 'Mixpanel'
s.subspec 'Mixpanel' do |ss|
ss.source_files = 'Mixpanel/**/*.{m,h}'
ss.resources = ['Mixpanel/**/*.{png,storyboard}']
ss.frameworks = 'UIKit', 'Foundation', 'SystemConfiguration', 'CoreTelephony', 'Accelerate', 'CoreGraphics', 'QuartzCore'
ss.dependency 'Mixpanel/MPCategoryHelpers'
ss.libraries = 'icucore', 'MPCategoryHelpers'
end
s.subspec 'MPCategoryHelpers' do |ss|
ss.preserve_paths = 'Mixpanel/MPCategoryHelpers.h'
ss.vendored_libraries = 'Mixpanel/libMPCategoryHelpers.a'
ss.libraries = 'MPCategoryHelpers'
end
s.subspec 'AppExtension' do |ss|
ss.source_files = ['Mixpanel/Mixpanel.{m,h}', 'Mixpanel/MPLogger.h', 'Mixpanel/NSData+MPBase64.{m,h}' ]
ss.xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) MIXPANEL_APP_EXTENSION'}
ss.frameworks = 'UIKit', 'Foundation', 'SystemConfiguration', 'CoreTelephony', 'Accelerate', 'CoreGraphics', 'QuartzCore'
ss.libraries = 'icucore'
end
end