forked from microsoft/appcenter-sdk-apple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppCenter.podspec
78 lines (62 loc) · 4.47 KB
/
AppCenter.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Pod::Spec.new do |s|
s.cocoapods_version = '>= 1.10'
s.name = 'AppCenter'
s.version = '5.0.5'
s.summary = 'Visual Studio App Center is your continuous integration, delivery and learning solution for iOS and macOS apps.'
s.description = <<-DESC
Visual Studio App Center is your continuous integration, delivery and learning solution for iOS and macOS apps.
Get faster release cycles, higher-quality apps, and the insights to build what users want.
The App Center SDK uses a modular architecture so you can use any or all of the following services:
1. App Center Analytics (iOS, macOS and tvOS):
App Center Analytics helps you understand user behavior and customer engagement to improve your app. The SDK automatically captures session count, device properties like model, OS version, etc. You can define your own custom events to measure things that matter to you. All the information captured is available in the App Center portal for you to analyze the data.
2. App Center Crashes (iOS, macOS and tvOS):
App Center Crashes will automatically generate a crash log every time your app crashes. The log is first written to the device's storage and when the user starts the app again, the crash report will be sent to App Center. Collecting crashes works for both beta and live apps, i.e. those submitted to the App Store. Crash logs contain valuable information for you to help fix the crash.
3. App Center Distribute (iOS only):
App Center Distribute lets your users install a new version of the app when you distribute it with App Center. With a new version of the app available, the SDK will present an update dialog to the users to either download or postpone the new version. Once they choose to update, the SDK will start to update your application. This feature is automatically disabled on versions of your app deployed to the Apple App Store.
DESC
s.homepage = 'https://appcenter.ms'
s.documentation_url = "https://docs.microsoft.com/en-us/appcenter/sdk"
s.social_media_url = 'https://twitter.com/vsappcenter'
s.license = { :type => 'MIT', :file => 'AppCenter-SDK-Apple/LICENSE' }
s.author = { 'Microsoft' => 'appcentersdk@microsoft.com' }
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '12.0'
s.source = { :http => "https://github.com/microsoft/appcenter-sdk-apple/releases/download/#{s.version}/AppCenter-SDK-Apple-XCFramework-#{s.version}.zip" }
s.preserve_path = 'AppCenter-SDK-Apple/README.md'
s.default_subspecs = 'Analytics', 'Crashes'
s.subspec 'Core' do |ss|
ss.frameworks = 'Foundation', 'SystemConfiguration'
ss.ios.frameworks = 'CoreTelephony', 'UIKit'
ss.osx.frameworks = 'AppKit'
ss.tvos.frameworks = 'UIKit'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenter.xcframework"
ss.libraries = 'z', 'sqlite3'
ss.resource_bundle = { 'AppCenter' => 'AppCenter-SDK-Apple/AppCenter.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Analytics' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.ios.frameworks = 'UIKit'
ss.osx.frameworks = 'AppKit'
ss.tvos.frameworks = 'UIKit'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterAnalytics.xcframework"
ss.resource_bundle = { 'AppCenterAnalytics' => 'AppCenter-SDK-Apple/AppCenterAnalytics.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Crashes' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.libraries = 'z', 'c++'
ss.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterCrashes.xcframework"
ss.resource_bundle = { 'AppCenterCrashes' => 'AppCenter-SDK-Apple/AppCenterCrashes.xcframework/PrivacyInfo.xcprivacy' }
end
s.subspec 'Distribute' do |ss|
ss.dependency 'AppCenter/Core'
ss.frameworks = 'Foundation'
ss.ios.frameworks = 'UIKit'
ss.ios.weak_frameworks = 'SafariServices', 'AuthenticationServices'
ss.ios.resource_bundle = { 'AppCenterDistributeResources' => ['AppCenter-SDK-Apple/AppCenterDistributeResources.bundle/*.lproj'] }
ss.ios.vendored_frameworks = "AppCenter-SDK-Apple/AppCenterDistribute.xcframework"
ss.resource_bundle = { 'AppCenterDistribute' => 'AppCenter-SDK-Apple/AppCenterDistribute.xcframework/PrivacyInfo.xcprivacy' }
end
end