forked from PostHog/posthog-flutter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathposthog_flutter.podspec
35 lines (30 loc) · 1.3 KB
/
posthog_flutter.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
34
35
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint posthog_flutter.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'posthog_flutter'
s.version = '0.0.1'
s.summary = 'The hassle-free way to add posthog to your Flutter app.'
s.description = <<-DESC
Postog flutter plugin
DESC
s.homepage = 'https://posthog.com/'
s.license = { :file => '../LICENSE' }
s.author = { 'PostHog' => '[email protected]' }
s.source = { :path => '.' }
s.social_media_url = 'https://twitter.com/PostHog'
s.source_files = 'Classes/**/*'
s.resource_bundles = { "PostHogFlutter" => "Resources/PrivacyInfo.xcprivacy" }
s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
# ~> Version 3.0 and the versions up to 4.0, not including 4.0 and higher
s.dependency 'PostHog', '~> 3.0'
s.ios.deployment_target = '13.0'
# PH iOS SDK 3.0.0 requires >= 10.15
s.osx.deployment_target = '10.15'
# Flutter.framework does not contain a i386 slice.
s.ios.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
s.osx.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.3'
end